@@ -23,12 +23,22 @@ TestCase {
23 id: testCase
23 id: testCase
24 TestUtil {id:util}
24 TestUtil {id:util}
26− ActivityIndicator {
26+ // This is needed for waitForRendering calls to return
27− visible: testCase.running
27+ // if the watched element already got rendered
28− anchors.centerIn: parent
28+ Rectangle {
29− Component.onCompleted: parent = testCase.parent
29+ width: units.gu(1)
30− z: 100
30+ height: width
31+ parent: testCase.parent
32+ border { width: units.dp(1); color: "black" }
35+ RotationAnimation on rotation {
31− running: visible
36+ running: true
39+ loops: Animation.Infinite
34 // Fake implementation to be provided to items under test
44 // Fake implementation to be provided to items under test