autotests: Fix TouchInputTest::testCancel()

If a TOUCH_UP event is received after a TOUCH_CANCEL event, this is
most likely a libinput bug. TOUCH_CANCEL events act as TOUCH_UP events.
This commit is contained in:
Vlad Zahorodnii 2021-02-16 12:55:10 +02:00
parent 2df429ce5e
commit 90c6ba20ed

View file

@ -233,10 +233,6 @@ void TouchInputTest::testCancel()
kwinApp()->platform()->touchCancel();
QVERIFY(cancelSpy.wait());
QCOMPARE(cancelSpy.count(), 1);
kwinApp()->platform()->touchUp(1, timestamp++);
QVERIFY(!pointRemovedSpy.wait(100));
QCOMPARE(pointRemovedSpy.count(), 0);
}
void TouchInputTest::testTouchMouseAction()