summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanimatedimage/data
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-08 05:07:54 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-08 05:07:54 (GMT)
commit9fd2d52881356fb214213f139a2f25081fc848e4 (patch)
tree41902768ff80a3ba81df3fe75cf25a12bd241822 /tests/auto/declarative/qdeclarativeanimatedimage/data
parent31ec693cd6ae4cf5a2533092f45ba9bb154ba152 (diff)
downloadQt-9fd2d52881356fb214213f139a2f25081fc848e4.zip
Qt-9fd2d52881356fb214213f139a2f25081fc848e4.tar.gz
Qt-9fd2d52881356fb214213f139a2f25081fc848e4.tar.bz2
Fix AnimatedImage for remote image test. Fix and test sourceSize property.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeanimatedimage/data')
-rw-r--r--tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanerror1.qml6
-rw-r--r--tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanscaled.qml7
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanerror1.qml b/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanerror1.qml
new file mode 100644
index 0000000..5b0bdcb
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanerror1.qml
@@ -0,0 +1,6 @@
+import Qt 4.6
+
+AnimatedImage {
+ sourceSize: "240x180"
+ source: "stickman.gif"
+}
diff --git a/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanscaled.qml b/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanscaled.qml
new file mode 100644
index 0000000..f4d277a
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeanimatedimage/data/stickmanscaled.qml
@@ -0,0 +1,7 @@
+import Qt 4.6
+
+AnimatedImage {
+ width: 240
+ height: 180
+ source: "stickman.gif"
+}