summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commit804fc1667ac72338e3691447e149e54261a9ffe6 (patch)
treeb0a572853f903b5339d8c2fa9abe1f444d51a7a6 /src/tests/elementary/elm_test_win.c
parentf8e93775c066b193090beeb03c23fbaeaec2486b (diff)
efl_access_component: resolve property name conflicts
this class is a giant FIXME for anyone looking to do refactoring work. the only reason it seems to exist is to provide wrappers around efl.gfx functions and provide screen position adjustments--something which isn't even viable under wayland note that a test was removed here due to the corresponding method being removed
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_win.c27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index 22b894afd4..4dee633437 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -99,7 +99,7 @@ START_TEST (elm_atspi_role_get)
99} 99}
100END_TEST 100END_TEST
101 101
102START_TEST (elm_atspi_component_position) 102START_TEST (elm_atspi_component_screen_position)
103{ 103{
104 Eina_Bool ret; 104 Eina_Bool ret;
105 int x, y; 105 int x, y;
@@ -108,7 +108,7 @@ START_TEST (elm_atspi_component_position)
108 108
109 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC); 109 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
110 110
111 ret = efl_access_component_position_set(win, EINA_TRUE, 45, 45); 111 ret = efl_access_component_screen_position_set(win, 45, 45);
112 ck_assert(ret == EINA_TRUE); 112 ck_assert(ret == EINA_TRUE);
113 113
114 Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(win)); 114 Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(win));
@@ -121,26 +121,6 @@ START_TEST (elm_atspi_component_position)
121} 121}
122END_TEST 122END_TEST
123 123
124START_TEST (elm_atspi_component_size)
125{
126 Eina_Bool ret;
127 int w, h;
128
129 elm_init(0, NULL);
130
131 Eo *win = elm_win_add(NULL, "win", ELM_WIN_BASIC);
132 evas_object_resize(win, 50, 50);
133
134 ret = efl_access_component_size_set(win, 100, 100);
135 ck_assert(ret == EINA_TRUE);
136
137 evas_object_geometry_get(win, NULL, NULL, &w, &h);
138 ck_assert((w == 100) && (h == 100));
139
140 elm_shutdown();
141}
142END_TEST
143
144START_TEST (elm_win_autohide) 124START_TEST (elm_win_autohide)
145{ 125{
146 elm_init(0, NULL); 126 elm_init(0, NULL);
@@ -419,8 +399,7 @@ void elm_test_win(TCase *tc)
419{ 399{
420 tcase_add_test(tc, elm_win_legacy_type_check); 400 tcase_add_test(tc, elm_win_legacy_type_check);
421 tcase_add_test(tc, elm_atspi_role_get); 401 tcase_add_test(tc, elm_atspi_role_get);
422 tcase_add_test(tc, elm_atspi_component_position); 402 tcase_add_test(tc, elm_atspi_component_screen_position);
423 tcase_add_test(tc, elm_atspi_component_size);
424 tcase_add_test(tc, elm_win_policy_quit_last_window_hidden); 403 tcase_add_test(tc, elm_win_policy_quit_last_window_hidden);
425 tcase_add_test(tc, efl_ui_win_multi_touch_inputs); 404 tcase_add_test(tc, efl_ui_win_multi_touch_inputs);
426#ifdef HAVE_ELEMENTARY_X 405#ifdef HAVE_ELEMENTARY_X