summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-27 16:04:07 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-27 16:04:07 -0500
commit0e027980f6c275f1a56ae550679010d689c91b23 (patch)
tree409e769e2e7cbe054986a6c18bb3b192d7b4913f
parent649433560b5b6c81e2136d0e2d036042f035b00c (diff)
tests: add test for elm_layout_text_set
Summary: ref T6931 Reviewers: stefan_schmidt, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T6931 Differential Revision: https://phab.enlightenment.org/D7603
-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 5184086538..b5ee17a30c 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}