Commit 17994fc4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix export mail autotest

parent 94621dd3
......@@ -90,13 +90,14 @@ void ImportMailJobInterfaceTest::importMail_data()
QTest::addColumn<Utils::StoredTypes>("options");
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;
QTest::newRow("mailconfigandresource") << QString::fromLatin1(pathConfig) << QStringLiteral("mailconfigandresource/") << options;
options = {Utils::StoredType::MailTransport};
QTest::newRow("mailtransport") << pathConfig + QByteArray("mailtransport/") << options;
QTest::newRow("mailtransport") << QString::fromLatin1(pathConfig) << QStringLiteral("mailtransport/") << options;
options = {Utils::StoredType::Identity};
QTest::newRow("identities") << pathConfig + QByteArray("identities/") << options;
QTest::newRow("identities") << QString::fromLatin1(pathConfig) << QStringLiteral("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