aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/particles/shared/table.pngbin704 -> 571 bytes
-rw-r--r--tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro0
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.pngbin158 -> 67 bytes
-rw-r--r--tests/auto/qmltest/animators/tst_zeroduration.qml35
-rw-r--r--tests/auto/qmltest/borderimage/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickanimatedimage/data/green.pngbin314 -> 201 bytes
-rw-r--r--tests/auto/quick/qquickborderimage/data/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/colors.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/colors1.pngbin1655 -> 974 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/green.pngbin314 -> 201 bytes
-rw-r--r--tests/auto/quick/qquickimage/data/rect.pngbin171 -> 98 bytes
-rw-r--r--tests/auto/quick/qquickpixmapcache/data/massive.pngbin31834 -> 11468 bytes
-rw-r--r--tests/auto/quick/qquickstates/data/image.pngbin173 -> 82 bytes
-rw-r--r--tests/auto/quick/qquickwindow/data/colors.pngbin1655 -> 974 bytes
14 files changed, 35 insertions, 0 deletions
diff --git a/tests/auto/particles/shared/table.png b/tests/auto/particles/shared/table.png
index a62ceeb4a0..15509ab5b7 100644
--- a/tests/auto/particles/shared/table.png
+++ b/tests/auto/particles/shared/table.png
Binary files differ
diff --git a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.pro
+++ /dev/null
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png b/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
index 30228cbbdc..b54163f926 100644
--- a/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/data/TestImage_2x2.png
Binary files differ
diff --git a/tests/auto/qmltest/animators/tst_zeroduration.qml b/tests/auto/qmltest/animators/tst_zeroduration.qml
new file mode 100644
index 0000000000..83ce235f42
--- /dev/null
+++ b/tests/auto/qmltest/animators/tst_zeroduration.qml
@@ -0,0 +1,35 @@
+import QtQuick 2.2
+import QtTest 1.1
+
+Item {
+ id: root;
+ width: 200
+ height: 200
+
+ TestCase {
+ id: testCase
+ name: "animators-y"
+ when: box.y == 100
+ function test_endresult() {
+ compare(box.yChangeCounter, 1);
+ var image = grabImage(root);
+ verify(image.pixel(0, 100) == Qt.rgba(1, 0, 0));
+ verify(image.pixel(0, 99) == Qt.rgba(1, 1, 1)); // outside on the top
+ }
+ }
+
+ Box {
+ id: box
+
+ anchors.centerIn: undefined
+
+ YAnimator {
+ id: animation
+ target: box
+ from: 0;
+ to: 100
+ duration: 0
+ running: true
+ }
+ }
+}
diff --git a/tests/auto/qmltest/borderimage/colors.png b/tests/auto/qmltest/borderimage/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/qmltest/borderimage/colors.png
+++ b/tests/auto/qmltest/borderimage/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickanimatedimage/data/green.png b/tests/auto/quick/qquickanimatedimage/data/green.png
index 0a2e153ba1..4718c00e62 100644
--- a/tests/auto/quick/qquickanimatedimage/data/green.png
+++ b/tests/auto/quick/qquickanimatedimage/data/green.png
Binary files differ
diff --git a/tests/auto/quick/qquickborderimage/data/colors.png b/tests/auto/quick/qquickborderimage/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickborderimage/data/colors.png
+++ b/tests/auto/quick/qquickborderimage/data/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/colors.png b/tests/auto/quick/qquickimage/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickimage/data/colors.png
+++ b/tests/auto/quick/qquickimage/data/colors.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/colors1.png b/tests/auto/quick/qquickimage/data/colors1.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickimage/data/colors1.png
+++ b/tests/auto/quick/qquickimage/data/colors1.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/green.png b/tests/auto/quick/qquickimage/data/green.png
index 0a2e153ba1..4718c00e62 100644
--- a/tests/auto/quick/qquickimage/data/green.png
+++ b/tests/auto/quick/qquickimage/data/green.png
Binary files differ
diff --git a/tests/auto/quick/qquickimage/data/rect.png b/tests/auto/quick/qquickimage/data/rect.png
index d564a2d5a5..fe839a40e4 100644
--- a/tests/auto/quick/qquickimage/data/rect.png
+++ b/tests/auto/quick/qquickimage/data/rect.png
Binary files differ
diff --git a/tests/auto/quick/qquickpixmapcache/data/massive.png b/tests/auto/quick/qquickpixmapcache/data/massive.png
index bc6cc9e6ca..9a3e0e112f 100644
--- a/tests/auto/quick/qquickpixmapcache/data/massive.png
+++ b/tests/auto/quick/qquickpixmapcache/data/massive.png
Binary files differ
diff --git a/tests/auto/quick/qquickstates/data/image.png b/tests/auto/quick/qquickstates/data/image.png
index ed1833c95b..0e681ba1e1 100644
--- a/tests/auto/quick/qquickstates/data/image.png
+++ b/tests/auto/quick/qquickstates/data/image.png
Binary files differ
diff --git a/tests/auto/quick/qquickwindow/data/colors.png b/tests/auto/quick/qquickwindow/data/colors.png
index dfb62f3d64..57f5aca821 100644
--- a/tests/auto/quick/qquickwindow/data/colors.png
+++ b/tests/auto/quick/qquickwindow/data/colors.png
Binary files differ