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
129eb4f8
Commit
129eb4f8
authored
May 30, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more autotest
parent
cca7a851
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
0 deletions
+11
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment7-ref.siv
...ui/autocreatescripts/autotests/data/test-comment7-ref.siv
+4
-0
src/ksieveui/autocreatescripts/autotests/data/test-comment7.siv
...ieveui/autocreatescripts/autotests/data/test-comment7.siv
+4
-0
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
...escripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
+1
-0
src/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
src/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
+2
-0
No files found.
src/ksieveui/autocreatescripts/autotests/data/test-comment7-ref.siv
0 → 100644
View file @
129eb4f8
if header :is "X-Spam-Flag" "YES" {
stop; #---- this stops further processing;
}
src/ksieveui/autocreatescripts/autotests/data/test-comment7.siv
0 → 100644
View file @
129eb4f8
if header :is "X-Spam-Flag" "YES" {
stop; #---- this stops further processing;
}
src/ksieveui/autocreatescripts/autotests/sieveeditorgraphicalmodewidgettest.cpp
View file @
129eb4f8
...
...
@@ -206,6 +206,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_MAIN
(
SieveEditorGraphicalModeWidgetTest
)
src/ksieveui/autocreatescripts/sieveactionwidgetlister.cpp
View file @
129eb4f8
...
...
@@ -384,6 +384,8 @@ void SieveActionWidgetLister::loadScript(const QDomElement &element, bool onlyAc
}
else
{
qCDebug
(
LIBKSIEVE_LOG
)
<<
" SieveActionWidgetLister::loadScript don't have name attribute "
<<
tagName
;
}
}
else
{
qCDebug
(
LIBKSIEVE_LOG
)
<<
" SieveActionWidgetLister::loadScript Unknow tag name "
<<
tagName
;
}
}
}
else
{
...
...
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