on xenial help sign in
fix the test
commitf1d30195b226c6977b81dc2331b6bfa93c10010b authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 22 Feb 2017, 09:53 (10 years ago) parent5599c18
1 file changed−4
tests/plugins/Utils/WindowInputMonitorTest.cpp−4
tests/plugins/Utils/WindowInputMonitorTest.cpp−4
@@ -210,18 +210,14 @@ void WindowInputMonitorTest::keyComboInvolvingHome()
210210 QKeyEvent keyEvent(QEvent::KeyPress, Qt::Key_Super_L, Qt::NoModifier);
211211 homeKeyWatcher.update(&keyEvent);
212212 }
213− passTime(100);
214−
215213 {
216214 QKeyEvent keyEvent(QEvent::KeyPress, Qt::Key_A, Qt::NoModifier);
217215 homeKeyWatcher.update(&keyEvent);
218216 }
219− passTime(100);
220217 {
221218 QKeyEvent keyEvent(QEvent::KeyRelease, Qt::Key_A, Qt::NoModifier);
222219 homeKeyWatcher.update(&keyEvent);
223220 }
224− passTime(100);
225221 {
226222 QKeyEvent keyEvent(QEvent::KeyRelease, Qt::Key_Super_L, Qt::NoModifier);
227223 homeKeyWatcher.update(&keyEvent);