diff options
Diffstat (limited to 'tests/auto/input/inputchord/tst_inputchord.cpp')
-rw-r--r-- | tests/auto/input/inputchord/tst_inputchord.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/input/inputchord/tst_inputchord.cpp b/tests/auto/input/inputchord/tst_inputchord.cpp index 7fa93451c..1e2dc417a 100644 --- a/tests/auto/input/inputchord/tst_inputchord.cpp +++ b/tests/auto/input/inputchord/tst_inputchord.cpp @@ -180,8 +180,7 @@ private Q_SLOTS: deviceBackend->setButtonPressed(Qt::Key_Q, true); // THEN - QCOMPARE(backendInputChord.process(&handler, 1000000100), true); // Yes, that's a bug - QCOMPARE(backendInputChord.process(&handler, 1000000150), false); + QCOMPARE(backendInputChord.process(&handler, 1000000100), false); // WHEN deviceBackend->setButtonPressed(Qt::Key_A, true); @@ -261,8 +260,7 @@ private Q_SLOTS: deviceBackend->setButtonPressed(Qt::Key_Q, true); // THEN - QCOMPARE(backendInputChord.process(&handler, 1000000000), true); // Yes, that's a bug - QCOMPARE(backendInputChord.process(&handler, 1000000050), false); + QCOMPARE(backendInputChord.process(&handler, 1000000000), false); // WHEN deviceBackend->setButtonPressed(Qt::Key_W, true); |