summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-02-22 10:00:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-02-22 10:00:17 +1000
commitdbefce8ffe11ab5c1ad9e8dc5cc0ca0377443c0c (patch)
tree2daf17da87213c888b60f0000198529fbec5fcb7 /test
parent4ce0fe4a2d2e54e401b1073dfc1c894d596a4a0f (diff)
test: add a has_slider check for the airbrush tool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/test-tablet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-tablet.c b/test/test-tablet.c
index 268d8e9..ce95d0d 100644
--- a/test/test-tablet.c
+++ b/test/test-tablet.c
@@ -2719,6 +2719,8 @@ START_TEST(airbrush_tool)
ck_assert_int_eq(libinput_tablet_tool_get_type(tool),
LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH);
+ ck_assert(libinput_tablet_tool_has_slider(tool));
+
libinput_event_destroy(event);
}
END_TEST