summaryrefslogtreecommitdiffstats
path: root/tests/auto/tiff/tst_qtiff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tiff/tst_qtiff.cpp')
-rw-r--r--tests/auto/tiff/tst_qtiff.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tiff/tst_qtiff.cpp b/tests/auto/tiff/tst_qtiff.cpp
index 6a9f9c1..89630c2 100644
--- a/tests/auto/tiff/tst_qtiff.cpp
+++ b/tests/auto/tiff/tst_qtiff.cpp
@@ -394,6 +394,8 @@ void tst_qtiff::readWriteNonDestructive()
QVERIFY(buf.open(QIODevice::ReadOnly));
QImageReader reader(&buf);
+ QCOMPARE(reader.imageFormat(), expectedFormat);
+ QCOMPARE(reader.size(), image.size());
QImage image2 = reader.read();
QVERIFY2(!image.isNull(), qPrintable(reader.errorString()));