aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/image/tst_image.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmltest/image/tst_image.qml')
-rw-r--r--tests/auto/qmltest/image/tst_image.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qmltest/image/tst_image.qml b/tests/auto/qmltest/image/tst_image.qml
index 6f2164363c..69ef4d1868 100644
--- a/tests/auto/qmltest/image/tst_image.qml
+++ b/tests/auto/qmltest/image/tst_image.qml
@@ -112,6 +112,11 @@ Item {
fillMode: Image.TileHorizontally
}
+ Image {
+ id: pkmImage
+ source: "logo.pkm"
+ }
+
TestCase {
name: "Image"
@@ -212,5 +217,9 @@ Item {
compare(tileModes3.fillMode, Image.TileHorizontally)
}
+ function test_pkmImage() {
+ compare(pkmImage.width, 256)
+ compare(pkmImage.height, 256)
+ }
}
}