autotests: Fix a typo in testKeyboardShortcutsInhibitorInterface
We need to monitor whether the inhibitorActive signal gets emitted. It reduces the test's execution time from about 5 seconds to a couple milliseconds.
This commit is contained in:
parent
b4e8d44967
commit
fe1054a52a
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void TestKeyboardShortcutsInhibitorInterface::testKeyboardShortcuts()
|
|||
|
||||
// Test activate
|
||||
inhibitorServer->setActive(true);
|
||||
QVERIFY(inhibitorInactiveSpy.wait() || inhibitorInactiveSpy.count() == 1);
|
||||
QVERIFY(inhibitorActiveSpy.wait() || inhibitorActiveSpy.count() == 1);
|
||||
|
||||
// Test creating for another surface
|
||||
m_inhibitManagerClient->inhibit_shortcuts(m_clientSurfaces[1], m_clientSeat->operator wl_seat *());
|
||||
|
|
Loading…
Reference in a new issue