mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
gtestutils: Clarify documentation for g_test_set_nonfatal_assertions()
It seems a bit unhelpful to list every single `g_assert_*()` macro, to rephrase the documentation to use globs instead. Add a missing word below. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -2327,16 +2327,14 @@ g_test_failed (void)
|
|||||||
/**
|
/**
|
||||||
* g_test_set_nonfatal_assertions:
|
* g_test_set_nonfatal_assertions:
|
||||||
*
|
*
|
||||||
* Changes the behaviour of g_assert_cmpstr(), g_assert_cmpint(),
|
* Changes the behaviour of the various `g_assert_*()` macros,
|
||||||
* g_assert_cmpuint(), g_assert_cmphex(), g_assert_cmpfloat(),
|
* g_test_assert_expected_messages() and the various
|
||||||
* g_assert_true(), g_assert_false(), g_assert_null(), g_assert_no_error(),
|
* `g_test_trap_assert_*()` macros to not abort to program, but instead
|
||||||
* g_assert_error(), g_test_assert_expected_messages() and the various
|
|
||||||
* g_test_trap_assert_*() macros to not abort to program, but instead
|
|
||||||
* call g_test_fail() and continue. (This also changes the behavior of
|
* call g_test_fail() and continue. (This also changes the behavior of
|
||||||
* g_test_fail() so that it will not cause the test program to abort
|
* g_test_fail() so that it will not cause the test program to abort
|
||||||
* after completing the failed test.)
|
* after completing the failed test.)
|
||||||
*
|
*
|
||||||
* Note that the g_assert_not_reached() and g_assert() are not
|
* Note that the g_assert_not_reached() and g_assert() macros are not
|
||||||
* affected by this.
|
* affected by this.
|
||||||
*
|
*
|
||||||
* This function can only be called after g_test_init().
|
* This function can only be called after g_test_init().
|
||||||
|
Reference in New Issue
Block a user