From 5e5c0a10ff9b4cd4f2b1cfdec4f976861b1de160 Mon Sep 17 00:00:00 2001 From: kh1 Date: Mon, 17 Jun 2013 12:40:23 +0200 Subject: Implement dedicated translation settings support. Change-Id: I41dd23f01e9b511c217fee7f736d9187b8a8623a Reviewed-by: Niels Weber Reviewed-by: Tim Jenssen Reviewed-by: Kai Koehne --- tests/auto/installer/settings/data/full_config.xml | 5 +++++ tests/auto/installer/settings/tst_settings.cpp | 2 ++ 2 files changed, 7 insertions(+) (limited to 'tests') 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 + + + de_de + qt_de + 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() -- cgit v1.2.3