* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#include "dolphin_generalsettings.h"
#include "views/viewproperties.h"
+#include "dolphin_generalsettings.h"
#include "testdir.h"
#include <QTest>
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
+ void initTestCase();
void init();
void cleanup();
private:
bool m_globalViewProps;
- TestDir* m_testDir;
+ TestDir *m_testDir;
};
+void ViewPropertiesTest::initTestCase()
+{
+ QStandardPaths::setTestModeEnabled(true);
+}
+
void ViewPropertiesTest::init()
{
m_globalViewProps = GeneralSettings::self()->globalViewProps();