Update test files to API changes
authorAlan Alpert <alan.alpert@nokia.com>
Tue, 7 Feb 2012 00:03:06 +0000 (10:03 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 02:55:48 +0000 (03:55 +0100)
API changes are being managed, but the test files shouldn't be
triggering the warning.

Change-Id: Ifd6c0c08be9979d72f98eb6a1df07daf9302772e
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/particles/qquickimageparticle/data/sprite.qml
tests/auto/qtquick2/qquickspriteimage/data/advance.qml
tests/auto/qtquick2/qquickspriteimage/data/basic.qml

index bf26986..21cdbf4 100644 (file)
@@ -57,7 +57,7 @@ Rectangle {
                 name: "happy"
                 source: "../../shared/squarefacesprite.png"
                 frames: 6
-                duration: 120
+                frameDuration: 120
             }
         }
 
index 7f763bd..46a49ca 100644 (file)
@@ -52,13 +52,13 @@ Rectangle {
             name: "firstState"
             source: "squarefacesprite.png"
             frames: 3
-            duration: -1
+            frameSync: true
             to: {"secondState":1}
         }, Sprite {
             name: "secondState"
             source: "squarefacesprite.png"
             frames: 6
-            duration: -1
+            frameSync: true
         } ]
         width: 160
         height: 160
index c6e2684..2f2b1c9 100644 (file)
@@ -52,7 +52,7 @@ Rectangle {
             name: "happy"
             source: "squarefacesprite.png"
             frames: 6
-            duration: 120
+            frameDuration: 120
         }
         width: 160
         height: 160