diff options
Diffstat (limited to 'tests/auto/controller-tool/tst_controller-tool.cpp')
-rw-r--r-- | tests/auto/controller-tool/tst_controller-tool.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/controller-tool/tst_controller-tool.cpp b/tests/auto/controller-tool/tst_controller-tool.cpp index 45cece4f..346a521a 100644 --- a/tests/auto/controller-tool/tst_controller-tool.cpp +++ b/tests/auto/controller-tool/tst_controller-tool.cpp @@ -55,7 +55,6 @@ private: Main *m_main = nullptr; Configuration *m_config = nullptr; bool m_mainSetupDone = false; - QDir m_tmpDir; }; @@ -153,7 +152,6 @@ QString ControllerTool::s_command; tst_ControllerTool::tst_ControllerTool() : m_spyTimeout(5000 * timeoutFactor()) - , m_tmpDir(u"/tmp/am-test-controller-tool"_s) { } void tst_ControllerTool::initTestCase() @@ -207,10 +205,6 @@ void tst_ControllerTool::initTestCase() QVERIFY2(false, e.what()); } PackageManager::instance()->setAllowInstallationOfUnsignedPackages(true); - - if (m_tmpDir.exists()) - m_tmpDir.removeRecursively(); - QVERIFY(m_tmpDir.mkpath(u"."_s)); } void tst_ControllerTool::cleanupTestCase() @@ -230,9 +224,6 @@ void tst_ControllerTool::cleanupTestCase() delete [] m_argv[i]; delete [] m_argv; } - - if (m_tmpDir.exists()) - m_tmpDir.removeRecursively(); } void tst_ControllerTool::usage() |