Apache Commons logo Commons Email

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
190 0 0 3 98.421% 43.242

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.mail 160 0 0 3 98.125% 42.786
org.apache.commons.mail.resolver 10 0 0 0 100% 0.421
org.apache.commons.mail.util 20 0 0 0 100% 0.035

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

org.apache.commons.mail

Class Tests Errors Failures Skipped Success Rate Time
EmailTest 79 0 0 0 100% 0.211
DefaultAuthenticatorTest 1 0 0 0 100% 0.001
HtmlEmailTest 15 0 0 1 93.333% 1.449
SimpleEmailTest 3 0 0 1 66.667% 0.44
MultiPartEmailTest 11 0 0 0 100% 1.077
InvalidInternetAddressTest 3 0 0 0 100% 0
EmailLiveTest 9 0 0 0 100% 0.037
SendWithAttachmentsTest 2 0 0 0 100% 0.038
InvalidAddressTest 4 0 0 0 100% 0.004
EmailUtilsTest 2 0 0 0 100% 0
EmailAttachmentTest 5 0 0 0 100% 0.004
ImageHtmlEmailTest 26 0 0 1 96.154% 39.525

org.apache.commons.mail.resolver

Class Tests Errors Failures Skipped Success Rate Time
DataSourceClassPathResolverTest 2 0 0 0 100% 0.001
DataSourceUrlResolverTest 3 0 0 0 100% 0.316
DataSourceCompositeResolverTest 3 0 0 0 100% 0.103
DataSourceFileResolverTest 2 0 0 0 100% 0.001

org.apache.commons.mail.util

Class Tests Errors Failures Skipped Success Rate Time
IDNEmailAddressConverterTest 6 0 0 0 100% 0
MimeMessageParserTest 14 0 0 0 100% 0.035

Test Cases

[Summary] [Package List] [Test Cases]

IDNEmailAddressConverterTest

testNonIDNEmailAddressToAsciiConversion 0
testMultipleIDNEmailAddressToAsciiConversion 0
testInternetAddressToAsciiConversion 0
testRoundTripConversionOfIDNEmailAddress 0
testConvertInvalidEmailAddressToAscii 0
testIDNEmailAddressToAsciiConversion 0

EmailTest

testAddBccArray 0
testAddReplyTo2 0
testGetSetSession 0.001
testAddReplyTo 0.001
testDefaultCharsetCanBeOverriddenByContentType 0.002
testSetSmptPortNegative 0
testGetSetInvalidBounceAddress 0
testAddCcWithEncoding 0
testAddBcc2 0
testAddReplyToBadEncoding 0.003
testGetSetDebug 0
testSetCcEmpty 0
testSupportForInternationalDomainNames 0.134
testGetSetBounceAddress 0
testSendFromNotSet 0.005
testSendFromSetInSession 0.002
testAddHeaderNullValue 0
testSetHeaders 0.001
testSendBadAuthSet 0.004
testAddCc 0.001
testAddTo 0
testSetCc 0
testSetTo 0
testSetContentMimeMultipart 0
testSendDestinationNotSet 0.003
testSendBadHostName 0.002
testGetSetAuthentication 0
testFoldingHeaders 0.001
testAddToWithEncoding 0.001
testSetSmtpPortMinValue 0
testSetNullAndEmptyBounceAddress 0
testCorrectContentTypeForPNG 0.001
testAddHeaderNullName 0
testSetHeaderNullValue 0
testGetSetHostName 0
testSetContentObject 0
testAddBccBadEncoding 0
testGetSetAuthenticator 0
testAddToArray 0
testGetSetSmtpPort 0.001
testAddHeaderEmptyValue 0
testDefaultCharsetAppliesToTextContent 0.001
testSetContentNull 0
testSetFromBadEncoding 0.001
testToInternetAddressArray 0
testAddHeader 0
testSetHeaderNullName 0
testAddHeaderEmptyName 0.001
testSetSmtpPortZero 0
testEndOflineCharactersInSubjectAreReplacedWithSpaces 0
testSetCcNull 0
testSetSubjectValid 0.001
testSetBccEmpty 0
testAddCcBadEncoding 0
testGetSetCharset 0
testSetContentEmptyMimeMultipart 0
testSetToEmpty 0.001
testGetHeaders 0
testGetHeader 0
testAddBcc 0
testAddCc2 0.001
testAddTo2 0
testAddReplyToWithEncoding 0
testSetHeaderEmptyValue 0.001
testSetToNull 0
testSetFromWithEncoding 0
testGetSetSentDate 0
testSetHeaderEmptyName 0
testSetFrom 0
testSetBcc 0
testSendNoHostName 0.002
testAddCcArray 0
testDefaultCharsetIgnoredByNonTextContent 0.002
testSendCorrectSmtpPortContainedInException 0.009
testAddToBadEncoding 0.001
testSetBccNull 0
testAddBccWithEncoding 0
testSetPopBeforeSmtp 0.001
testSetFrom2 0

DefaultAuthenticatorTest

testDefaultAuthenticatorConstructor 0

DataSourceClassPathResolverTest

testResolvingClassPathNonLenient 0
testResolvingClassPathLenient 0.001

HtmlEmailTest

testGetSetMsg 0.057
testSend 0.188
testGetSetTextMsg 0.002
testGetSetHtmlMsg 0.002
testEmbedUrl 0.295
testEmbedFile 0.005
testEmbedUrlAndFile 0.005
testEmbedDataSource 0.005
testSend2 0.039
testSendWithDefaultCharset 0
skipped
testAddZipUrl 0.016
testCallingBuildMimeMessageBeforeSent 0.009
testSendWithPlainTextButNoHtmlContent 0.025
testEmbedFileWithCID 0.004
testHtmlMailMimeLayout 0.036

SimpleEmailTest

testSend 0.312
testDefaultMimeCharset 0
skipped
testGetSetMsg 0

MultiPartEmailTest

testSend 0.235
testSetMsg 0.008
testAttach 0.318
testAttach2 0.004
testAttach3 0.027
testAttachFileLocking 0.003
testAddPart 0.003
testAddPart2 0.003
testGetContainer 0.004
testInit 0
testGetSetSubType 0.003

InvalidInternetAddressTest

testValidateMethod 0
testValidateMethodCharset 0
testStrictConstructor 0

DataSourceUrlResolverTest

testResolvingHttpLenient 0.252
testResolvingHttpNonLenient 0.063
testResolvingFilesLenient 0.001

EmailLiveTest

testSimpleEmail 0
testMultiPartEmail 0
testImageHtmlEmailLocal 0.009
testPartialSend 0.001
testSendingEmailsInBatch 0.002
testCorrectCharacterEncoding 0.003
testHtmlMailMimeLayout 0.01
testFoldedHeaderValue 0.002
testImageHtmlEmailRemote 0

SendWithAttachmentsTest

testSendWAttachments 0.014
testSendNoAttachments 0.017

InvalidAddressTest

testAddInvalidCc 0.001
testAddInvalidTo 0.001
testSetInvalidFrom 0.001
testAddInvalidBcc 0.001

EmailUtilsTest

testUrlEncoding 0
testClearEndOfLineCharacters 0

EmailAttachmentTest

testGetSetName 0
testGetSetPath 0
testGetSetDisposition 0
testGetSetURL 0.003
testGetSetDescription 0.001

ImageHtmlEmailTest

testSendHtml 36.144
testSendEmptyHTML 0.003
testSendEmptyHTML2 0.002
testSendHtmlUrl 0.257
testSendHTMLAbsoluteLocalFile 0.047
testSendHTMLClassPathFile 0.078
testSendClassPathFileWithNullName 0.073
testSendHTMLAutoResolveFile 0.048
testSendHTMLAutoResolveMultipleFiles 0.079
testRegex 0.003
testEmail127 0.223
testGetSetMsg 0.016
testSend 0.047
testGetSetTextMsg 0.002
testGetSetHtmlMsg 0.003
testEmbedUrl 0.452
testEmbedFile 0.006
testEmbedUrlAndFile 0.005
testEmbedDataSource 0.006
testSend2 0.043
testSendWithDefaultCharset 0
skipped
testAddZipUrl 0.016
testCallingBuildMimeMessageBeforeSent 0.012
testSendWithPlainTextButNoHtmlContent 0.018
testEmbedFileWithCID 0.004
testHtmlMailMimeLayout 0.031

DataSourceCompositeResolverTest

testResolvingFilesLenient 0.087
testResolvingFilesNonLenient 0.014
testExternalModification 0

DataSourceFileResolverTest

testResolvingFileLenient 0.001
testResolvingFileNonLenient 0

MimeMessageParserTest

testMultipartTextAttachmentOnly 0
testParseHtmlEmailWithAttachments 0.016
testParseInlineCID 0.01
testParseCreatedHtmlEmailWithMixedContent 0
testMultipartTextAttachment 0.001
testParseHtmlEmailWithAttachmentAndEncodedFilename 0.002
testParseHtmlEmailWithHtmlAttachment 0
testAttachmentOnly 0.001
testParseSimpleReplyEmail 0.001
testParseMultipartReport 0.001
testParseCreatedHtmlEmailWithNoContent 0.001
testParseNoHeaderSeperatorWithOutOfMemory 0.001
testParseSimpleEmail 0.001
testParseCreatedHtmlEmailWithTextContent 0

Failure Details

[Summary] [Package List] [Test Cases]


testSendWithDefaultCharset
skipped: skipped
testDefaultMimeCharset
skipped: skipped
testSendWithDefaultCharset
skipped: skipped