summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_fileselector_button.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-24 11:32:38 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-26 11:42:02 +0100
commit1c27529363faa90450685140b7fa552fb24ab546 (patch)
tree7f75ecd4c2fb58bb6b9eb7cb8dfc0e934a901c57 /src/tests/elementary/elm_test_fileselector_button.c
parent67d9b49c1bc9dd5d505aa9c31da9fb26fb4da444 (diff)
elm_fileselector_button: support the whole interface
this adds full support of the full elm_fileselector interface to elm_fileselector_button. ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7753
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_fileselector_button.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_fileselector_button.c b/src/tests/elementary/elm_test_fileselector_button.c
index c5bba5ccfa..97db3dcd58 100644
--- a/src/tests/elementary/elm_test_fileselector_button.c
+++ b/src/tests/elementary/elm_test_fileselector_button.c
@@ -26,6 +26,19 @@ EFL_START_TEST (elm_fileselector_button_legacy_type_check)
26} 26}
27EFL_END_TEST 27EFL_END_TEST
28 28
29EFL_START_TEST (elm_fileselector_button_current_name)
30{
31 Evas_Object *win, *fs_button;
32
33 win = win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
34
35 fs_button = elm_fileselector_button_add(win);
36
37 elm_fileselector_current_name_set(fs_button, "test.txt");
38 ck_assert_str_eq(elm_fileselector_current_name_get(fs_button), "test.txt");
39}
40EFL_END_TEST
41
29EFL_START_TEST (elm_atspi_role_get) 42EFL_START_TEST (elm_atspi_role_get)
30{ 43{
31 Evas_Object *win, *fs_button; 44 Evas_Object *win, *fs_button;
@@ -44,5 +57,6 @@ EFL_END_TEST
44void elm_test_fileselector_button(TCase *tc) 57void elm_test_fileselector_button(TCase *tc)
45{ 58{
46 tcase_add_test(tc, elm_fileselector_button_legacy_type_check); 59 tcase_add_test(tc, elm_fileselector_button_legacy_type_check);
60 tcase_add_test(tc, elm_fileselector_button_current_name);
47 tcase_add_test(tc, elm_atspi_role_get); 61 tcase_add_test(tc, elm_atspi_role_get);
48} 62}