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

GIT_SILENT: coding style

parent 07cb7498
......@@ -48,7 +48,7 @@ void ExportAddressbookJobInterfaceTestImpl::exportResourceToArchive(const QStrin
SaveResoureConfigTest saveResourceConfig;
saveResourceConfig.setArchive(mArchiveStorage->archive());
saveResourceConfig.exportResourceToArchive(archivePath, url, identifier, Utils::resourceAddressbookArchiveName(),
{ QLatin1String("akonadi_vcarddir_resource_"), QLatin1String("akonadi_contacts_resource_") });
{ QLatin1String("akonadi_vcarddir_resource_"), QLatin1String("akonadi_contacts_resource_") });
slotAddressbookJobTerminated();
}
......@@ -137,4 +137,3 @@ void ExportAddressbookJobInterfaceTest::exportAddressBookConfigAndResource()
file->start();
delete exportNote;
}
......@@ -79,4 +79,3 @@ void ExportAkregatorJobInterfaceTest::exportAkregatorConfigAndResource()
file->start();
delete exportNote;
}
......@@ -119,4 +119,3 @@ void ExportAlarmJobInterfaceTest::exportAlarmConfigAndResource()
file->start();
delete exportNote;
}
......@@ -80,4 +80,3 @@ void ImportAlarmJobInterfaceTest::importCalendarConfig()
delete impl;
delete file;
}
......@@ -132,4 +132,3 @@ void ExportCalendarsJobInterfaceTest::exportCalendarConfigAndResource()
file->start();
delete exportNote;
}
......@@ -43,4 +43,3 @@ void ExportImportUtil::addLogCreateResource(const QString &str)
{
mLogCreateResource->appendText(str);
}
......@@ -76,7 +76,7 @@ void ExportMailJobInterfaceTestImpl::exportResourceToArchive(const QString &arch
SaveResoureConfigTest saveResourceConfig;
saveResourceConfig.setArchive(mArchiveStorage->archive());
saveResourceConfig.exportResourceToArchive(archivePath, url, identifier, Utils::resourceMailArchiveName(),
{ QLatin1String("akonadi_maildir_resource_"), QLatin1String("akonadi_mixedmaildir_resource_")});
{ QLatin1String("akonadi_maildir_resource_"), QLatin1String("akonadi_mixedmaildir_resource_")});
slotMailsJobTerminated();
}
......@@ -163,4 +163,3 @@ void ExportMailJobInterfaceTest::exportMailConfigAndResource()
file->start();
delete exportNote;
}
......@@ -24,7 +24,6 @@
SaveResoureConfigTest::SaveResoureConfigTest()
{
}
KZip *SaveResoureConfigTest::archive() const
......@@ -41,7 +40,7 @@ void SaveResoureConfigTest::exportResourceToArchive(const QString &archivePath,
{
QVERIFY(mArchive);
bool typeIdentifierFound = false;
for (const QString & resourceType: resourceIdentifierTypes) {
for (const QString &resourceType: resourceIdentifierTypes) {
typeIdentifierFound = identifier.startsWith(resourceType);
if (typeIdentifierFound) {
break;
......
......@@ -30,12 +30,10 @@
StoreResourceJob::StoreResourceJob(QObject *parent)
: QObject(parent)
{
}
StoreResourceJob::~StoreResourceJob()
{
}
void StoreResourceJob::setArchivePath(const QString &archivePath)
......
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