mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-05 02:00:15 +01:00
test: add missing checks for tap enabled/disabled by default
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a7720d3625
commit
e5f8ac7579
1 changed files with 4 additions and 0 deletions
|
|
@ -1748,6 +1748,8 @@ START_TEST(touchpad_tap_default_disabled)
|
|||
|
||||
/* this test is only run on specific devices */
|
||||
|
||||
ck_assert_int_eq(libinput_device_config_tap_get_enabled(dev->libinput_device),
|
||||
LIBINPUT_CONFIG_TAP_DISABLED);
|
||||
ck_assert_int_eq(libinput_device_config_tap_get_default_enabled(dev->libinput_device),
|
||||
LIBINPUT_CONFIG_TAP_DISABLED);
|
||||
}
|
||||
|
|
@ -1759,6 +1761,8 @@ START_TEST(touchpad_tap_default_enabled)
|
|||
|
||||
/* this test is only run on specific devices */
|
||||
|
||||
ck_assert_int_eq(libinput_device_config_tap_get_enabled(dev->libinput_device),
|
||||
LIBINPUT_CONFIG_TAP_ENABLED);
|
||||
ck_assert_int_eq(libinput_device_config_tap_get_default_enabled(dev->libinput_device),
|
||||
LIBINPUT_CONFIG_TAP_ENABLED);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue