aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/animators/tst_behavior.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmltest/animators/tst_behavior.qml')
-rw-r--r--tests/auto/qmltest/animators/tst_behavior.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/qmltest/animators/tst_behavior.qml b/tests/auto/qmltest/animators/tst_behavior.qml
index 0b74a74d53..87b0efff17 100644
--- a/tests/auto/qmltest/animators/tst_behavior.qml
+++ b/tests/auto/qmltest/animators/tst_behavior.qml
@@ -47,8 +47,9 @@ Item {
compare(box.scaleChangeCounter, 1);
compare(box.scale, 2);
var image = grabImage(root);
- compare(image.pixel(0, 0), Qt.rgba(1, 0, 0, 1));
- compare(image.pixel(199, 199), Qt.rgba(0, 0, 1, 1));
+
+ verify(image.pixel(0, 0) == Qt.rgba(1, 0, 0));
+ verify(image.pixel(199, 199) == Qt.rgba(0, 0, 1));
}
}
@@ -58,7 +59,7 @@ Item {
}
Timer {
- interval: 1000;
+ interval: 100;
repeat: false
running: true
onTriggered: box.scale = 2