ryuan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=24099ace287416712a885d589a70c7b20a995a31

commit 24099ace287416712a885d589a70c7b20a995a31
Author: Ryuan Choi <ryuan.c...@gmail.com>
Date:   Wed Jul 16 07:19:25 2014 +0900

    Fix build break while building with --with-tests=regular
    
    _elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b
---
 src/tests/elm_test_atspi.c | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/src/tests/elm_test_atspi.c b/src/tests/elm_test_atspi.c
index 7ff6712..d7ec2a8 100644
--- a/src/tests/elm_test_atspi.c
+++ b/src/tests/elm_test_atspi.c
@@ -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);

-- 


Reply via email to