Commit 8f1601cd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

improve autotest

parent e0002a79
Pipeline #21763 passed with stage
in 6 minutes and 26 seconds
configs/akonadi_archivemail_agentrc
configs/kabldaprc
configs/kmail2rc
information/VERSION_2
information/exportdatatype.xml
......
......@@ -63,10 +63,6 @@ void TestImportFile::start()
QSignalSpy error(mAbstractImportExportJob, &AbstractImportExportJob::error);
mAbstractImportExportJob->start();
QVERIFY(finish.wait());
if (error.count()) {
qDebug() << error.at(0);
}
QCOMPARE(error.count(), 0);
delete mArchiveStorage;
mArchiveStorage = nullptr;
......@@ -82,6 +78,11 @@ void TestImportFile::start()
file.setListFilePath(mPathConfig);
file.compare();
if (error.count()) {
qDebug() << error.at(0);
}
QCOMPARE(error.count(), 0);
#ifdef REMOVE_TEMPORARY_DIR
QVERIFY(QDir(mExtractPath).removeRecursively());
#endif
......
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