mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
26 lines
809 B
C
26 lines
809 B
C
|
|
||
|
/* Stuff you put in here is setup once in main() and gets passed around to
|
||
|
* all test functions and fixture setup/teardown functions in the data
|
||
|
* argument */
|
||
|
typedef struct _TestConformSharedState
|
||
|
{
|
||
|
int *argc_addr;
|
||
|
char ***argv_addr;
|
||
|
} TestConformSharedState;
|
||
|
|
||
|
|
||
|
/* This fixture structure is allocated by glib, and before running each test
|
||
|
* the test_conform_simple_fixture_setup func (see below) is called to
|
||
|
* initialise it, and test_conform_simple_fixture_teardown is called when
|
||
|
* the test is finished. */
|
||
|
typedef struct _TestConformSimpleFixture
|
||
|
{
|
||
|
/**/
|
||
|
} TestConformSimpleFixture;
|
||
|
|
||
|
void test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,
|
||
|
gconstpointer data);
|
||
|
void test_conform_simple_fixture_teardown (TestConformSimpleFixture *fixture,
|
||
|
gconstpointer data);
|
||
|
|