mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
libs/gst/check/gstcheck.h: Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually print something when they fail.
Original commit message from CVS: * libs/gst/check/gstcheck.h: Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually print something when they fail.
This commit is contained in:
parent
5d2860b050
commit
a85462ec7f
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* libs/gst/check/gstcheck.h:
|
||||
Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
|
||||
print something when they fail.
|
||||
|
||||
2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
|
|
|
@ -220,7 +220,7 @@ G_STMT_START { \
|
|||
_gst_check_raised_critical = FALSE; \
|
||||
code; \
|
||||
_fail_unless (_gst_check_raised_critical, __FILE__, __LINE__, \
|
||||
"Expected g_critical, got nothing"); \
|
||||
"Expected g_critical, got nothing", NULL); \
|
||||
_gst_check_expecting_log = FALSE; \
|
||||
} G_STMT_END
|
||||
|
||||
|
@ -230,7 +230,7 @@ G_STMT_START { \
|
|||
_gst_check_raised_warning = FALSE; \
|
||||
code; \
|
||||
_fail_unless (_gst_check_raised_warning, __FILE__, __LINE__, \
|
||||
"Expected g_warning, got nothing"); \
|
||||
"Expected g_warning, got nothing", NULL); \
|
||||
_gst_check_expecting_log = FALSE; \
|
||||
} G_STMT_END
|
||||
|
||||
|
|
Loading…
Reference in a new issue