Fix build break while building with --with-tests=regular

_elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b
This commit is contained in:
Ryuan Choi 2014-07-16 07:19:25 +09:00
parent a4c9a3e20e
commit 2e431dd299
1 changed files with 2 additions and 21 deletions

View File

@ -30,27 +30,9 @@ Eo* generate_app(void)
evas_object_show(g_bg);
evas_object_show(g_win);
Eo *obj = NULL;
_elm_atspi_init();
obj = _elm_atspi_root_get();
return obj;
return _elm_atspi_bridge_root_get();
}
START_TEST (elm_atspi_root_get)
{
elm_init(0, NULL);
Eo* obj = generate_app();
ck_assert(obj != NULL);
elm_shutdown();
}
END_TEST
START_TEST (elm_atspi_name_get)
{
elm_init(0, NULL);
@ -259,7 +241,7 @@ START_TEST (elm_test_atspi_object_children_get)
{
elm_init(0, NULL);
Eo *root = _elm_atspi_root_get();
Eo *root = _elm_atspi_bridge_root_get();
Eina_List *children = NULL;
eo_do(root, children = elm_interface_atspi_accessible_children_get());
@ -391,7 +373,6 @@ END_TEST
void elm_test_atspi(TCase *tc)
{
tcase_add_test(tc, elm_atspi_root_get);
tcase_add_test(tc, elm_atspi_name_get);
tcase_add_test(tc, elm_atspi_role_get);
tcase_add_test(tc, elm_atspi_role_name_get);