diff options
| author | Elvis Angelaccio <[email protected]> | 2021-03-13 17:18:53 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2021-03-13 17:18:53 +0100 |
| commit | ffb80cb00d8fd886051f970b5155a55b1d066fcd (patch) | |
| tree | e684d3bc61dcd0951d65520f0d79f140d31a0075 /src/tests/viewpropertiestest.cpp | |
| parent | c1cd4fdc913857ca0c09858bc184a91dd3842235 (diff) | |
Enable test mode in all test
Diffstat (limited to 'src/tests/viewpropertiestest.cpp')
| -rw-r--r-- | src/tests/viewpropertiestest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index fb3023db5..14d59be0a 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -15,6 +15,7 @@ class ViewPropertiesTest : public QObject Q_OBJECT private Q_SLOTS: + void initTestCase(); void init(); void cleanup(); @@ -26,6 +27,11 @@ private: TestDir* m_testDir; }; +void ViewPropertiesTest::initTestCase() +{ + QStandardPaths::setTestModeEnabled(true); +} + void ViewPropertiesTest::init() { m_globalViewProps = GeneralSettings::self()->globalViewProps(); |
