From d9e1b2603e1c36e262f88c80c7321491656c7836 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 8 Jan 2016 13:45:42 +1000 Subject: 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 --- test/touchpad.c | 10 +++++----- 1 file 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); } -- cgit v1.2.1