Add tests for item polish bug on Mac
authorBea Lam <bea.lam@nokia.com>
Fri, 6 Jan 2012 04:02:10 +0000 (14:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jan 2012 06:54:20 +0000 (07:54 +0100)
commitc194b012182c3ae495bb7a740f02a5a9f5b3c3b3
tree47738d95edbb6873473738eb561e3a5b4ce6b931
parentd9ecb7345c23cff097ea1a83a829673e220b400f
Add tests for item polish bug on Mac

On Mac OS X, if a QQuickItem triggers a polish request from
Component.onCompleted, its updatePolish() function is not called.

The tst_qquickitem::polishOnCompleted() test demonstrates this.
If a running animation is added to the polishOnCompleted.qml in the
test, the test will pass.

Task-number: QTBUG-23481, QTBUG-23480, QTBUG-21590
Change-Id: I172b12e784aa458c43c23e0ee43f034f0bd332ee
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/qtquick2/qquickgridview/tst_qquickgridview.cpp
tests/auto/qtquick2/qquickitem/data/polishOnCompleted.qml [new file with mode: 0644]
tests/auto/qtquick2/qquickitem/tst_qquickitem.cpp
tests/auto/qtquick2/qquicklistview/tst_qquicklistview.cpp
tests/auto/qtquick2/qquickpathview/tst_qquickpathview.cpp