From 9ad54b85f41cb8b552da78de9e9783abad01475b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 22 Jun 2015 09:28:06 +1000 Subject: [PATCH] test: drop extra finger up/down in tapndrag + click test Already tested elsewhere Signed-off-by: Peter Hutterer --- test/touchpad-tap.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/touchpad-tap.c b/test/touchpad-tap.c index 79381e6c..22079302 100644 --- a/test/touchpad-tap.c +++ b/test/touchpad-tap.c @@ -693,8 +693,6 @@ START_TEST(touchpad_1fg_tap_n_drag_tap_click) litest_touch_up(dev, 0); litest_touch_down(dev, 0, 50, 50); litest_touch_move_to(dev, 0, 50, 50, 80, 80, 5, 40); - litest_touch_up(dev, 0); - libinput_dispatch(li); litest_assert_button_event(li, BTN_LEFT, @@ -704,12 +702,6 @@ START_TEST(touchpad_1fg_tap_n_drag_tap_click) litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION); - /* lift finger, set down again, should continue dragging */ - litest_touch_down(dev, 0, 50, 50); - litest_touch_move_to(dev, 0, 50, 50, 80, 80, 5, 40); - - litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION); - litest_touch_up(dev, 0); litest_touch_down(dev, 0, 50, 50); litest_button_click(dev, BTN_LEFT, true); -- 2.34.1