aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquicklistview/data/resizeview.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-02-14 12:19:30 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-21 03:41:37 +0100
commit4154c79d4a4365b8fadaf7c366c6dff332464839 (patch)
tree45ea7dca249e33066c568f4f2d66120ef893b78e /tests/auto/qtquick2/qquicklistview/data/resizeview.qml
parentbc81d649641965ac333433353de4b7803b778d2f (diff)
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>
Diffstat (limited to 'tests/auto/qtquick2/qquicklistview/data/resizeview.qml')
-rw-r--r--tests/auto/qtquick2/qquicklistview/data/resizeview.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquicklistview/data/resizeview.qml b/tests/auto/qtquick2/qquicklistview/data/resizeview.qml
index 071cdedf2e..8b13adba40 100644
--- a/tests/auto/qtquick2/qquicklistview/data/resizeview.qml
+++ b/tests/auto/qtquick2/qquicklistview/data/resizeview.qml
@@ -3,6 +3,9 @@ import QtQuick 2.0
Rectangle {
id: root
+ width: 240
+ height: 240
+
property real initialHeight
ListView {