Commit 8cb90cd0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Test KIdentityManagement::Signature::End

parent 20a43b9a
......@@ -135,6 +135,15 @@ void RichTextComposerNgTest::shouldAddSignature_data()
QTest::newRow("startandnothing") << QStringLiteral("foo bla, bli\nbb") << QStringLiteral("Signaturefoo bla, bli\nbb")
<< KIdentityManagement::Signature::Start << KIdentityManagement::Signature::AddNothing;
QTest::newRow("endandaddseparator") << QStringLiteral("foo bla, bli\nbb") << QStringLiteral("foo bla, bli\nbb-- \nSignature")
<< KIdentityManagement::Signature::End << KIdentityManagement::Signature::AddSeparator;
QTest::newRow("endandnewline") << QStringLiteral("foo bla, bli\nbb") << QStringLiteral("foo bla, bli\nbb\nSignature")
<< KIdentityManagement::Signature::End << KIdentityManagement::Signature::AddNewLines;
QTest::newRow("endandnothing") << QStringLiteral("foo bla, bli\nbb") << QStringLiteral("foo bla, bli\nbbSignature")
<< KIdentityManagement::Signature::End << KIdentityManagement::Signature::AddNothing;
}
void RichTextComposerNgTest::shouldAddSignature()
......
Supports Markdown
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