Commit f99d6ef8 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotests

parent 35156a5c
require "spamtest";
require "relational";
require "environment";
require "envelope";
require "subaddress";
require "imap4flags";
require "variables";
require "mboxmetadata";
require "ihave";
#SCRIPTNAME: Script part 0
if allof (virustest :value "gt" :comparator "i;octet" "0" #condition1
, environment "" "" #condition2
, envelope :all :is "" # condition3
, hasflag :contains "f" "" # condition4
, false
, metadataexists "" "" # condition5
, ihave ""
, environment "" "" # condition6
)
{
}
\ No newline at end of file
if allof (virustest :value "gt" :comparator "i;octet" "0" #condition1
, environment "" "" #condition2
, envelope :all :is "" # condition3
, hasflag :contains "f" "" # condition4
, false
, metadataexists "" "" # condition5
, ihave ""
, environment "" "" # condition6
)
{
}
......@@ -203,6 +203,8 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest::newRow("test-value-as-list-quoted") << QStringLiteral("test-value-as-list-quoted") << false << true;
QTest::newRow("test-header-value") << QStringLiteral("test-header-value") << false << true;
QTest::newRow("test-comment5") << QStringLiteral("test-comment5") << 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