diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-10 09:05:41 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2010-02-10 09:22:04 (GMT) |
commit | 37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0 (patch) | |
tree | eaee64385c4a3f78af238db8b5a305a5fb1f710c /tests/auto/qlistview | |
parent | 3e7f05c1a07441a4b0e9ade893c519a050e5b8de (diff) | |
download | Qt-37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0.zip Qt-37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0.tar.gz Qt-37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0.tar.bz2 |
Stabilize QListView test on Mac
Diffstat (limited to 'tests/auto/qlistview')
-rw-r--r-- | tests/auto/qlistview/tst_qlistview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qlistview/tst_qlistview.cpp b/tests/auto/qlistview/tst_qlistview.cpp index 2c31d8b..d2181f8 100644 --- a/tests/auto/qlistview/tst_qlistview.cpp +++ b/tests/auto/qlistview/tst_qlistview.cpp @@ -779,6 +779,7 @@ void tst_QListView::batchedMode() view.resize(200,400); view.show(); QTest::qWaitForWindowShown(&view); + QTest::qWait(100); #if defined(Q_OS_WINCE) QTest::qWait(2000); @@ -1846,6 +1847,7 @@ void tst_QListView::taskQTBUG_2233_scrollHiddenItems() view.setRowHidden(i, true); } QApplication::processEvents(); + QTest::qWait(50); QCOMPARE(bar->value(), bar->maximum()); QCOMPARE(bar->maximum(), rowCount/4 - nbVisibleItem); } |