tests: fix toc unit test build by removing toc query stuff there too

This commit is contained in:
Tim-Philipp Müller 2012-07-05 12:25:45 +01:00
parent aa2309e54a
commit 8ac900a515

View file

@ -127,7 +127,6 @@ GST_START_TEST (test_serializing)
GstTagList *tags;
GstEvent *event;
GstMessage *message;
GstQuery *query;
gboolean updated;
gchar *uid;
gint64 start = -1, stop = -1;
@ -279,21 +278,6 @@ GST_START_TEST (test_serializing)
gst_event_unref (event);
g_free (uid);
/* check TOC query handling */
query = gst_query_new_toc ();
fail_if (query == NULL);
gst_query_set_toc (query, toc, TEST_UID);
fail_unless (query->type == GST_QUERY_TOC);
ASSERT_MINI_OBJECT_REFCOUNT (GST_MINI_OBJECT (query), "GstQuery", 1);
gst_query_parse_toc (query, &test_toc, &uid);
fail_unless_equals_string (uid, TEST_UID);
fail_if (test_toc == NULL);
CHECK_TOC (test_toc);
gst_toc_unref (test_toc);
gst_query_unref (query);
g_free (uid);
/* FIXME: toc validation / verification should probably be done on the fly
* while creating it, and not when putting the toc in events or messages ? */
#if 0