Fix qmltest/animators/tst_on.qml
authorBernd Weimer <bweimer@blackberry.com>
Fri, 25 Apr 2014 16:16:25 +0000 (18:16 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 30 Apr 2014 15:28:07 +0000 (17:28 +0200)
Change-Id: Ief27b20de100cc7517edab03d752e8eb4299a538
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
tests/auto/qmltest/animators/tst_on.qml

index c96034b..b3fc719 100644 (file)
@@ -54,7 +54,7 @@ Item {
               && !anims.running && !animr.running
               && !animo.running;
         function test_endresult() {
-            tryCompare(box.xChangeCounter, 1);
+            tryCompare(box, 'xChangeCounter', 1);
             compare(box.yChangeCounter, 1);
             compare(box.scaleChangeCounter, 1);
             compare(box.rotationChangeCounter, 1);