added g_test_add_data_func() to pass data into tests. allow data arguments

2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>

        * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
        into tests. allow data arguments for fixture tests.

        * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
        upon criticals/warnings/errors.

        * glib/tests/testing.c: test test_data arguments.

        * glib/gtester.c: some prototype fixups.



svn path=/trunk/; revision=6049
This commit is contained in:
11:43:22 Tim Janik
2007-12-05 10:42:09 +00:00
committed by Tim Janik
parent 2c362b7f9e
commit 510d4ec634
6 changed files with 91 additions and 26 deletions

View File

@@ -1273,6 +1273,7 @@ g_assertion_message_cmpnum
g_assertion_message_cmpstr
g_assertion_message_expr
g_strcmp0
g_test_add_data_func
g_test_add_func
g_test_add_vtable
g_test_bug