aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativeanimatedimage/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativeanimatedimage/data')
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.gifbin0 -> 505 bytes
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.gifbin0 -> 6524 bytes
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.qml6
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/qmldir1
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/qtbug-16520.qml17
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.gifbin0 -> 164923 bytes
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.qml5
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanerror1.qml6
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanpause.qml7
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanscaled.qml7
-rw-r--r--tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanstopped.qml6
12 files changed, 60 insertions, 0 deletions
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.gif b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.gif
new file mode 100644
index 0000000000..1270bfaa79
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.gif
Binary files differ
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.qml
new file mode 100644
index 0000000000..51deb56b18
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/colors.qml
@@ -0,0 +1,5 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ source: "colors.gif"
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.gif b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.gif
new file mode 100644
index 0000000000..cfb55f27f5
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.gif
Binary files differ
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.qml
new file mode 100644
index 0000000000..8729dd2ef2
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/hearts.qml
@@ -0,0 +1,6 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ source: "hearts.gif"
+ playing: false
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qmldir b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qmldir
new file mode 100644
index 0000000000..ef7c1f44f3
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qmldir
@@ -0,0 +1 @@
+# No local types
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qtbug-16520.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qtbug-16520.qml
new file mode 100644
index 0000000000..cf5b60110b
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/qtbug-16520.qml
@@ -0,0 +1,17 @@
+import QtQuick 1.0
+
+Rectangle {
+ width: 500
+ height: 500
+
+ AnimatedImage {
+ objectName: "anim"
+ anchors.centerIn: parent
+ asynchronous: true
+ opacity: status == AnimatedImage.Ready ? 1 : 0
+
+ Behavior on opacity {
+ NumberAnimation { duration: 1000 }
+ }
+ }
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.gif b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.gif
new file mode 100644
index 0000000000..7c4cd18687
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.gif
Binary files differ
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.qml
new file mode 100644
index 0000000000..d44937f913
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickman.qml
@@ -0,0 +1,5 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ source: "stickman.gif"
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanerror1.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanerror1.qml
new file mode 100644
index 0000000000..f08f74da56
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanerror1.qml
@@ -0,0 +1,6 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ sourceSize: "240x180"
+ source: "stickman.gif"
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanpause.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanpause.qml
new file mode 100644
index 0000000000..1d7e25909f
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanpause.qml
@@ -0,0 +1,7 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ source: "stickman.gif"
+ paused: true
+ currentFrame: 2
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanscaled.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanscaled.qml
new file mode 100644
index 0000000000..8b24d73715
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanscaled.qml
@@ -0,0 +1,7 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ width: 240
+ height: 180
+ source: "stickman.gif"
+}
diff --git a/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanstopped.qml b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanstopped.qml
new file mode 100644
index 0000000000..c5b14137e3
--- /dev/null
+++ b/tests/auto/qtquick1/qdeclarativeanimatedimage/data/stickmanstopped.qml
@@ -0,0 +1,6 @@
+import QtQuick 1.0
+
+AnimatedImage {
+ source: "stickman.gif"
+ playing: false
+}