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% 26.523

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% 20.43
org.apache.commons.mail.resolver 10 0 0 0 100% 5.665
org.apache.commons.mail.util 20 0 0 0 100% 0.428

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
ImageHtmlEmailTest 26 0 0 1 96.154% 14.336
HtmlEmailTest 15 0 0 1 93.333% 2.913
EmailLiveTest 9 0 0 0 100% 0.203
SimpleEmailTest 3 0 0 1 66.667% 0.08
EmailUtilsTest 2 0 0 0 100% 0
EmailAttachmentTest 5 0 0 0 100% 0.152
SendWithAttachmentsTest 2 0 0 0 100% 0.157
MultiPartEmailTest 11 0 0 0 100% 2.022
InvalidInternetAddressTest 3 0 0 0 100% 0
InvalidAddressTest 4 0 0 0 100% 0.059
DefaultAuthenticatorTest 1 0 0 0 100% 0
EmailTest 79 0 0 0 100% 0.508

org.apache.commons.mail.resolver

Class Tests Errors Failures Skipped Success Rate Time
DataSourceCompositeResolverTest 3 0 0 0 100% 1.057
DataSourceUrlResolverTest 3 0 0 0 100% 4.565
DataSourceFileResolverTest 2 0 0 0 100% 0.043
DataSourceClassPathResolverTest 2 0 0 0 100% 0

org.apache.commons.mail.util

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

Test Cases

[Summary] [Package List] [Test Cases]

ImageHtmlEmailTest

testSendHtml 4.051
testSendEmptyHTML 0
testSendEmptyHTML2 0
testSendHtmlUrl 1.815
testSendHTMLAbsoluteLocalFile 0.187
testSendHTMLClassPathFile 0.154
testSendClassPathFileWithNullName 0.161
testSendHTMLAutoResolveFile 1.014
testSendHTMLAutoResolveMultipleFiles 0.158
testRegex 0
testEmail127 1.634
testGetSetHtmlMsg 0.042
testGetSetMsg 0.041
testEmbedUrl 0.811
testEmbedFile 0.026
testEmbedUrlAndFile 0.019
testEmbedDataSource 0
testSend 0.344
testSend2 0.147
testSendWithDefaultCharset 0
skipped
testAddZipUrl 0.068
testCallingBuildMimeMessageBeforeSent 0.021
testSendWithPlainTextButNoHtmlContent 0.087
testEmbedFileWithCID 0
testHtmlMailMimeLayout 0.103
testGetSetTextMsg 0

HtmlEmailTest

testGetSetHtmlMsg 0.077
testGetSetMsg 0.023
testEmbedUrl 0.668
testEmbedFile 0.023
testEmbedUrlAndFile 0
testEmbedDataSource 0
testSend 0.437
testSend2 0.164
testSendWithDefaultCharset 0
skipped
testAddZipUrl 0.045
testCallingBuildMimeMessageBeforeSent 0
testSendWithPlainTextButNoHtmlContent 0.066
testEmbedFileWithCID 0
testHtmlMailMimeLayout 0.105
testGetSetTextMsg 0.001

EmailLiveTest

testSimpleEmail 0.042
testMultiPartEmail 0.014
testImageHtmlEmailLocal 0.015
testPartialSend 0
testSendingEmailsInBatch 0.02
testCorrectCharacterEncoding 0
testHtmlMailMimeLayout 0.04
testFoldedHeaderValue 0
testImageHtmlEmailRemote 0

SimpleEmailTest

testSend 0.08
testDefaultMimeCharset 0
skipped
testGetSetMsg 0

DataSourceCompositeResolverTest

testResolvingFilesLenient 0.825
testResolvingFilesNonLenient 0.232
testExternalModification 0

DataSourceUrlResolverTest

testResolvingHttpLenient 3.685
testResolvingHttpNonLenient 0.879
testResolvingFilesLenient 0

DataSourceFileResolverTest

testResolvingFileLenient 0.042
testResolvingFileNonLenient 0

DataSourceClassPathResolverTest

testResolvingClassPathNonLenient 0
testResolvingClassPathLenient 0

EmailUtilsTest

testUrlEncoding 0
testClearEndOfLineCharacters 0

IDNEmailAddressConverterTest

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

MimeMessageParserTest

testMultipartTextAttachmentOnly 0
testParseHtmlEmailWithAttachments 0.092
testParseInlineCID 0.023
testParseCreatedHtmlEmailWithMixedContent 0
testMultipartTextAttachment 0
testParseHtmlEmailWithAttachmentAndEncodedFilename 0
testParseHtmlEmailWithHtmlAttachment 0
testAttachmentOnly 0
testParseSimpleReplyEmail 0
testParseMultipartReport 0
testParseCreatedHtmlEmailWithNoContent 0
testParseNoHeaderSeperatorWithOutOfMemory 0.016
testParseSimpleEmail 0
testParseCreatedHtmlEmailWithTextContent 0

EmailAttachmentTest

testGetSetName 0
testGetSetPath 0
testGetSetDisposition 0
testGetSetURL 0.152
testGetSetDescription 0

SendWithAttachmentsTest

testSendWAttachments 0.084
testSendNoAttachments 0.073

MultiPartEmailTest

testSend 0.437
testSetMsg 0
testAttach 0.608
testAttach2 0.03
testAttach3 0.051
testAttachFileLocking 0
testAddPart 0
testAddPart2 0.025
testGetContainer 0
testInit 0
testGetSetSubType 0

InvalidInternetAddressTest

testValidateMethod 0
testValidateMethodCharset 0
testStrictConstructor 0

InvalidAddressTest

testAddInvalidCc 0
testAddInvalidTo 0
testSetInvalidFrom 0
testAddInvalidBcc 0.059

DefaultAuthenticatorTest

testDefaultAuthenticatorConstructor 0

EmailTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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