aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-04-11 12:23:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-16 08:58:38 +0200
commitaedcd57c84ac9d6b74816c13bdf3fde31e1132b5 (patch)
tree96babcb73e9ab6cc1087d11f61fc8536becec318 /tests/auto/qmltest
parent547db13219cd6375af43c801491a5d33f522b86f (diff)
Stabilize qmltest/animators/tst_on.qml.
Task-number: QTBUG-38290 Change-Id: I521c50db3ddc8053179f0acd421639e13754ec7d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r--tests/auto/qmltest/animators/tst_on.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmltest/animators/tst_on.qml b/tests/auto/qmltest/animators/tst_on.qml
index 7930dc5be3..c96034bdab 100644
--- a/tests/auto/qmltest/animators/tst_on.qml
+++ b/tests/auto/qmltest/animators/tst_on.qml
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the test suite of the Qt Toolkit.
@@ -54,7 +54,7 @@ Item {
&& !anims.running && !animr.running
&& !animo.running;
function test_endresult() {
- compare(box.xChangeCounter, 1);
+ tryCompare(box.xChangeCounter, 1);
compare(box.yChangeCounter, 1);
compare(box.scaleChangeCounter, 1);
compare(box.rotationChangeCounter, 1);