summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/elementary/elm_test_win.c')
-rw-r--r--src/tests/elementary/elm_test_win.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/elementary/elm_test_win.c b/src/tests/elementary/elm_test_win.c
index dc335bff68..e90a31a4b6 100644
--- a/src/tests/elementary/elm_test_win.c
+++ b/src/tests/elementary/elm_test_win.c
@@ -465,6 +465,18 @@ EFL_START_TEST(elm_win_test_rotation)
465} 465}
466EFL_END_TEST 466EFL_END_TEST
467 467
468EFL_START_TEST(elm_win_test_default_type)
469{
470 Evas_Object *win;
471
472 win = elm_win_add(NULL, "test win default type", ELM_WIN_UNKNOWN);
473 ck_assert_int_eq(elm_win_type_get(win), ELM_WIN_UNKNOWN);
474
475 win = elm_win_util_standard_add("test win default type", "test");
476 ck_assert_int_eq(elm_win_type_get(win), ELM_WIN_BASIC);
477}
478EFL_END_TEST
479
468void elm_test_win(TCase *tc) 480void elm_test_win(TCase *tc)
469{ 481{
470 tcase_add_test(tc, elm_win_legacy_type_check); 482 tcase_add_test(tc, elm_win_legacy_type_check);
@@ -475,6 +487,7 @@ void elm_test_win(TCase *tc)
475 tcase_add_test(tc, elm_win_test_app_exit_on_windows_close); 487 tcase_add_test(tc, elm_win_test_app_exit_on_windows_close);
476 tcase_add_test(tc, efl_ui_win_multi_touch_inputs); 488 tcase_add_test(tc, efl_ui_win_multi_touch_inputs);
477 tcase_add_test(tc, elm_win_test_rotation); 489 tcase_add_test(tc, elm_win_test_rotation);
490 tcase_add_test(tc, elm_win_test_default_type);
478#ifdef HAVE_ELEMENTARY_X 491#ifdef HAVE_ELEMENTARY_X
479 tcase_add_test(tc, elm_win_autohide); 492 tcase_add_test(tc, elm_win_autohide);
480 tcase_add_test(tc, elm_win_autohide_and_policy_quit_last_window_hidden); 493 tcase_add_test(tc, elm_win_autohide_and_policy_quit_last_window_hidden);