diff options
Diffstat (limited to 'tests/at-spi2-atk/atk_test_util.c')
-rw-r--r-- | tests/at-spi2-atk/atk_test_util.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/at-spi2-atk/atk_test_util.c b/tests/at-spi2-atk/atk_test_util.c index 3f63ba06..a56b7913 100644 --- a/tests/at-spi2-atk/atk_test_util.c +++ b/tests/at-spi2-atk/atk_test_util.c @@ -125,7 +125,17 @@ get_root_obj (const char *file_name) } void -fixture_teardown (gpointer fixture, gconstpointer user_data) +fixture_setup (TestAppFixture *fixture, gconstpointer user_data) +{ + const char *file_name = user_data; + AtspiAccessible *root_obj = get_root_obj (file_name); + + fixture->child_pid = child_pid; + fixture->root_obj = root_obj; +} + +void +fixture_teardown (TestAppFixture *fixture, gconstpointer user_data) { int tries = 0; |