forked from enlightenment/efl
tests/ecore_wl2: Fix input_keymap test
The test for ecore_wl2_input_keymap_get was causing failues in the suite because we need to verify that the input device is a keyboard before we can check for a keymap. ref T8016
This commit is contained in:
parent
0bb0d862ce
commit
a9ded0ab5c
|
@ -102,7 +102,9 @@ EFL_START_TEST(wl2_input_keymap_get)
|
|||
|
||||
EINA_ITERATOR_FOREACH(itr, input)
|
||||
{
|
||||
ck_assert(ecore_wl2_input_keymap_get(input) != NULL);
|
||||
if (ecore_wl2_input_seat_capabilities_get(input) ==
|
||||
ECORE_WL2_SEAT_CAPABILITIES_KEYBOARD)
|
||||
ck_assert(ecore_wl2_input_keymap_get(input) != NULL);
|
||||
}
|
||||
|
||||
eina_iterator_free(itr);
|
||||
|
|
Loading…
Reference in New Issue