From e5f8ac757952296ce467cf4dc47cd5522afb9dc8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Feb 2017 10:51:25 +1000 Subject: [PATCH] test: add missing checks for tap enabled/disabled by default Signed-off-by: Peter Hutterer --- test/test-touchpad-tap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-touchpad-tap.c b/test/test-touchpad-tap.c index cdc9b3a0..fcc1662d 100644 --- a/test/test-touchpad-tap.c +++ b/test/test-touchpad-tap.c @@ -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); }