GlobalShortcutsTest: No need to make the test longer than it needs to be
This commit is contained in:
parent
8cbc03b3be
commit
c8a1f48151
1 changed files with 2 additions and 2 deletions
|
@ -216,10 +216,10 @@ void GlobalShortcutsTest::testRepeatedTrigger()
|
|||
QVERIFY(triggeredSpy.wait());
|
||||
// now release the key
|
||||
kwinApp()->platform()->keyboardKeyReleased(KEY_5, timestamp++);
|
||||
QVERIFY(!triggeredSpy.wait(500));
|
||||
QVERIFY(!triggeredSpy.wait(50));
|
||||
|
||||
kwinApp()->platform()->keyboardKeyReleased(KEY_WAKEUP, timestamp++);
|
||||
QVERIFY(!triggeredSpy.wait(500));
|
||||
QVERIFY(!triggeredSpy.wait(50));
|
||||
|
||||
// release shift
|
||||
kwinApp()->platform()->keyboardKeyReleased(KEY_LEFTSHIFT, timestamp++);
|
||||
|
|
Loading…
Reference in a new issue