From b14a7d2cbc2424c7bdc419ff7b97eae4b12d4d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Vogtl=C3=A4nder?= Date: Wed, 12 Nov 2014 12:06:19 +0100 Subject: Add CreateOfflineRepository configuration option Setting CreateOfflineRepository to "true" in config.xml will create a local offline repository, same functionality as "--create-offline-repository" command line option Change-Id: I51b947157ebc27800b1e9ad0b55d139ac6e164b2 Reviewed-by: Leena Miettinen Reviewed-by: Kai Koehne --- tests/auto/installer/settings/data/full_config.xml | 1 + tests/auto/installer/settings/tst_settings.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'tests/auto/installer/settings') diff --git a/tests/auto/installer/settings/data/full_config.xml b/tests/auto/installer/settings/data/full_config.xml index e2cae369e..964b52968 100644 --- a/tests/auto/installer/settings/data/full_config.xml +++ b/tests/auto/installer/settings/data/full_config.xml @@ -38,6 +38,7 @@ File should contain all elements we allow in a config.xml true true false + false components.xml diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index 626acfab1..96a44ecca 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -72,6 +72,7 @@ void tst_Settings::loadTutorialConfig() QCOMPARE(settings.repositorySettingsPageVisible(), true); QCOMPARE(settings.allowSpaceInPath(), false); QCOMPARE(settings.allowNonAsciiCharacters(), false); + QCOMPARE(settings.createOfflineRepository(), false); QCOMPARE(settings.hasReplacementRepos(), false); QCOMPARE(settings.repositories(), QSet()); -- cgit v1.2.3