test: drop extra finger up/down in tapndrag + click test
authorPeter Hutterer <peter.hutterer@who-t.net>
Sun, 21 Jun 2015 23:28:06 +0000 (09:28 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 22 Jun 2015 00:32:33 +0000 (10:32 +1000)
Already tested elsewhere

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/touchpad-tap.c

index 79381e6..2207930 100644 (file)
@@ -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);