summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtreeview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-04 08:43:55 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-04 08:44:56 (GMT)
commit950cd9b3c1ae6a1b462d596a62aea92f9c231afb (patch)
tree9733b3edcd4f2c01609eda672f23c297470d1059 /tests/auto/qtreeview
parent9bd330756bc8e0fac9919da0b1068096ee91cb24 (diff)
downloadQt-950cd9b3c1ae6a1b462d596a62aea92f9c231afb.zip
Qt-950cd9b3c1ae6a1b462d596a62aea92f9c231afb.tar.gz
Qt-950cd9b3c1ae6a1b462d596a62aea92f9c231afb.tar.bz2
Stabilize tests
Diffstat (limited to 'tests/auto/qtreeview')
-rw-r--r--tests/auto/qtreeview/tst_qtreeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtreeview/tst_qtreeview.cpp b/tests/auto/qtreeview/tst_qtreeview.cpp
index 90e6c5c..58f059b 100644
--- a/tests/auto/qtreeview/tst_qtreeview.cpp
+++ b/tests/auto/qtreeview/tst_qtreeview.cpp
@@ -3669,11 +3669,11 @@ void tst_QTreeView::doubleClickedWithSpans()
//end the previous edition
QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, p);
- QTest::qWait(100);
+ QTest::qWait(150);
QTest::mousePress(view.viewport(), Qt::LeftButton, 0, p);
QTest::mouseDClick(view.viewport(), Qt::LeftButton, 0, p);
QTest::mouseRelease(view.viewport(), Qt::LeftButton, 0, p);
- QCOMPARE(spy.count(), 2);
+ QTRY_COMPARE(spy.count(), 2);
}
QTEST_MAIN(tst_QTreeView)