testSetNonfatalAssertions
fn
void testSetNonfatalAssertions()Changes the behaviour of the various g_assert_*() macros, g_test_assert_expected_messages() and the various g_test_trap_assert_*() macros to not abort to program, but instead call [glib.global.testFail] and continue. (This also changes the behavior of [glib.global.testFail] so that it will not cause the test program to abort after completing the failed test.)
Note that the g_assert_not_reached() and g_assert() macros are not affected by this.
This function can only be called after [glib.global.testInit].