Dan Winship f4c30feb95 gtestutils: fix g_test_set_nonfatal_assertions()
g_test_set_nonfatal_assertions() was a no-op, because
g_assertion_message() wasn't actually checking the
test_nonfatal_assertions flag. Fix that and add a test.

Also, g_test_set_nonfatal_assertions() has to set test_mode_fatal to
FALSE as well, or else a failed assertion will cause the test program
to abort at the end of the failed test.

Also, belatedly add this and the new g_assert_* methods to the docs.

https://bugzilla.gnome.org/show_bug.cgi?id=711800
2013-11-24 14:59:51 -05:00
..
2012-11-15 14:19:06 -05:00
2012-08-27 07:38:27 -04:00
2010-07-10 23:56:45 -04:00
2012-10-16 21:21:25 -04:00
2011-12-14 12:40:16 +00:00
2012-08-27 07:38:27 -04:00
2013-05-23 01:11:26 +01:00
2013-07-28 18:39:51 -04:00
2010-07-05 23:43:47 -04:00
2012-04-08 10:24:52 -04:00
2011-02-13 23:49:19 -05:00
2012-05-22 19:47:22 +02:00
2011-10-08 19:02:06 -04:00
2013-11-23 00:39:07 -05:00
2010-07-07 22:03:02 -04:00
2013-11-06 10:12:50 +01:00
2013-09-12 14:40:24 -04:00
2013-11-11 22:39:57 +08:00
2011-10-13 01:00:57 -04:00
2011-01-27 23:07:53 -05:00
2010-07-30 19:51:18 -04:00
2012-08-27 07:38:27 -04:00
2011-06-03 23:38:46 -04:00
2012-05-13 01:14:17 -04:00
2012-05-13 01:14:17 -04:00
2012-09-13 10:20:27 +02:00
2011-10-03 23:55:02 -04:00
2012-04-08 10:24:51 -04:00
2013-11-20 09:16:16 -05:00
2011-12-14 12:40:16 +00:00
2013-03-05 17:27:53 +01:00
2013-11-10 22:40:28 +01:00
2012-11-15 14:19:06 -05:00