r20927 - gnucash/trunk/src/test-core - Testing: Fix an error in the GNC_TEST_ADD macro that
John Ralls
jralls at code.gnucash.org
Thu Jul 14 13:06:04 EDT 2011
Author: jralls
Date: 2011-07-14 13:06:04 -0400 (Thu, 14 Jul 2011)
New Revision: 20927
Trac: http://svn.gnucash.org/trac/changeset/20927
Modified:
gnucash/trunk/src/test-core/test-stuff.h
Log:
Testing: Fix an error in the GNC_TEST_ADD macro that
ate user data for the fixture.
Modified: gnucash/trunk/src/test-core/test-stuff.h
===================================================================
--- gnucash/trunk/src/test-core/test-stuff.h 2011-07-13 22:10:22 UTC (rev 20926)
+++ gnucash/trunk/src/test-core/test-stuff.h 2011-07-14 17:06:04 UTC (rev 20927)
@@ -61,7 +61,7 @@
#define GNC_TEST_ADD( suite, path, fixture, data, setup, test, teardown )\
{\
gchar *testpath = g_strdup_printf( "%s/%s", suite, path );\
- g_test_add( testpath, fixture, NULL, setup, test, teardown );\
+ g_test_add( testpath, fixture, data, setup, test, teardown );\
g_free( testpath );\
}
More information about the gnucash-changes
mailing list