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
libksieve
Commits
f99d6ef8
Commit
f99d6ef8
authored
May 30, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more autotests
parent
35156a5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment5-ref.siv
...ui/autocreatescripts/autotests/data/test-comment5-ref.siv
+22
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment5.siv
...ieveui/autocreatescripts/autotests/data/test-comment5.siv
+11
-0
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
...escripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
+2
-0
No files found.
src/ksieveui/autocreatescripts/autotests/data/test-comment5-ref.siv
0 → 100644
View file @
f99d6ef8
require "spamtest";
require "relational";
require "environment";
require "envelope";
require "subaddress";
require "imap4flags";
require "variables";
require "mboxmetadata";
require "ihave";
#SCRIPTNAME: Script part 0
if allof (virustest :value "gt" :comparator "i;octet" "0" #condition1
, environment "" "" #condition2
, envelope :all :is "" # condition3
, hasflag :contains "f" "" # condition4
, false
, metadataexists "" "" # condition5
, ihave ""
, environment "" "" # condition6
)
{
}
\ No newline at end of file
src/ksieveui/autocreatescripts/autotests/data/test-comment5.siv
0 → 100644
View file @
f99d6ef8
if allof (virustest :value "gt" :comparator "i;octet" "0" #condition1
, environment "" "" #condition2
, envelope :all :is "" # condition3
, hasflag :contains "f" "" # condition4
, false
, metadataexists "" "" # condition5
, ihave ""
, environment "" "" # condition6
)
{
}
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
View file @
f99d6ef8
...
...
@@ -203,6 +203,8 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest
::
newRow
(
"test-value-as-list-quoted"
)
<<
QStringLiteral
(
"test-value-as-list-quoted"
)
<<
false
<<
true
;
QTest
::
newRow
(
"test-header-value"
)
<<
QStringLiteral
(
"test-header-value"
)
<<
false
<<
true
;
QTest
::
newRow
(
"test-comment5"
)
<<
QStringLiteral
(
"test-comment5"
)
<<
false
<<
true
;
}
QTEST_MAIN
(
SieveEditorGraphicalModeWidgetTest
)
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