Commit 2bae5171 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent 6fc492e1
Pipeline #44061 passed with stage
in 9 minutes and 34 seconds
......@@ -41,4 +41,14 @@ void ImportKMailAutocorrectionTest::shouldLoadFile()
QCOMPARE(import.typographicSingleQuotes().end, QStringLiteral("’"));
QCOMPARE(import.typographicDoubleQuotes().begin, QStringLiteral("“"));
QCOMPARE(import.typographicDoubleQuotes().end, QStringLiteral("”"));
auto resultTwoUpperLetterExceptions = import.twoUpperLetterExceptions();
QCOMPARE(resultTwoUpperLetterExceptions.count(), 21);
auto resultUpperCaseExceptions = import.upperCaseExceptions();
QCOMPARE(resultUpperCaseExceptions.count(), 45);
auto resultAutocorrectEntries = import.autocorrectEntries();
QCOMPARE(resultAutocorrectEntries.count(), 1221);
}
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