forked from enlightenment/efl
tests/ecore_wl2: Add test for ecore_wl2_window_activated_get function
Summary: tests/ecore_wl2: Add test for ecore_wl2_window_activated_get function ref T8016 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8016 Differential Revision: https://phab.enlightenment.org/D10746
This commit is contained in:
parent
f825326750
commit
ffc3c4a7e7
|
@ -329,6 +329,24 @@ EFL_START_TEST(wl2_window_type)
|
|||
}
|
||||
EFL_END_TEST
|
||||
|
||||
EFL_START_TEST(wl2_window_activated)
|
||||
{
|
||||
Ecore_Wl2_Display *disp;
|
||||
Ecore_Wl2_Window *win;
|
||||
Eina_Bool ret;
|
||||
|
||||
disp = _display_connect();
|
||||
ck_assert(disp != NULL);
|
||||
|
||||
win = _window_create(disp);
|
||||
ck_assert(win != NULL);
|
||||
|
||||
ret = ecore_wl2_window_activated_get(win);
|
||||
|
||||
fail_if(ret != EINA_TRUE);
|
||||
}
|
||||
EFL_END_TEST
|
||||
|
||||
void
|
||||
ecore_wl2_test_window(TCase *tc)
|
||||
{
|
||||
|
@ -352,5 +370,6 @@ ecore_wl2_test_window(TCase *tc)
|
|||
tcase_add_test(tc, wl2_wm_window_rotation_app);
|
||||
tcase_add_test(tc, wl2_window_geometry);
|
||||
tcase_add_test(tc, wl2_window_type);
|
||||
tcase_add_test(tc, wl2_window_activated);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue