summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/settings/tst_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/installer/settings/tst_settings.cpp')
-rw-r--r--tests/auto/installer/settings/tst_settings.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp
index f8aa00528..15dcc98a1 100644
--- a/tests/auto/installer/settings/tst_settings.cpp
+++ b/tests/auto/installer/settings/tst_settings.cpp
@@ -36,6 +36,8 @@
using namespace QInstaller;
+typedef QMap<QString, QVariant> ProductImageMap;
+
class tst_Settings : public QObject
{
Q_OBJECT
@@ -93,7 +95,7 @@ void tst_Settings::loadTutorialConfig()
QCOMPARE(settings.wizardMinimumWidth(), 0);
QCOMPARE(settings.wizardMinimumHeight(), 0);
QCOMPARE(settings.wizardShowPageList(), true);
- QCOMPARE(settings.productImages(), QStringList());
+ QCOMPARE(settings.productImages(), ProductImageMap());
QCOMPARE(settings.titleColor(), QString());
QCOMPARE(settings.runProgram(), QString());
QCOMPARE(settings.runProgramArguments(), QStringList());
@@ -107,6 +109,7 @@ void tst_Settings::loadTutorialConfig()
QCOMPARE(settings.repositorySettingsPageVisible(), true);
QCOMPARE(settings.allowSpaceInPath(), true);
QCOMPARE(settings.allowNonAsciiCharacters(), false);
+ QCOMPARE(settings.allowRepositoriesForOfflineInstaller(), true);
QCOMPARE(settings.disableAuthorizationFallback(), false);
QCOMPARE(settings.disableCommandLineInterface(), false);
QCOMPARE(settings.createLocalRepository(), false);