Commit a4ec7978 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[autotests] Gracefully destroy xdg client

parent 168ea988
...@@ -435,6 +435,10 @@ void InternalWindowTest::testKeyboardTriggersLeave() ...@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment