From 8ac900a5153dcc2cf71f4dd45e623f43e6a1b01b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 5 Jul 2012 12:25:45 +0100 Subject: [PATCH] tests: fix toc unit test build by removing toc query stuff there too --- tests/check/gst/gsttoc.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/check/gst/gsttoc.c b/tests/check/gst/gsttoc.c index 6d8c67d..6692463 100644 --- a/tests/check/gst/gsttoc.c +++ b/tests/check/gst/gsttoc.c @@ -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 -- 2.7.4