Commit 11dadb91 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent 6907705a
require "include";
require "copy";
require "imap4flags";
require "subaddress";
require "reject";
#SCRIPTNAME: test
include :personal :optional :once "sdqd";
include :global :optional "qsdqd";
global "globalvar";
set "globalvar" "415";
redirect :copy "folder";
#SCRIPTNAME: test2
if false
{
removeflag [ "\\Flagged", "\\Seen", "\\Draft" ];
} elsif address :all :is "Reply-To" "foo@kde.org"
{
reject text:
rejected
.
;
} else {
keep :flags [ "\\Answered" ];
}
\ No newline at end of file
require "include";
require "copy";
require "imapflags";
require "subaddress";
require "reject";
#SCRIPTNAME: test
include :personal :optional :once "sdqd";
include :global :optional "qsdqd";
global "globalvar";
set "globalvar" "415";
redirect :copy "folder";
#SCRIPTNAME: test2
if false
{
removeflag [ "\\Flagged", "\\Seen", "\\Draft" ];
} elsif address :all :is "Reply-To" "foo@kde.org"
{
reject text:
rejected
.
;
} else {
keep :flags [ "\\Answered" ];
}
......@@ -151,6 +151,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest::newRow("test-headers") << QStringLiteral("test-headers") << false << true;
QTest::newRow("vacation-active-discard") << QStringLiteral("vacation-active-discard") << false << true;
QTest::newRow("vacation-multiple") << QStringLiteral("vacation-multiple") << false << true;
QTest::newRow("full-example1") << QStringLiteral("full-example1") << false << true;
}
......
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