diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-05 17:41:06 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-05 17:46:05 (GMT) |
commit | 8dbbff1dec967d043255e8cea2c4d32be3c1f9cd (patch) | |
tree | 706b0fd77d2569f71307465bb1f58944e88f58db /tests/auto/qmdisubwindow | |
parent | a3fc0c3b6a45864c845e3a25640b967dd34fa6fc (diff) | |
download | Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.zip Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.tar.gz Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.tar.bz2 |
Stabilize test on X11
Diffstat (limited to 'tests/auto/qmdisubwindow')
-rw-r--r-- | tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp b/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp index 2d70bef..8258e15 100644 --- a/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp +++ b/tests/auto/qmdisubwindow/tst_qmdisubwindow.cpp @@ -1650,7 +1650,7 @@ void tst_QMdiSubWindow::resizeTimer() QMdiSubWindow *subWindow = mdiArea.addSubWindow(new QWidget); mdiArea.show(); QTest::qWaitForWindowShown(&mdiArea); - QTest::qWait(250); + QTest::qWait(300); EventSpy timerEventSpy(subWindow, QEvent::Timer); @@ -1663,7 +1663,7 @@ void tst_QMdiSubWindow::resizeTimer() QTest::qWait(500); // Wait for timer events to occur. - QVERIFY(timerEventSpy.count() > 0); + QTRY_VERIFY(timerEventSpy.count() > 0); } void tst_QMdiSubWindow::fixedMinMaxSize() |