forked from enlightenment/efl
tests/ecore_wl2: Add test for ecore_wl2_window_wm_rotation_supported
functions ref T8016
This commit is contained in:
parent
96e148b231
commit
5b588c3c39
|
@ -268,6 +268,25 @@ EFL_START_TEST(wl2_window_rotation_app)
|
|||
}
|
||||
EFL_END_TEST
|
||||
|
||||
EFL_START_TEST(wl2_wm_window_rotation_app)
|
||||
{
|
||||
Ecore_Wl2_Display *disp;
|
||||
Ecore_Wl2_Window *win;
|
||||
Eina_Bool r = EINA_FALSE;
|
||||
|
||||
disp = _display_connect();
|
||||
ck_assert(disp != NULL);
|
||||
|
||||
win = _window_create(disp);
|
||||
ck_assert(win != NULL);
|
||||
|
||||
ecore_wl2_window_wm_rotation_supported_set(win, EINA_TRUE);
|
||||
|
||||
r = ecore_wl2_window_wm_rotation_supported_get(win);
|
||||
fail_if(r != EINA_TRUE);
|
||||
}
|
||||
EFL_END_TEST
|
||||
|
||||
void
|
||||
ecore_wl2_test_window(TCase *tc)
|
||||
{
|
||||
|
@ -288,5 +307,6 @@ ecore_wl2_test_window(TCase *tc)
|
|||
tcase_add_test(tc, wl2_window_maximize);
|
||||
tcase_add_test(tc, wl2_window_preferred_rot);
|
||||
tcase_add_test(tc, wl2_window_rotation_app);
|
||||
tcase_add_test(tc, wl2_wm_window_rotation_app);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue