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

Add more autotest

parent e288d9be
## Flag: |UniqueId:2|Rulename: Mail delivery failed <bae.vo.pb+ma@gmail.com>
if allof ( header :contains "From" "mailer-daemon@foo.de" , header :matches "Subject" "Mail delivery failed: returning message to sender" , size :under 10000 , body :contains :text "<blo@dd.com>" )
{
fileinto "folder" ;
addflag "\\seen" ;
stop ;
}
## Flag: |UniqueId:2|Rulename: Mail delivery failed <bae.vo.pb+ma@gmail.com>
if allof ( header :contains "From" "mailer-daemon@foo.de" , header :matches "Subject" "Mail delivery failed: returning message to sender" , size :under 10000 , body :contains :text "<blo@dd.com>" )
{
fileinto "folder" ;
addflag "\\seen" ;
stop ;
}
......@@ -181,6 +181,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
//Failed
QTest::newRow("failed-1") << QStringLiteral("failed-1") << true << true;
QTest::newRow("failed-2") << QStringLiteral("failed-2") << true << 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