projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe7f50
)
test: check the pad button state in litest_is_pad_button_event
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 16 Jan 2017 04:51:19 +0000
(14:51 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 20 Jan 2017 00:35:45 +0000
(10:35 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index d3598f4e469033f0c797c0ed4bd81191ddc4c0ea..10993d9f405b0c47eaff1f6ab6c6517e03edf875 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-2768,6
+2768,8
@@
litest_is_pad_button_event(struct libinput_event *event,
litest_assert_int_eq(libinput_event_tablet_pad_get_button_number(p),
button);
+ litest_assert_int_eq(libinput_event_tablet_pad_get_button_state(p),
+ state);
return p;
}