aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testpreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r--tests/testpreferences.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp
index c3de709ea..c01e9ec14 100644
--- a/tests/testpreferences.cpp
+++ b/tests/testpreferences.cpp
@@ -11,6 +11,12 @@ pref->sync(); \
pref->load(); \
QCOMPARE(METHOD, VALUE);
+void TestPreferences::initTestCase()
+{
+ QCoreApplication::setOrganizationName("Subsurface");
+ QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
+ QCoreApplication::setApplicationName("SubsurfaceTestPreferences");
+}
void TestPreferences::testPreferences()
{