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

continue to add new autotest

parent e075d235
Pipeline #144166 passed with stages
in 2 minutes and 40 seconds
......@@ -101,6 +101,12 @@ void PlainTextEditFindBarTest::shouldReplaceAllText_data()
QTest::addColumn<int>("nbElement");
QTest::newRow("empty") << QString() << QStringLiteral("blabla") << QStringLiteral("replace") << QTextDocument::FindFlags() << 0;
{
QTextDocument::FindFlags flags;
flags |= QTextDocument::FindWholeWords;
QTest::newRow("bla") << QString() << QStringLiteral("bla bla") << QStringLiteral("replace") << flags << 2;
}
}
void PlainTextEditFindBarTest::shouldReplaceAllText()
......
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