diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/installer/settings/data/full_config.xml | 5 | ||||
-rw-r--r-- | tests/auto/installer/settings/tst_settings.cpp | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/installer/settings/data/full_config.xml b/tests/auto/installer/settings/data/full_config.xml index 4e1b82c8a..0386f98c1 100644 --- a/tests/auto/installer/settings/data/full_config.xml +++ b/tests/auto/installer/settings/data/full_config.xml @@ -46,4 +46,9 @@ File should contain all elements we allow in a config.xml <Password>password</Password> </Repository> </RemoteRepositories> + + <Translations> + <Translation>de_de</Translation> + <Translation>qt_de</Translation> + </Translations> </Installer> diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index e5973ad6a..e6ebc6e6e 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -76,6 +76,8 @@ void tst_Settings::loadTutorialConfig() QCOMPARE(settings.proxyType(), Settings::NoProxy); QCOMPARE(settings.ftpProxy(), QNetworkProxy()); QCOMPARE(settings.httpProxy(), QNetworkProxy()); + + QCOMPARE(settings.translations(), QStringList()); } void tst_Settings::loadFullConfig() |