summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/installer/settings/tst_settings.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp
index 492974a5a..ac092554c 100644
--- a/tests/auto/installer/settings/tst_settings.cpp
+++ b/tests/auto/installer/settings/tst_settings.cpp
@@ -39,7 +39,13 @@ void tst_Settings::loadTutorialConfig()
QCOMPARE(settings.url(), QString());
QCOMPARE(settings.watermark(), QLatin1String(":///data/"));
QCOMPARE(settings.background(), QLatin1String(":///data/"));
+#if defined(Q_OS_WIN)
+ QCOMPARE(settings.icon(), QLatin1String(":/installer.ico"));
+#elif defined(Q_OS_MAC)
+ QCOMPARE(settings.icon(), QLatin1String(":/installer.icns"));
+#else
QCOMPARE(settings.icon(), QLatin1String(":/installer.png"));
+#endif
QCOMPARE(settings.runProgram(), QString());
QCOMPARE(settings.runProgramDescription(), QString());
QCOMPARE(settings.adminTargetDir(), QString());