|
|
|
@ -102,6 +102,16 @@ static inline QString kdeGlobalsPath() { |
|
|
|
return QDir::cleanPath(testConfigDir() + "..") + "/kdeglobals"; |
|
|
|
return QDir::cleanPath(testConfigDir() + "..") + "/kdeglobals"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef Q_OS_WIN |
|
|
|
|
|
|
|
void initLocale() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
setenv("LC_ALL", "en_US.utf-8", 1); |
|
|
|
|
|
|
|
setenv("TZ", "UTC", 1); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Q_CONSTRUCTOR_FUNCTION(initLocale) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
void KConfigTest::initTestCase() |
|
|
|
void KConfigTest::initTestCase() |
|
|
|
{ |
|
|
|
{ |
|
|
|
// ensure we don't use files in the real config directory
|
|
|
|
// ensure we don't use files in the real config directory
|
|
|
|
|