Commit b7c201da authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add setPathConfig

parent 290442f4
Pipeline #20744 canceled with stage
...@@ -97,6 +97,7 @@ void ImportAddressbookJobInterfaceTest::importAddressbook() ...@@ -97,6 +97,7 @@ void ImportAddressbookJobInterfaceTest::importAddressbook()
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
file->setExcludePath(Utils::addressbookPath()); file->setExcludePath(Utils::addressbookPath());
ImportAddressbookJobInterfaceTestImpl *impl = new ImportAddressbookJobInterfaceTestImpl(this, options, file->archiveStorage(), 1); ImportAddressbookJobInterfaceTestImpl *impl = new ImportAddressbookJobInterfaceTestImpl(this, options, file->archiveStorage(), 1);
impl->setPathConfig(file->pathConfig());
file->setAbstractImportExportJob(impl); file->setAbstractImportExportJob(impl);
file->setLoggingFilePath(impl->loggingFilePath()); file->setLoggingFilePath(impl->loggingFilePath());
file->start(); file->start();
......
...@@ -95,6 +95,7 @@ void ImportAlarmJobInterfaceTest::importAlarmConfig() ...@@ -95,6 +95,7 @@ void ImportAlarmJobInterfaceTest::importAlarmConfig()
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
file->setExcludePath(Utils::alarmPath()); file->setExcludePath(Utils::alarmPath());
ImportAlarmJobInterfaceTestImpl *impl = new ImportAlarmJobInterfaceTestImpl(this, options, file->archiveStorage(), 1); ImportAlarmJobInterfaceTestImpl *impl = new ImportAlarmJobInterfaceTestImpl(this, options, file->archiveStorage(), 1);
impl->setPathConfig(file->pathConfig());
file->setAbstractImportExportJob(impl); file->setAbstractImportExportJob(impl);
file->setLoggingFilePath(impl->loggingFilePath()); file->setLoggingFilePath(impl->loggingFilePath());
file->start(); file->start();
......
...@@ -96,6 +96,7 @@ void ImportCalendarJobInterfaceTest::importCalendar() ...@@ -96,6 +96,7 @@ void ImportCalendarJobInterfaceTest::importCalendar()
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
file->setExcludePath(Utils::calendarPath()); file->setExcludePath(Utils::calendarPath());
ImportCalendarJobInterfaceTestImpl *impl = new ImportCalendarJobInterfaceTestImpl(this, options, file->archiveStorage(), 1); ImportCalendarJobInterfaceTestImpl *impl = new ImportCalendarJobInterfaceTestImpl(this, options, file->archiveStorage(), 1);
impl->setPathConfig(file->pathConfig());
file->setAbstractImportExportJob(impl); file->setAbstractImportExportJob(impl);
file->setLoggingFilePath(impl->loggingFilePath()); file->setLoggingFilePath(impl->loggingFilePath());
file->start(); file->start();
......
...@@ -110,6 +110,7 @@ void ImportMailJobInterfaceTest::importMail() ...@@ -110,6 +110,7 @@ void ImportMailJobInterfaceTest::importMail()
file->setExtractPath(QDir::tempPath() + QLatin1Char('/') + testPath); file->setExtractPath(QDir::tempPath() + QLatin1Char('/') + testPath);
file->setExcludePath(Utils::mailsPath()); // ??? file->setExcludePath(Utils::mailsPath()); // ???
ImportMailJobInterfaceTestImpl *impl = new ImportMailJobInterfaceTestImpl(this, options, file->archiveStorage(), 1); ImportMailJobInterfaceTestImpl *impl = new ImportMailJobInterfaceTestImpl(this, options, file->archiveStorage(), 1);
impl->setPathConfig(file->pathConfig());
file->setAbstractImportExportJob(impl); file->setAbstractImportExportJob(impl);
file->setLoggingFilePath(impl->loggingFilePath()); file->setLoggingFilePath(impl->loggingFilePath());
file->start(); file->start();
......
...@@ -96,6 +96,7 @@ void ImportNotesJobInterfaceTest::importNote() ...@@ -96,6 +96,7 @@ void ImportNotesJobInterfaceTest::importNote()
file->setExtractPath(QDir::tempPath() + testPath); file->setExtractPath(QDir::tempPath() + testPath);
file->setExcludePath(Utils::notePath()); file->setExcludePath(Utils::notePath());
ImportNotesJobInterfaceTestImpl *impl = new ImportNotesJobInterfaceTestImpl(this, options, file->archiveStorage(), 1); ImportNotesJobInterfaceTestImpl *impl = new ImportNotesJobInterfaceTestImpl(this, options, file->archiveStorage(), 1);
impl->setPathConfig(file->pathConfig());
file->setAbstractImportExportJob(impl); file->setAbstractImportExportJob(impl);
file->setLoggingFilePath(impl->loggingFilePath()); file->setLoggingFilePath(impl->loggingFilePath());
file->start(); file->start();
......
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