Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
76000100%0.513

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

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.james.transport.matchers42000100%0.071
org.apache.james.transport.mailets34000100%0.442

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

org.apache.james.transport.matchers

ClassTestsErrors FailuresSkippedSuccess RateTime
HostIsLocalTest3000100%0.005
FetchedFromTest3000100%0.003
SenderIsNullTest2000100%0.002
AllTest1000100%0.002
UserIsTest3000100%0.019
IsSingleRecipientTest2000100%0.002
SubjectIsTest2000100%0.002
SubjectStartsWithTest2000100%0.002
SMTPAuthSuccessfulTest2000100%0.002
SenderIsTest2000100%0.003
SMTPAuthUserIsTest2000100%0.003
HasMailAttributeWithValueTest3000100%0.003
SMTPIsAuthNetworkTest2000100%0.002
RecipientIsTest3000100%0.004
HasMailAttributeTest2000100%0.007
HostIsTest3000100%0.003
HasHeaderTest2000100%0.005
SizeGreaterThanTest3000100%0.002

org.apache.james.transport.mailets

ClassTestsErrors FailuresSkippedSuccess RateTime
AddFooterTest6000100%0.282
AddSubjectPrefixTest3000100%0.004
ReplaceContentTest2000100%0.013
RemoveMailAttributeTest2000100%0.003
ToProcessorTest2000100%0.002
NullTest1000100%0.002
SetMimeHeaderTest2000100%0.003
OnlyTextTest2000100%0.041
UnwrapTextTest1000100%0.016
RemoveMimeHeaderTest4000100%0.003
MailAttributesToMimeHeadersTest2000100%0.002
SetMailAttributeTest1000100%0.014
RemoveAllMailAttributesTest1000100%0.001
StripAttachmentTest5000100%0.056

Test Cases

HostIsLocalTest

testHostIsMatchedAllRecipients0.002
testHostIsMatchedOneRecipient0
testHostIsNotMatch0

FetchedFromTest

testHeaderIsMatched0.001
testHeaderIsNotMatched0
testHeaderWasRemovedAfterMatched0

SenderIsNullTest

testSenderIsMatchedAllRecipients0.001
testSenderIsNotMatchedAllRecipients0

AddFooterTest

testAddFooterTextPlain0.122
testUnsupportedEncoding0.072
testAddFooterMimeNestedUnsupportedMultipart0.005
testAddFooterMultipartRelated0.01
testAddFooterTextPlainISO88590.002
testAddFooterMultipartAlternative0.029

AddSubjectPrefixTest

testSubjectPrefixWasAdded0.001
testSubjectPrefixWasAddedWithoutSubject0
testThrowException0.001

ReplaceContentTest

testService0.008
testFromFakeCp1252Stream0.001

AllTest

testAllRecipientsReturned0.001

RemoveMailAttributeTest

testInvalidConfig0.001
testRemoveMailAttribute0.001

ToProcessorTest

testValidToProcessor0
testExceptionThrown0

NullTest

testNullMailet0.001

UserIsTest

testHostIsMatchedAllRecipients0.001
testHostIsMatchedOneRecipient0
testHostIsNotMatch0

IsSingleRecipientTest

testHostIsMatchedAllRecipients0
testHostIsMatchedOneRecipient0

SetMimeHeaderTest

testHeaderIsPresent0.001
testHeaderIsReplaced0

SubjectIsTest

testHostIsMatchedAllRecipients0.001
testHostIsNotMatch0

SubjectStartsWithTest

testHostIsMatchedAllRecipients0.001
testHostIsNotMatch0

SMTPAuthSuccessfulTest

testAttributeIsMatched0
testAttributeIsNotMatched0

SenderIsTest

testSenderIsMatchedAllRecipients0.002
testSenderIsNotMatchedAllRecipients0

SMTPAuthUserIsTest

testAttributeIsNotMatched0
testAttributeIsMatched0.001

HasMailAttributeWithValueTest

testAttributeIsNotMatchedCauseValue0.001
testAttributeIsMatched0
testAttributeIsNotMatched0

OnlyTextTest

testService0.036
testHtml2Text0.003

UnwrapTextTest

testUnwrap0.016

SMTPIsAuthNetworkTest

testIsAuthNetwork0
testIsNotAuthNetwork0

RemoveMimeHeaderTest

testInvalidConfig0.001
testOneHeaderRemoved0
testTwoHeaderRemoved0
testNoHeaderRemoved0

MailAttributesToMimeHeadersTest

testHeadersArePresent0.001
testInvalidConfig0

RecipientIsTest

testHostIsMatchedAllRecipients0.002
testHostIsMatchedOneRecipient0
testHostIsNotMatch0.001

SetMailAttributeTest

testMailAttributeAdded0.013

HasMailAttributeTest

testAttributeIsMatched0.004
testAttributeIsNotMatched0

HostIsTest

testHostIsMatchedAllRecipients0.001
testHostIsMatchedOneRecipient0
testHostIsNotMatch0.001

RemoveAllMailAttributesTest

testRemoveAllMailAttributes0

HasHeaderTest

testHeaderIsMatched0.002
testHeaderIsNotMatched0.001

SizeGreaterThanTest

testSizeGreater0.001
testSizeNotGreater0
testThrowExceptionOnInvalidAmount0

StripAttachmentTest

testNoAttachment0
testSimpleAttachment0.018
testSimpleAttachment20.01
testSimpleAttachment30.012
testToAndFromAttributes0.014