Stabilise ListView and GridView tests
authorBea Lam <bea.lam@nokia.com>
Tue, 14 Feb 2012 02:19:30 +0000 (12:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 02:41:37 +0000 (03:41 +0100)
commit4154c79d4a4365b8fadaf7c366c6dff332464839
tree45ea7dca249e33066c568f4f2d66120ef893b78e
parentbc81d649641965ac333433353de4b7803b778d2f
Stabilise ListView and GridView tests

Some tests need to wait for view to be updated before proceeding. This ensures
a polish is received before proceeding

    - before checking through child items after initial load
    - after changing content y

    unless some other QTRY_* is already doing the job.

Also fixed some tests that randomly failed for other reasons.

Task-number: QTBUG-22872 QTBUG-23605

Change-Id: I2d41bf09fae09b90fd3aadbd5349e991c3339761
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/qtquick2/qquickgridview/tst_qquickgridview.cpp
tests/auto/qtquick2/qquicklistview/data/resizeview.qml
tests/auto/qtquick2/qquicklistview/qquicklistview.pro
tests/auto/qtquick2/qquicklistview/tst_qquicklistview.cpp