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
This commit is contained in:
Mike Blumenkrantz 2019-02-27 16:04:07 -05:00
parent 649433560b
commit 0e027980f6
1 changed files with 13 additions and 0 deletions

View File

@ -70,9 +70,22 @@ EFL_START_TEST(elm_layout_test_swallows)
}
EFL_END_TEST
EFL_START_TEST(elm_layout_test_text_set)
{
Evas_Object *win, *layout;
win = win_add(NULL, "layout", ELM_WIN_BASIC);
layout = elm_layout_add(win);
ck_assert(!elm_layout_text_set(layout, "blahblah", "test"));
}
EFL_END_TEST
void elm_test_layout(TCase *tc)
{
tcase_add_test(tc, elm_layout_test_legacy_type_check);
tcase_add_test(tc, elm_atspi_role_get);
tcase_add_test(tc, elm_layout_test_swallows);
tcase_add_test(tc, elm_layout_test_text_set);
}