aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/animators/tst_transition.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmltest/animators/tst_transition.qml')
-rw-r--r--tests/auto/qmltest/animators/tst_transition.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qmltest/animators/tst_transition.qml b/tests/auto/qmltest/animators/tst_transition.qml
index 72dcd343a7..67230d2adf 100644
--- a/tests/auto/qmltest/animators/tst_transition.qml
+++ b/tests/auto/qmltest/animators/tst_transition.qml
@@ -47,8 +47,8 @@ Item {
compare(box.scaleChangeCounter, 1);
compare(box.scale, 2);
var image = grabImage(root);
- compare(image.pixel(0, 0), Qt.rgba(1, 0, 0));
- compare(image.pixel(199, 199), Qt.rgba(0, 0, 1));
+ verify(image.pixel(0, 0) == Qt.rgba(1, 0, 0));
+ verify(image.pixel(199, 199) == Qt.rgba(0, 0, 1));
}
}
@@ -75,7 +75,7 @@ Item {
}
Timer {
- interval: 1000;
+ interval: 100;
repeat: false
running: true
onTriggered: root.state = "two"