mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
tests/check/gst/gstutils.c: Test case originally showed the problem fixed below, but was then amended. Add checks bac...
Original commit message from CVS: * 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.
This commit is contained in:
parent
47f2709514
commit
2402343a7d
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* 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 <tim at centricular dot net>
|
2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
||||||
|
|
|
@ -94,6 +94,10 @@ GST_START_TEST (test_buffer_probe_n_times)
|
||||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
gst_object_unref (pipeline);
|
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;
|
} GST_END_TEST;
|
||||||
|
|
||||||
static int n_data_probes_once = 0;
|
static int n_data_probes_once = 0;
|
||||||
|
|
Loading…
Reference in a new issue