forked from enlightenment/efl
tests/ecore_wl2: Add test for ecore_wl2_window_floating_mode_get/set
functions ref T8016
This commit is contained in:
parent
1357171d56
commit
17919040b6
|
@ -149,6 +149,25 @@ EFL_START_TEST(wl2_window_alpha)
|
||||||
}
|
}
|
||||||
EFL_END_TEST
|
EFL_END_TEST
|
||||||
|
|
||||||
|
EFL_START_TEST(wl2_window_floating_mode)
|
||||||
|
{
|
||||||
|
Ecore_Wl2_Display *disp;
|
||||||
|
Ecore_Wl2_Window *win;
|
||||||
|
Eina_Bool f = EINA_FALSE;
|
||||||
|
|
||||||
|
disp = _display_connect();
|
||||||
|
ck_assert(disp != NULL);
|
||||||
|
|
||||||
|
win = _window_create(disp);
|
||||||
|
ck_assert(win != NULL);
|
||||||
|
|
||||||
|
ecore_wl2_window_floating_mode_set(win, EINA_TRUE);
|
||||||
|
|
||||||
|
f = ecore_wl2_window_floating_mode_get(win);
|
||||||
|
fail_if(f != EINA_TRUE);
|
||||||
|
}
|
||||||
|
EFL_END_TEST
|
||||||
|
|
||||||
void
|
void
|
||||||
ecore_wl2_test_window(TCase *tc)
|
ecore_wl2_test_window(TCase *tc)
|
||||||
{
|
{
|
||||||
|
@ -163,5 +182,6 @@ ecore_wl2_test_window(TCase *tc)
|
||||||
tcase_add_test(tc, wl2_window_aux_hints_supported_get);
|
tcase_add_test(tc, wl2_window_aux_hints_supported_get);
|
||||||
tcase_add_test(tc, wl2_window_display_get);
|
tcase_add_test(tc, wl2_window_display_get);
|
||||||
tcase_add_test(tc, wl2_window_alpha);
|
tcase_add_test(tc, wl2_window_alpha);
|
||||||
|
tcase_add_test(tc, wl2_window_floating_mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue