diff options
Diffstat (limited to 'tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp')
-rw-r--r-- | tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp b/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp index 29f6fe9da4..319a4607ed 100644 --- a/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp +++ b/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp @@ -159,7 +159,9 @@ void tst_qstandardpaths::testCustomLocations() void tst_qstandardpaths::enableTestMode() { + QVERIFY(!QStandardPaths::isTestModeEnabled()); QStandardPaths::enableTestMode(true); + QVERIFY(QStandardPaths::isTestModeEnabled()); #ifdef Q_XDG_PLATFORM setCustomLocations(); // for the global config dir |