Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
libksieve
Commits
ec76c892
Commit
ec76c892
authored
May 31, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add other broken code
parent
5410a2b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment8-ref.siv
...ui/autocreatescripts/autotests/data/test-comment8-ref.siv
+7
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment8.siv
...ieveui/autocreatescripts/autotests/data/test-comment8.siv
+7
-0
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
...escripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
+2
-0
No files found.
src/ksieveui/autocreatescripts/autotests/data/test-comment8-ref.siv
0 → 100644
View file @
ec76c892
if header :is "X-Spam-Flag" "YES" #1
#2
#3
{
stop;
}
src/ksieveui/autocreatescripts/autotests/data/test-comment8.siv
0 → 100644
View file @
ec76c892
if header :is "X-Spam-Flag" "YES" #1
#2
#3
{
stop;
}
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
View file @
ec76c892
...
...
@@ -111,6 +111,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts()
QEXPECT_FAIL
(
"failed-if-in-if"
,
"Expected failure on failed-if-in-if file. Problem with if in another if."
,
Continue
);
QEXPECT_FAIL
(
"test-comment2"
,
"Expected failure on test-comment2 file. Problem with # and /* ."
,
Continue
);
QEXPECT_FAIL
(
"test-comment7"
,
"Expected failure on test-comment7 file. Problem comment after an action ."
,
Continue
);
QEXPECT_FAIL
(
"test-comment8"
,
"Expected failure on test-comment8 file. Problem with comment with 1 char ."
,
Continue
);
QCOMPARE
(
proc
.
exitCode
(),
0
);
}
}
...
...
@@ -207,6 +208,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest
::
newRow
(
"test-comment5"
)
<<
QStringLiteral
(
"test-comment5"
)
<<
false
<<
true
;
QTest
::
newRow
(
"test-comment6"
)
<<
QStringLiteral
(
"test-comment6"
)
<<
false
<<
true
;
QTest
::
newRow
(
"test-comment7"
)
<<
QStringLiteral
(
"test-comment7"
)
<<
false
<<
true
;
QTest
::
newRow
(
"test-comment8"
)
<<
QStringLiteral
(
"test-comment8"
)
<<
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