6 typedef struct _Test Test;
7 typedef struct _Group Group;
9 typedef char * (* RunTestHandler)();
10 typedef Test * (* LoadGroupHandler)();
14 RunTestHandler handler;
19 LoadGroupHandler handler;
22 void run_test(Test *test);
23 void run_group(Group *group);
25 #define DEFINE_TEST_GROUP_INIT(name, table) \
26 Test * (name)() { return table; }
28 #define DEFINE_TEST_GROUP_INIT_H(name) \
31 #define RESULT(x) g_strdup_printf(x);