Bug 553447 \e$(Q#|\e(B g_assert_no_error()
authorDan Winship <danw@src.gnome.org>
Sat, 27 Sep 2008 01:43:29 +0000 (01:43 +0000)
committerDan Winship <danw@src.gnome.org>
Sat, 27 Sep 2008 01:43:29 +0000 (01:43 +0000)
commit5c53925ed08402549be0c306cd0544af209f8934
tree19a6eb8750ba1d7076849e9afce98f4278f7150f
parent764e187fd9f1f54a2c622fce2b3e1c0aa4fafdf0
Bug 553447 \e$(Q#|\e(B g_assert_no_error()

* glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
assert that a GError is not set, or else is set to a particular
error.

* glib/gtestutils.c (g_assertion_message_error): utility for
those macros

* glib/tests/keyfile.c:
* tests/asyncqueue-test.c:
* tests/bookmarkfile-test.c:
* tests/convert-test.c:
* tests/file-test.c: Use g_assert_error/g_assert_no_error

svn path=/trunk/; revision=7555
ChangeLog
glib/glib.symbols
glib/gtestutils.c
glib/gtestutils.h
glib/tests/keyfile.c
tests/asyncqueue-test.c
tests/bookmarkfile-test.c
tests/convert-test.c
tests/file-test.c