diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-01-08 13:45:42 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-01-20 15:38:13 +1000 |
commit | d9e1b2603e1c36e262f88c80c7321491656c7836 (patch) | |
tree | e92e7611b4ab8645cc7cec10a8687850059cd44a | |
parent | 1280d638a243009ef2fda90acc16c6ae9d99e585 (diff) | |
download | libinput-d9e1b2603e1c36e262f88c80c7321491656c7836.tar.gz |
test: change semi-mt 2fg scroll test to use two-finger movement
As we implement more gestures, we will drop two-finger scrolling performed by
only a single finger movement.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | test/touchpad.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/touchpad.c b/test/touchpad.c index dab2781e..63b1cb77 100644 --- a/test/touchpad.c +++ b/test/touchpad.c @@ -289,11 +289,11 @@ START_TEST(touchpad_2fg_scroll_semi_mt) litest_touch_down(dev, 0, 20, 20); litest_touch_down(dev, 1, 30, 20); libinput_dispatch(li); - litest_touch_move_to(dev, 1, 30, 20, 30, 70, 10, 5); - - litest_assert_empty_queue(li); - - litest_touch_move_to(dev, 0, 20, 20, 20, 70, 10, 5); + litest_touch_move_two_touches(dev, + 20, 20, + 30, 20, + 30, 40, + 10, 1); litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_AXIS); } |