summaryrefslogtreecommitdiff
path: root/src/tests/elementary/efl_ui_test_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/elementary/efl_ui_test_widget.c')
-rw-r--r--src/tests/elementary/efl_ui_test_widget.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/tests/elementary/efl_ui_test_widget.c b/src/tests/elementary/efl_ui_test_widget.c
index 23118fee86..74e8f2eac9 100644
--- a/src/tests/elementary/efl_ui_test_widget.c
+++ b/src/tests/elementary/efl_ui_test_widget.c
@@ -19,8 +19,7 @@ static void
19_small_ui(State *s) 19_small_ui(State *s)
20{ 20{
21 s->win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 21 s->win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
22 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 22 efl_text_set(efl_added, "Hello World"));
23 efl_text_set(efl_added, "Hello World"));
24 23
25 s->ic = efl_add(EFL_UI_IMAGE_CLASS, s->win, 24 s->ic = efl_add(EFL_UI_IMAGE_CLASS, s->win,
26 efl_ui_win_icon_object_set(s->win, efl_added)); 25 efl_ui_win_icon_object_set(s->win, efl_added));
@@ -233,8 +232,7 @@ EFL_START_TEST(efl_ui_test_widget_parent_relation)
233 Efl_Ui_Win *win, *w1, *w2, *w3; 232 Efl_Ui_Win *win, *w1, *w2, *w3;
234 233
235 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 234 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
236 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 235 efl_text_set(efl_added, "Hello World"));
237 efl_text_set(efl_added, "Hello World"));
238 //first check the initial state 236 //first check the initial state
239 w1 = efl_add(efl_ui_widget_realized_class_get(), win); 237 w1 = efl_add(efl_ui_widget_realized_class_get(), win);
240 ck_assert_ptr_eq(efl_ui_widget_parent_get(w1), win); 238 ck_assert_ptr_eq(efl_ui_widget_parent_get(w1), win);
@@ -257,8 +255,7 @@ EFL_START_TEST(efl_ui_test_widget_disabled_parent)
257 Efl_Ui_Win *win, *w1, *w2, *t; 255 Efl_Ui_Win *win, *w1, *w2, *t;
258 256
259 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 257 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
260 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 258 efl_text_set(efl_added, "Hello World"));
261 efl_text_set(efl_added, "Hello World"));
262 //first check the initial state 259 //first check the initial state
263 w1 = efl_add(efl_ui_widget_realized_class_get(), win); 260 w1 = efl_add(efl_ui_widget_realized_class_get(), win);
264 efl_ui_widget_disabled_set(w1, EINA_TRUE); 261 efl_ui_widget_disabled_set(w1, EINA_TRUE);
@@ -293,8 +290,7 @@ EFL_START_TEST(efl_ui_test_widget_disabled_behaviour)
293 Efl_Ui_Win *win, *w1, *w2, *t; 290 Efl_Ui_Win *win, *w1, *w2, *t;
294 291
295 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(), 292 win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
296 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC), 293 efl_text_set(efl_added, "Hello World"));
297 efl_text_set(efl_added, "Hello World"));
298 //first check the initial state 294 //first check the initial state
299 w1 = efl_add(efl_ui_widget_realized_class_get(), win); 295 w1 = efl_add(efl_ui_widget_realized_class_get(), win);
300 efl_ui_widget_disabled_set(w1, EINA_TRUE); 296 efl_ui_widget_disabled_set(w1, EINA_TRUE);