Commit 129eb4f8 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent cca7a851
if header :is "X-Spam-Flag" "YES" {
stop; #---- this stops further processing;
}
if header :is "X-Spam-Flag" "YES" {
stop; #---- this stops further processing;
}
......@@ -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)
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment