Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM Messagelib
Commits
0304dd06
Commit
0304dd06
authored
Apr 06, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve autotests
parent
8d7f23f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
messageviewer/src/adblock/common/autotests/adblockautomaticruleslistwidgettest.cpp
.../common/autotests/adblockautomaticruleslistwidgettest.cpp
+2
-0
No files found.
messageviewer/src/adblock/common/autotests/adblockautomaticruleslistwidgettest.cpp
View file @
0304dd06
...
...
@@ -41,6 +41,8 @@ void AdBlockAutomaticRulesListWidgetTest::shouldCreateRules_data()
QTest
::
addColumn
<
QString
>
(
"rules"
);
QTest
::
addColumn
<
int
>
(
"numberOfItem"
);
QTest
::
newRow
(
"notest"
)
<<
QString
()
<<
0
;
QTest
::
newRow
(
"oneline"
)
<<
QStringLiteral
(
"ssdfsfsdf"
)
<<
1
;
QTest
::
newRow
(
"twoline"
)
<<
QStringLiteral
(
"ssdfsfsdf
\n
foo"
)
<<
2
;
}
void
AdBlockAutomaticRulesListWidgetTest
::
shouldCreateRules
()
...
...
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