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

Use directly ResourceConverterTest

parent 29fbce73
......@@ -90,6 +90,6 @@ void ExportAddressbookJobInterfaceTest::exportAddressBookConfigTest1()
Akonadi::Collection::Id ExportAddressbookJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
......@@ -79,6 +79,6 @@ void ExportAlarmJobInterfaceTest::exportAlarmConfigTest1()
Akonadi::Collection::Id ExportAlarmJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
......@@ -79,6 +79,6 @@ void ExportCalendarsJobInterfaceTest::exportCalendarConfigTest1()
Akonadi::Collection::Id ExportCalendarsJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
......@@ -102,6 +102,6 @@ void ExportMailJobInterfaceTest::exportMailConfigTest1()
Akonadi::Collection::Id ExportMailJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
......@@ -85,6 +85,6 @@ void ExportNotesJobInterfaceTest::exportNoteConfigTest1()
Akonadi::Collection::Id ExportNotesJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
......@@ -20,6 +20,7 @@
#include "importnotesjobinterfacetest.h"
#include "archivestorage.h"
#include "notes/importnotesjobinterface.h"
#include "resourceconvertertest.h"
#include <QSignalSpy>
#include <QTest>
QTEST_MAIN(ImportNotesJobInterfaceTest)
......@@ -70,6 +71,6 @@ void ImportNotesJobInterfaceTest::importNoteConfigTest1()
Akonadi::Collection::Id ImportNotesJobInterfaceTestImpl::convertFolderPathToCollectionId(const QString &path)
{
//TODO
return -1;
ResourceConverterTest resourceConverterTest;
return resourceConverterTest.convertFolderPathToCollectionId(path);
}
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