Commit b1efdbaa authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotest] Test opposite direction in switchWindow

parent 84b0578a
...@@ -128,6 +128,15 @@ void KWinBindingsTest::testSwitchWindow() ...@@ -128,6 +128,15 @@ void KWinBindingsTest::testSwitchWindow()
QTRY_COMPARE(workspace()->activeClient(), c3); QTRY_COMPARE(workspace()->activeClient(), c3);
invokeShortcut(QStringLiteral("Switch Window Left")); invokeShortcut(QStringLiteral("Switch Window Left"));
QTRY_COMPARE(workspace()->activeClient(), c4); QTRY_COMPARE(workspace()->activeClient(), c4);
// test opposite direction
invokeShortcut(QStringLiteral("Switch Window Left"));
QTRY_COMPARE(workspace()->activeClient(), c3);
invokeShortcut(QStringLiteral("Switch Window Down"));
QTRY_COMPARE(workspace()->activeClient(), c2);
invokeShortcut(QStringLiteral("Switch Window Right"));
QTRY_COMPARE(workspace()->activeClient(), c1);
invokeShortcut(QStringLiteral("Switch Window Up"));
QTRY_COMPARE(workspace()->activeClient(), c4);
} }
void KWinBindingsTest::testSwitchWindowScript() void KWinBindingsTest::testSwitchWindowScript()
......
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