summaryrefslogtreecommitdiff
path: root/tests/auto/qicon_svg/tst_qicon_svg.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-02-15 21:05:15 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2016-02-15 21:05:15 +0100
commit4ef60892ce9e8dea75a31b0be7895ebf473346a9 (patch)
tree7778fdfb3460d24db63a5f15b28b138507eb1af0 /tests/auto/qicon_svg/tst_qicon_svg.cpp
parentb50d20b7057fcd808525921e56d25f75140c79cd (diff)
parenta9ac71a443260de66f720f0184646847b03fcb46 (diff)
downloadqtsvg-4ef60892ce9e8dea75a31b0be7895ebf473346a9.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1
Conflicts: .qmake.conf Change-Id: Ia508d1e3f74dd35ac28b104c0cbdacdb6fe16d6b
Diffstat (limited to 'tests/auto/qicon_svg/tst_qicon_svg.cpp')
-rw-r--r--tests/auto/qicon_svg/tst_qicon_svg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qicon_svg/tst_qicon_svg.cpp b/tests/auto/qicon_svg/tst_qicon_svg.cpp
index 45c4c4c..2271f21 100644
--- a/tests/auto/qicon_svg/tst_qicon_svg.cpp
+++ b/tests/auto/qicon_svg/tst_qicon_svg.cpp
@@ -55,6 +55,7 @@ void tst_QIcon_Svg::initTestCase()
QFAIL("Can't find images directory!");
if (!QImageReader::supportedImageFormats().contains("svg"))
QFAIL("SVG support is not available");
+ QCOMPARE(QImageReader::imageFormat(prefix + "triangle.svg"), QByteArray("svg"));
}
void tst_QIcon_Svg::svgActualSize()