summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3popupmenu
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-28 16:11:39 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-09-28 16:11:39 (GMT)
commit398a5ccbc7067c29d7ca7502c21f6c88cd3f98e5 (patch)
tree23ed3e471ab8f3b7c483807725243c0686001a24 /tests/auto/q3popupmenu
parentf46e5fe39e9c6e87313d2ae60324119b870afccb (diff)
downloadQt-398a5ccbc7067c29d7ca7502c21f6c88cd3f98e5.zip
Qt-398a5ccbc7067c29d7ca7502c21f6c88cd3f98e5.tar.gz
Qt-398a5ccbc7067c29d7ca7502c21f6c88cd3f98e5.tar.bz2
Fix to Q3PopupMenu autotest on windows
100ms is not enough because there is a delay for the popup.
Diffstat (limited to 'tests/auto/q3popupmenu')
-rw-r--r--tests/auto/q3popupmenu/tst_q3popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/q3popupmenu/tst_q3popupmenu.cpp b/tests/auto/q3popupmenu/tst_q3popupmenu.cpp
index 5585c3a..df8573d 100644
--- a/tests/auto/q3popupmenu/tst_q3popupmenu.cpp
+++ b/tests/auto/q3popupmenu/tst_q3popupmenu.cpp
@@ -135,11 +135,11 @@ void tst_Q3PopupMenu::task177490_highlighted()
QTest::mouseMove(&menu1, QPoint(x, y1));
QTest::mouseMove(&menu1, QPoint(x, y1 + 1));
- QTest::qWait(100);
+ QTest::qWait(1000);
QTest::mouseMove(&menu1, QPoint(x, y2));
QTest::mouseMove(&menu1, QPoint(x, y2 + 1));
- QTest::qWait(100);
+ QTest::qWait(1000);
QCOMPARE(spy.count(), 2); // one per menu item
}