mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 02:28:05 +02:00
test: add a has_slider check for the airbrush tool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4ce0fe4a2d
commit
dbefce8ffe
1 changed files with 2 additions and 0 deletions
|
|
@ -2719,6 +2719,8 @@ START_TEST(airbrush_tool)
|
||||||
ck_assert_int_eq(libinput_tablet_tool_get_type(tool),
|
ck_assert_int_eq(libinput_tablet_tool_get_type(tool),
|
||||||
LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH);
|
LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH);
|
||||||
|
|
||||||
|
ck_assert(libinput_tablet_tool_has_slider(tool));
|
||||||
|
|
||||||
libinput_event_destroy(event);
|
libinput_event_destroy(event);
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue