From b9b4065cda2dab2008d69ea758190d91d236b04e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 27 Aug 2018 15:15:37 +1000 Subject: [PATCH] test: drop two erroneous checks in the dwt tests These only succeeded because the test suite doesn't use frame intervals - as soon as the time between event frames is nonzero, we may fail these. Signed-off-by: Peter Hutterer --- test/test-touchpad.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/test-touchpad.c b/test/test-touchpad.c index 68dc7229..6cf049dc 100644 --- a/test/test-touchpad.c +++ b/test/test-touchpad.c @@ -3327,12 +3327,6 @@ START_TEST(touchpad_dwt) litest_assert_only_typed_events(li, LIBINPUT_EVENT_KEYBOARD_KEY); - /* within timeout - no events */ - litest_touch_down(touchpad, 0, 50, 50); - litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10, 1); - litest_touch_up(touchpad, 0); - litest_assert_empty_queue(li); - litest_timeout_dwt_short(); libinput_dispatch(li); @@ -3374,12 +3368,6 @@ START_TEST(touchpad_dwt_ext_and_int_keyboard) litest_assert_only_typed_events(li, LIBINPUT_EVENT_KEYBOARD_KEY); - /* within timeout - no events */ - litest_touch_down(touchpad, 0, 50, 50); - litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10, 1); - litest_touch_up(touchpad, 0); - litest_assert_empty_queue(li); - litest_timeout_dwt_short(); libinput_dispatch(li);