mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-09 07:52:36 +00:00
tests/check/gst/gstinfo.c: Add a test for removing the default log handler. Seems to fail under windows.
Original commit message from CVS: * tests/check/gst/gstinfo.c: Add a test for removing the default log handler. Seems to fail under windows.
This commit is contained in:
parent
98db43c6f0
commit
7e6dd77041
3 changed files with 18 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-05-12 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* tests/check/gst/gstinfo.c:
|
||||||
|
Add a test for removing the default log handler. Seems to fail under
|
||||||
|
windows.
|
||||||
|
|
||||||
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/gstpad.c: (gst_pad_peer_accept_caps):
|
* gst/gstpad.c: (gst_pad_peer_accept_caps):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 2d9c09df0fe4ad3f570fea9f649cfc6c4511080d
|
Subproject commit d78efae300d4dff0291717ccf7a2b82c713a81ef
|
|
@ -180,6 +180,16 @@ GST_START_TEST (info_segment_format_printf_extension)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
|
GST_START_TEST (info_log_handler)
|
||||||
|
{
|
||||||
|
guint removed;
|
||||||
|
|
||||||
|
removed = gst_debug_remove_log_function (gst_debug_log_default);
|
||||||
|
fail_unless (removed == 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_END_TEST;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static Suite *
|
static Suite *
|
||||||
|
@ -194,6 +204,7 @@ gst_info_suite (void)
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
tcase_add_test (tc_chain, info_segment_format_printf_extension);
|
tcase_add_test (tc_chain, info_segment_format_printf_extension);
|
||||||
tcase_add_test (tc_chain, info_ptr_format_printf_extension);
|
tcase_add_test (tc_chain, info_ptr_format_printf_extension);
|
||||||
|
tcase_add_test (tc_chain, info_log_handler);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
|
Loading…
Reference in a new issue