diff --git a/ChangeLog b/ChangeLog index 0be3a05089..56c8392075 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-02-23 Tim-Philipp Müller + + * tests/check/gst/gstutils.c: (test_buffer_probe_n_times): + Test case originally showed the problem fixed below, + but was then amended. Add checks back at the place + where they used to be. + 2006-02-23 Tim-Philipp Müller * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init), diff --git a/tests/check/gst/gstutils.c b/tests/check/gst/gstutils.c index e9c400529c..c840645d62 100644 --- a/tests/check/gst/gstutils.c +++ b/tests/check/gst/gstutils.c @@ -94,6 +94,10 @@ GST_START_TEST (test_buffer_probe_n_times) gst_element_set_state (pipeline, GST_STATE_NULL); gst_object_unref (pipeline); + /* make sure nothing was sent in addition to the above when shutting down */ + g_assert (n_buffer_probes == 10); /* one for every buffer */ + g_assert (n_event_probes == 2); /* new segment and eos */ + g_assert (n_data_probes == 12); /* duh */ } GST_END_TEST; static int n_data_probes_once = 0;