Fix comment in test
The intent is that the key is *not* locked
This commit is contained in:
parent
463d77ec18
commit
e14e4a1f8e
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ void StickyKeysTest::testLock()
|
||||||
Test::keyboardKeyPressed(KEY_LEFTCTRL, ++timestamp);
|
Test::keyboardKeyPressed(KEY_LEFTCTRL, ++timestamp);
|
||||||
QVERIFY(modifierSpy.wait());
|
QVERIFY(modifierSpy.wait());
|
||||||
QCOMPARE(modifierSpy.first()[0], 4); // verify that Ctrl is depressed
|
QCOMPARE(modifierSpy.first()[0], 4); // verify that Ctrl is depressed
|
||||||
QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is locked
|
QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is not locked
|
||||||
|
|
||||||
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
|
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue