diff options
Diffstat (limited to 'tests/auto/qmltest/image/tst_image.qml')
-rw-r--r-- | tests/auto/qmltest/image/tst_image.qml | 9 |
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 1c36e2a7c3..6385db7fbb 100644 --- a/tests/auto/qmltest/image/tst_image.qml +++ b/tests/auto/qmltest/image/tst_image.qml @@ -122,6 +122,11 @@ Item { fillMode: Image.TileHorizontally } + Image { + id: pkmImage + source: "logo.pkm" + } + TestCase { name: "Image" @@ -222,5 +227,9 @@ Item { compare(tileModes3.fillMode, Image.TileHorizontally) } + function test_pkmImage() { + compare(pkmImage.width, 256) + compare(pkmImage.height, 256) + } } } |