Commit d548cb22 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent d018e7ef
......@@ -79,6 +79,8 @@ void CheckAttachmentJobTest::shouldRemoveDuplicatedEmails_data()
original = QStringList() << QStringLiteral("lolo <foo@kde.org>") << QStringLiteral("lulu <bla@kde.org>") << QStringLiteral("bla <bla@kde.org>");
QTest::newRow("oneduplicatewithname") << original << result;
original = QStringList() << QStringLiteral("lolo <foo@kde.org>") << QStringLiteral("lulu <bla@kde.org>") << QStringLiteral("bla <bla@kde.org>") << QStringLiteral("bla");
QTest::newRow("withinvalidemail") << original << result;
}
QTEST_MAIN(CheckAttachmentJobTest)
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