Commit 28fc00b5 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

test: add a 10ms delay for scrolling tests

No touchpad gives us these events with a 0 delay, so let's not test for that.

This is required for adding timing-sensitive scroll code, see
#101

.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 531b1bf8
Pipeline #3027 passed with stages
in 15 minutes and 2 seconds
......@@ -124,7 +124,7 @@ test_2fg_scroll(struct litest_device *dev, double dx, double dy, bool want_sleep
litest_touch_down(dev, 0, 49, 50);
litest_touch_down(dev, 1, 51, 50);
litest_touch_move_two_touches(dev, 49, 50, 51, 50, dx, dy, 10, 0);
litest_touch_move_two_touches(dev, 49, 50, 51, 50, dx, dy, 10, 10);
/* Avoid a small scroll being seen as a tap */
if (want_sleep) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment