autotests: Make testStruts quicker
As far as I can tell, there's no reason to add an artificial delay of 50ms, which repeated 100 times accumulates to 5 seconds.
This commit is contained in:
parent
1c3610413d
commit
7a8bb01323
1 changed files with 0 additions and 1 deletions
|
@ -970,7 +970,6 @@ void StrutsTest::testWindowMoveWithPanelBetweenScreens()
|
||||||
// move to next screen - step is 8 pixel, so 800 pixel
|
// move to next screen - step is 8 pixel, so 800 pixel
|
||||||
for (int i = 0; i < 100; i++) {
|
for (int i = 0; i < 100; i++) {
|
||||||
window2->keyPressEvent(Qt::Key_Left);
|
window2->keyPressEvent(Qt::Key_Left);
|
||||||
QTest::qWait(50);
|
|
||||||
}
|
}
|
||||||
window2->keyPressEvent(Qt::Key_Enter);
|
window2->keyPressEvent(Qt::Key_Enter);
|
||||||
QCOMPARE(window2->isInteractiveMove(), false);
|
QCOMPARE(window2->isInteractiveMove(), false);
|
||||||
|
|
Loading…
Reference in a new issue