summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-28 08:42:38 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-28 08:42:38 (GMT)
commit67a78e2c01b435027ec7b36dace33e6024b1acfa (patch)
treebaa773a983409ef60cf67cd5b9c18abde5998d95
parent16cb2f107e5cf2acf0711ca9b4279bc846de904b (diff)
Add more autotests
-rw-r--r--messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp b/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
index 4e99223..3e0ab6f 100644
--- a/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
+++ b/messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
@@ -49,6 +49,8 @@ void RichTextComposerNgTest::shouldForceAutoCorrection_data()
QTest::addColumn<QString>("expected");
//FIXME first char !
QTest::newRow("test1") << QStringLiteral("boo bla bli. foo faa") << QStringLiteral("boo bla bli. Foo faa");
+ QTest::newRow("test2") << QStringLiteral("boo bla bli.\nfoo faa") << QStringLiteral("boo bla bli.\nFoo faa");
+ QTest::newRow("test3") << QStringLiteral("\nboo bla bli.\nfoo faa") << QStringLiteral("\nBoo bla bli.\nFoo faa");
}