summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/elementary/elm_test_layout.c')
-rw-r--r--src/tests/elementary/elm_test_layout.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_layout.c b/src/tests/elementary/elm_test_layout.c
index 5184086..b5ee17a 100644
--- a/src/tests/elementary/elm_test_layout.c
+++ b/src/tests/elementary/elm_test_layout.c
@@ -70,9 +70,22 @@ EFL_START_TEST(elm_layout_test_swallows)
70} 70}
71EFL_END_TEST 71EFL_END_TEST
72 72
73EFL_START_TEST(elm_layout_test_text_set)
74{
75 Evas_Object *win, *layout;
76
77 win = win_add(NULL, "layout", ELM_WIN_BASIC);
78
79 layout = elm_layout_add(win);
80 ck_assert(!elm_layout_text_set(layout, "blahblah", "test"));
81}
82EFL_END_TEST
83
84
73void elm_test_layout(TCase *tc) 85void elm_test_layout(TCase *tc)
74{ 86{
75 tcase_add_test(tc, elm_layout_test_legacy_type_check); 87 tcase_add_test(tc, elm_layout_test_legacy_type_check);
76 tcase_add_test(tc, elm_atspi_role_get); 88 tcase_add_test(tc, elm_atspi_role_get);
77 tcase_add_test(tc, elm_layout_test_swallows); 89 tcase_add_test(tc, elm_layout_test_swallows);
90 tcase_add_test(tc, elm_layout_test_text_set);
78} 91}