Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
219000100%2.533

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.jsieve.parser8000100%0.01
org.apache.jsieve188000100%2.503
org.apache.jsieve.parser.address3000100%0.004
org.apache.jsieve.util.check18000100%0.014
org.apache.jsieve.comparator2000100%0.002

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.jsieve.parser

ClassTestsErrors FailuresSkippedSuccess RateTime
SieveNodeCommentTest8000100%0.01

org.apache.jsieve

ClassTestsErrors FailuresSkippedSuccess RateTime
MultipleRequireTest2000100%0.01
NotTest2000100%0.009
TrueTest2000100%0.007
HeaderTest17000100%0.122
AnyOfTest5000100%0.088
LogTest7000100%0.045
RejectTest7000100%0.062
KeepTest3000100%0.017
MultipleToTest2000100%0.219
BodyTest3000100%0.039
AllOfTest5000100%0.111
DiscardTest3000100%0.008
RequireMissingTest5000100%0.618
StopTest3000100%0.035
ConditionTest17000100%0.079
SizeTest5000100%0.181
FalseTest2000100%0.014
SieveParserVisitorImplQuoteTest6000100%0.035
QuotingTest1000100%0.02
EnvelopeTest29000100%0.148
ConfigurationManagerTest3000100%0.004
FileIntoTest5000100%0.037
WierdAddressTest1000100%0.002
AddressParseTest2000100%0.012
RequireTest13000100%0.198
ExistsTest8000100%0.067
AddressTest30000100%0.316

org.apache.jsieve.parser.address

ClassTestsErrors FailuresSkippedSuccess RateTime
SieveAddressBuilderTest3000100%0.004

org.apache.jsieve.util.check

ClassTestsErrors FailuresSkippedSuccess RateTime
ScriptCheckMailAdapterActionsTest6000100%0.003
ScriptCheckMailAdapterHeadersTest4000100%0.004
ScriptCheckerTestActionsTest4000100%0.003
ScriptCheckMailAdapterNoMessageSetTest3000100%0.002
ScriptCheckMailAdapterMailTest1000100%0.002

org.apache.jsieve.comparator

ClassTestsErrors FailuresSkippedSuccess RateTime
ComparatorUtilsTest2000100%0.002

Test Cases

ScriptCheckMailAdapterActionsTest

testReset0
testAddAction0
testExecuteActions0
testGetActions0
testGetActionsIterator0
testGetExecutedActions0

MultipleRequireTest

testMinimalScriptMultipleRequiredParsing0.001
testScriptMultipleRequiredParsing0.008

NotTest

testInvalidArgument0.006
testIfNotFalse0.002

TrueTest

testInvalidArgument0.004
testIfTrue0.002

HeaderTest

testHeaderIsTrue0.017
testHeaderCaseInsensitivity0.006
testHeaderIsTrueMulti10.002
testHeaderIsFalseMulti10.007
testHeaderIsTrueMulti20.003
testHeaderIsTrueMulti30.015
testHeaderIsFalseValue0.002
testHeaderIsFalseHeader0.031
testHeaderContainsTrue0.002
testHeaderContainsFalse0.001
testHeaderContainsNullTrue0.001
testHeaderIsNullFalse0.01
testHeaderMatchesTrue0.002
testHeaderMatchesFalse0.002
testSquareBracketsInMatch0.012
testSpecialCharsEscapingInMatch0.002
testSpecialCharsEscapingInMatchFalse0.003

AnyOfTest

testInvalidArgument0.012
testIfAnyOfFalseTrue0.003
testIfAnyOfTrueTrue0.038
testIfAnyOfFalseFalse0.006
testIfAnyOfTrueFalse0.013

LogTest

testLogDebug0.012
testLogError0.004
testLogFatal0.021
testLogInfo0.002
testLogTrace0.001
testLogWarn0.001
testLogDefault0.002

RejectTest

testInvalidArguments0.013
testInvalidBlock0.003
testReject0.002
testRejectMissingMessage0.027
testDuplicateReject0.004
testRejectAndAPrecedingCommand0.006
testRejectAndAFollowingCommand0.003

KeepTest

testInvalidArguments0.011
testInvalidBlock0.003
testKeep0.002

MultipleToTest

testSingleTo0.156
testMultipleTo0.062

BodyTest

testBasic0.028
testBodyCaseInsensitivity0.004
testBodyNoContains0.002

AllOfTest

testIfAllOfFalseTrue0.043
testIfAllOfTrueTrue0.022
testIfAllOfFalseFalse0.015
testIfAllOfTrueFalse0.019
testInvalidArgument0.006

SieveAddressBuilderTest

testNotAddress0.002
testAddAddresses0
testReset0.001

DiscardTest

testInvalidArguments0.003
testInvalidBlock0.003
testDiscard0.001

RequireMissingTest

testUnsupportedRequireNoBrackets0.426
testUnsupportedRequireMultiple0.029
testUnsupportedRequire0.072
testMissingRequire0.063
testRequireAfterOtherCommand0.004

StopTest

testInvalidArguments0.002
testInvalidBlock0.03
testStop0.002

ConditionTest

testIfFalse0.007
testIfTrue0.012
testElsifTrue0.003
testElsifFalse0.002
testElsifFalseElsifTrue0.002
testElsifFalseElse0.003
testElse0.002
testOutOfSequenceElse0.002
testOutOfSequenceElsif0.001
testIfMissingBlock0.001
testIfMissingTest0.002
testElsifMissingTest0.022
testElsifMissingBlock0.002
testElseMissingBlock0.002
testNestedIf0.002
testNestedOutOfSequenceElse0.007
testNestedOutOfSequenceElsif0.002

SizeTest

testSizeIsOverTrue0.138
testSizeIsOverFalse0.013
testSizeIsUnderTrue0.013
testSizeIsUnderFalse0.002
testSizeIsWithQuantifier0.012

FalseTest

testInvalidArgument0.01
testIfFalse0.003

ScriptCheckMailAdapterHeadersTest

testGetHeader0.001
testGetHeaderNames0.001
testGetMatchingHeader0
testGetSize0

ScriptCheckerTestActionsTest

testReject0
testFileInto0
testKeep0
testRedirect0

SieveParserVisitorImplQuoteTest

testVisitASTstringObjectQuoted0.001
testVisitASTstringObjectQuoteInQuoted0.001
testVisitASTstringObjectDoubleSlashQuoted0.001
testVisitASTstringObjectSlashQuoted0.027
testVisitASTstringEmptyQuoted0.001
testVisitASTstringObjectMultiSlashQuoted0.002

QuotingTest

testQuoteInQuotedString0.019

EnvelopeTest

testIfEnvelopeAllIsTrue0.004
testCaseInsensitiveEnvelopeName0.003
testOctetComparatorTrue0.003
testOctetComparatorFalse0.004
testAsciiComparatorTrue0.003
testAsciiComparatorFalse0.001
testIfEnvelopeAllIsMultiTrue10.003
testIfEnvelopeAllIsMultiTrue20.003
testIfEnvelopeAllIsMultiTrue30.012
testIfEnvelopeAllIsMultiTrue40.002
testIfEnvelopeAllMatchesTrue0.009
testIfEnvelopeAllContainsTrue0.002
testIfEnvelopeLocalpartIsTrue0.007
testIfEnvelopeLocalpartMatchesTrue0.003
testIfEnvelopeLocalpartContainsTrue0.005
testIfEnvelopeDomainIsTrue0.003
testIfEnvelopeDomainMatchesTrue0.002
testIfEnvelopeDomainContainsTrue0.008
testIfEnvelopeAllIsFalse0.025
testIfEnvelopeAllMatchesFalse0.002
testIfEnvelopeAllContainsFalse0.002
testIfEnvelopeLocalpartIsFalse0.001
testIfEnvelopeLocalpartMatchesFalse0.001
testIfEnvelopeLocalpartContainsFalse0.002
testIfEnvelopeDomainIsFalse0.016
testIfEnvelopeDomainMatchesFalse0.001
testIfEnvelopeDomainContainsFalse0.001
testIfEnvelopeAllIsMultiFalse10.002
testIfEnvelopeAllIsMultiFalse20.008

ScriptCheckMailAdapterNoMessageSetTest

testGetHeader0
testGetHeaderNames0
testGetMatchingHeader0

ConfigurationManagerTest

testCommandMap0.001
testTestMap0
testComparatorMap0.001

FileIntoTest

testInvalidBlock0.023
testFileInto0.001
testDuplicateFileInto0.002
testInvalidArgumentType0.002
testInvalidArgumentNumber0.002

ComparatorUtilsTest

testMatchesStringString0.001
testSieveToJavaRegex0

WierdAddressTest

testShouldParseAddressWithLotsOfStars0.002

ScriptCheckMailAdapterMailTest

testSetMail0.001

SieveNodeCommentTest

testGetNoCommentsBefore0.001
testGetBracketCommentsBefore0.001
testGetHashCommentsBefore0.001
testGetHashCommentsBeforeCRLF0.001
testGetLastCommentNoneBefore0.001
testGetBracketLastCommentBefore0.001
testGetHashLastCommentBefore0.001
testGetHashLastCommentBeforeCRLF0.001

AddressParseTest

testSingleAddress0.009
testMultipleAddresses0.002

RequireTest

testSingleCommandSatisfied0.011
testSingleTestSatisfied0.002
testMultipleCommandSatisfied0.003
testMultipleTestSatisfied0.022
testSingleCommandUnsatisfied0.012
testSingleTestUnsatisfied0.002
testMissingArgument0.033
testExtraArgument0.003
testRejectBlock0.003
testInterveningCommand0.023
testRejectInvalidArgument0.003
testMultipleCommandsUnsatisfied0.003
testMultipleTestsUnsatisfied0.074

ExistsTest

testExistsTrue0.003
testCaseInsensitivity0.003
testExistsTrueTrue0.017
testExistsTrueFalse0.003
testExistsFalse0.005
testExistsFalseFalse0.003
testInvalidNumericArgument0.003
testInvalidTestArgument0.029

AddressTest

testOctetComparatorTrue0.003
testOctetComparatorFalse0.002
testAsciiComparatorTrue0.002
testAsciiComparatorFalse0.003
testIfAddressAllIsTrue0.003
testCaseInsensitiveHeaderName0.002
testTreatmentOfEmbededSpacesInHeaderName0.002
testIfAddressAllIsMultiTrue10.015
testIfAddressAllIsMultiTrue20.008
testIfAddressAllIsMultiTrue30.037
testIfAddressAllIsMultiTrue40.002
testIfAddressAllMatchesTrue0.002
testIfAddressAllContainsTrue0.023
testIfAddressLocalpartIsTrue0.002
testIfAddressLocalpartMatchesTrue0.002
testIfAddressLocalpartContainsTrue0.002
testIfAddressDomainIsTrue0.027
testIfAddressDomainMatchesTrue0.003
testIfAddressDomainContainsTrue0.023
testIfAddressAllIsFalse0.002
testIfAddressAllMatchesFalse0.002
testIfAddressAllContainsFalse0.001
testIfAddressLocalpartIsFalse0.001
testIfAddressLocalpartMatchesFalse0.002
testIfAddressLocalpartContainsFalse0.022
testIfAddressDomainIsFalse0.001
testIfAddressDomainMatchesFalse0.001
testIfAddressDomainContainsFalse0.002
testIfAddressAllIsMultiFalse10.002
testIfAddressAllIsMultiFalse20.043