added g_test_add_data_func() to pass data into tests. allow data arguments
author11:43:22 Tim Janik <timj@imendio.com>
Wed, 5 Dec 2007 10:42:09 +0000 (10:42 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 5 Dec 2007 10:42:09 +0000 (10:42 +0000)
commit510d4ec6340492660bc2dd20f566fb4c8f0a78af
tree283fa2fa02e57437670f62a12c58d681ded3c46e
parent2c362b7f9eb7cc81f37970e24c5b5dcdc56ea6d5
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
ChangeLog
glib/glib.symbols
glib/gtester.c
glib/gtestutils.c
glib/gtestutils.h
glib/tests/testing.c