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/qwidget/tst_qwidget.cpp | |
parent | a3fc0c3b6a45864c845e3a25640b967dd34fa6fc (diff) | |
download | Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.zip Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.tar.gz Qt-8dbbff1dec967d043255e8cea2c4d32be3c1f9cd.tar.bz2 |
Stabilize test on X11
Diffstat (limited to 'tests/auto/qwidget/tst_qwidget.cpp')
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index b0a26c2..a4e5d88 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -9024,12 +9024,11 @@ void tst_QWidget::taskQTBUG_4055_sendSyntheticEnterLeave() #ifdef Q_WS_X11 qt_x11_wait_for_window_manager(&parent); #endif - QTest::qWait(100); + QTest::qWait(150); QCursor::setPos(child.mapToGlobal(QPoint(100, 100))); - QTest::qWait(100); // Make sure the cursor has entered the child. - QVERIFY(child.numEnterEvents > 0); + QTRY_VERIFY(child.numEnterEvents > 0); child.hide(); child.reset(); |