Commit 8643d471 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent d3d9a33b
# Declare any optional features or extension used by the script.
require ["fileinto", "reject"]
if header :contains "subject" ["order", "buy"] {
# Forward mails with "order" or "buy" in their subject to another address.
redirect "order@example.com";
stop;
}
# Declare any optional features or extension used by the script.
require ["fileinto", "reject"]
if header :contains "subject" ["order", "buy"] {
# Forward mails with "order" or "buy" in their subject to another address.
redirect "order@example.com";
stop;
}
......@@ -229,6 +229,8 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest::newRow("test-header-multilist") << QStringLiteral("test-header-multilist") << false << true;
QTest::newRow("test-header-multilist-comment") << QStringLiteral("test-header-multilist-comment") << false << true;
QTest::newRow("wierd-script") << QStringLiteral("wierd-script") << false << true;
}
QTEST_MAIN(SieveEditorGraphicalModeWidgetTest)
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