Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KPimTextEdit
Commits
8fdee9d8
Commit
8fdee9d8
authored
Mar 02, 2022
by
Laurent Montel
😁
Browse files
continue to add new autotest
parent
e075d235
Pipeline
#144166
passed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/texteditor/plaintexteditor/autotests/plaintexteditfindbartest.cpp
View file @
8fdee9d8
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment