summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/elm_test_atspi.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/tests/elm_test_atspi.c b/src/tests/elm_test_atspi.c
index 7ff6712bc..d7ec2a8f7 100644
--- a/src/tests/elm_test_atspi.c
+++ b/src/tests/elm_test_atspi.c
@@ -30,27 +30,9 @@ Eo* generate_app(void)
30 evas_object_show(g_bg); 30 evas_object_show(g_bg);
31 evas_object_show(g_win); 31 evas_object_show(g_win);
32 32
33 Eo *obj = NULL; 33 return _elm_atspi_bridge_root_get();
34
35 _elm_atspi_init();
36
37 obj = _elm_atspi_root_get();
38
39 return obj;
40} 34}
41 35
42START_TEST (elm_atspi_root_get)
43{
44 elm_init(0, NULL);
45
46 Eo* obj = generate_app();
47
48 ck_assert(obj != NULL);
49
50 elm_shutdown();
51}
52END_TEST
53
54START_TEST (elm_atspi_name_get) 36START_TEST (elm_atspi_name_get)
55{ 37{
56 elm_init(0, NULL); 38 elm_init(0, NULL);
@@ -259,7 +241,7 @@ START_TEST (elm_test_atspi_object_children_get)
259{ 241{
260 elm_init(0, NULL); 242 elm_init(0, NULL);
261 243
262 Eo *root = _elm_atspi_root_get(); 244 Eo *root = _elm_atspi_bridge_root_get();
263 245
264 Eina_List *children = NULL; 246 Eina_List *children = NULL;
265 eo_do(root, children = elm_interface_atspi_accessible_children_get()); 247 eo_do(root, children = elm_interface_atspi_accessible_children_get());
@@ -391,7 +373,6 @@ END_TEST
391 373
392void elm_test_atspi(TCase *tc) 374void elm_test_atspi(TCase *tc)
393{ 375{
394 tcase_add_test(tc, elm_atspi_root_get);
395 tcase_add_test(tc, elm_atspi_name_get); 376 tcase_add_test(tc, elm_atspi_name_get);
396 tcase_add_test(tc, elm_atspi_role_get); 377 tcase_add_test(tc, elm_atspi_role_get);
397 tcase_add_test(tc, elm_atspi_role_name_get); 378 tcase_add_test(tc, elm_atspi_role_name_get);