[autotests] Gracefully destroy xdg client
parent
168ea98845
commit
a4ec797883
|
@ -435,6 +435,10 @@ void InternalWindowTest::testKeyboardTriggersLeave()
|
||||||
kwinApp()->platform()->keyboardKeyPressed(KEY_A, timestamp++);
|
kwinApp()->platform()->keyboardKeyPressed(KEY_A, timestamp++);
|
||||||
QVERIFY(enteredSpy.wait());
|
QVERIFY(enteredSpy.wait());
|
||||||
kwinApp()->platform()->keyboardKeyReleased(KEY_A, timestamp++);
|
kwinApp()->platform()->keyboardKeyReleased(KEY_A, timestamp++);
|
||||||
|
|
||||||
|
// Destroy the test client.
|
||||||
|
shellSurface.reset();
|
||||||
|
QVERIFY(Test::waitForWindowDestroyed(c));
|
||||||
}
|
}
|
||||||
|
|
||||||
void InternalWindowTest::testTouch()
|
void InternalWindowTest::testTouch()
|
||||||
|
|
Loading…
Reference in New Issue