From: Stefan Schmidt Date: Tue, 12 Sep 2017 14:01:44 +0000 (+0200) Subject: tests: fix build after elm atspi renaming X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d397c9f195a9121153909c0ff87f1d883d51cde;p=platform%2Fupstream%2Fefl.git tests: fix build after elm atspi renaming Renamed but make check not taken into account. --- diff --git a/src/tests/elementary/elm_test_button.c b/src/tests/elementary/elm_test_button.c index 73384d6..b52d253 100644 --- a/src/tests/elementary/elm_test_button.c +++ b/src/tests/elementary/elm_test_button.c @@ -35,7 +35,7 @@ START_TEST (elm_atspi_interfaces_check) button = elm_button_add(win); ck_assert(efl_isa(button, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)); - ck_assert(efl_isa(button, ELM_INTERFACE_ATSPI_COMPONENT_MIXIN)); + ck_assert(efl_isa(button, EFL_ACCESS_COMPONENT_MIXIN)); ck_assert(efl_isa(button, ELM_INTERFACE_ATSPI_ACTION_MIXIN)); elm_shutdown(); diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c index df0d8cf..478f5ef 100644 --- a/src/tests/elementary/elm_test_win.c +++ b/src/tests/elementary/elm_test_win.c @@ -3,7 +3,7 @@ #endif #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED -#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED +#define EFL_ACCESS_COMPONENT_PROTECTED #include #ifdef HAVE_ELEMENTARY_X # include @@ -86,7 +86,7 @@ START_TEST (elm_atspi_component_position) Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC); - ret = elm_interface_atspi_component_position_set(win, EINA_TRUE, 45, 45); + ret = efl_access_component_position_set(win, EINA_TRUE, 45, 45); ck_assert(ret == EINA_TRUE); Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(win)); @@ -109,7 +109,7 @@ START_TEST (elm_atspi_component_size) Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC); evas_object_resize(win, 50, 50); - ret = elm_interface_atspi_component_size_set(win, 100, 100); + ret = efl_access_component_size_set(win, 100, 100); ck_assert(ret == EINA_TRUE); evas_object_geometry_get(win, NULL, NULL, &w, &h);