Commit 259f5e86 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more autotest

parent d90c7156
......@@ -91,6 +91,12 @@ void ImportMailJobInterfaceTest::importMail_data()
Utils::StoredTypes options = {Utils::StoredType::Config};
const QByteArray pathConfig(QByteArray(PIMDATAEXPORTER_DIR) + "/import/");
QTest::newRow("mailonlyconfig") << QString::fromLatin1(pathConfig) << QStringLiteral("/mailonlyconfig/") << options;
options = {Utils::StoredType::Config|Utils::StoredType::Resources};
QTest::newRow("mailconfigandresource") << pathConfig + QByteArray("mailconfigandresource/") << options;
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport") << pathConfig + QByteArray("mailtransport/") << options;
options = {Utils::StoredType::Identity};
QTest::newRow("identities") << pathConfig + QByteArray("identities/") << options;
}
void ImportMailJobInterfaceTest::importMail()
......
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