diff options
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r-- | tests/auto/qmltest/image/car.ktx | bin | 0 -> 11908 bytes | |||
-rw-r--r-- | tests/auto/qmltest/image/tst_image.qml | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qmltest/image/car.ktx b/tests/auto/qmltest/image/car.ktx Binary files differnew file mode 100644 index 0000000000..2aefdd306b --- /dev/null +++ b/tests/auto/qmltest/image/car.ktx diff --git a/tests/auto/qmltest/image/tst_image.qml b/tests/auto/qmltest/image/tst_image.qml index 6385db7fbb..346bee6969 100644 --- a/tests/auto/qmltest/image/tst_image.qml +++ b/tests/auto/qmltest/image/tst_image.qml @@ -127,6 +127,11 @@ Item { source: "logo.pkm" } + Image { + id: ktxImage + source: "car.ktx" + } + TestCase { name: "Image" @@ -231,5 +236,10 @@ Item { compare(pkmImage.width, 256) compare(pkmImage.height, 256) } + + function test_ktxImage() { + compare(ktxImage.width, 146) + compare(ktxImage.height, 80) + } } } |