Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/globalshortcuts_test.cpp
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | 146 | { | |||
---|---|---|---|---|---|
159 | QVERIFY(c); | 159 | QVERIFY(c); | ||
160 | QVERIFY(c->isActive()); | 160 | QVERIFY(c->isActive()); | ||
161 | 161 | | |||
162 | quint32 timestamp = 0; | 162 | quint32 timestamp = 0; | ||
163 | QVERIFY(!workspace()->userActionsMenu()->isShown()); | 163 | QVERIFY(!workspace()->userActionsMenu()->isShown()); | ||
164 | kwinApp()->platform()->keyboardKeyPressed(KEY_LEFTALT, timestamp++); | 164 | kwinApp()->platform()->keyboardKeyPressed(KEY_LEFTALT, timestamp++); | ||
165 | kwinApp()->platform()->keyboardKeyPressed(KEY_F3, timestamp++); | 165 | kwinApp()->platform()->keyboardKeyPressed(KEY_F3, timestamp++); | ||
166 | kwinApp()->platform()->keyboardKeyReleased(KEY_F3, timestamp++); | 166 | kwinApp()->platform()->keyboardKeyReleased(KEY_F3, timestamp++); | ||
167 | QEXPECT_FAIL("", "BUG 368989", Continue); | | |||
168 | QTRY_VERIFY(workspace()->userActionsMenu()->isShown()); | 167 | QTRY_VERIFY(workspace()->userActionsMenu()->isShown()); | ||
169 | kwinApp()->platform()->keyboardKeyReleased(KEY_LEFTALT, timestamp++); | 168 | kwinApp()->platform()->keyboardKeyReleased(KEY_LEFTALT, timestamp++); | ||
170 | } | 169 | } | ||
171 | 170 | | |||
172 | WAYLANDTEST_MAIN(GlobalShortcutsTest) | 171 | WAYLANDTEST_MAIN(GlobalShortcutsTest) | ||
173 | #include "globalshortcuts_test.moc" | 172 | #include "globalshortcuts_test.moc" |