Commit 1d9ddf15 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent 53a9f2b1
#SCRIPTNAME: Script part 0
if header :contains [ "from", "cc" ] [ "from-foo@example.net", "pub@foo.com" ]
{
discard;
stop;
}
#SCRIPTNAME: Script part 0
if header :contains [ "from"/*goo1*/, "cc" /*goo*/ ] [ "from-foo@example.net"/*foo1*/, "pub@foo.com"/*foo2*/ ]
{
discard;
stop;
}
...@@ -228,6 +228,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data() ...@@ -228,6 +228,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
QTest::newRow("test-date1") << QStringLiteral("test-date1") << false << true; QTest::newRow("test-date1") << QStringLiteral("test-date1") << false << true;
QTest::newRow("test-header-multilist") << QStringLiteral("test-header-multilist") << false << true; 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_MAIN(SieveEditorGraphicalModeWidgetTest) 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