Commit 1b76ff8a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove temporary directory

parent 6e8a3d33
......@@ -25,6 +25,7 @@
#include <QSignalSpy>
#include <QTest>
#define REMOVE_TEMPORARY_DIR 1
TestImportFile::TestImportFile(const QString &archivePath, QObject *parent)
: QObject(parent)
......@@ -68,6 +69,10 @@ void TestImportFile::start()
compareExportFile.setListFilePath(mPathConfig);
compareExportFile.setInstallPath(mExtractPath);
compareExportFile.compareFile();
#ifdef REMOVE_TEMPORARY_DIR
QVERIFY(QDir(mExtractPath).removeRecursively());
#endif
}
AbstractImportExportJob *TestImportFile::abstractImportExportJob() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment