mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 14:38:19 +02:00
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 <peter.hutterer@who-t.net>
This commit is contained in:
parent
c2877fdb0c
commit
b9b4065cda
1 changed files with 0 additions and 12 deletions
|
|
@ -3327,12 +3327,6 @@ START_TEST(touchpad_dwt)
|
||||||
|
|
||||||
litest_assert_only_typed_events(li, LIBINPUT_EVENT_KEYBOARD_KEY);
|
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();
|
litest_timeout_dwt_short();
|
||||||
libinput_dispatch(li);
|
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);
|
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();
|
litest_timeout_dwt_short();
|
||||||
libinput_dispatch(li);
|
libinput_dispatch(li);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue