Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
75 0 0 0 100% 0.462

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.mail 75 0 0 0 100% 0.462

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
InvalidAddressTest 4 0 0 0 100% 0.004
InvalidInternetAddressTest 3 0 0 0 100% 0.006
SendWithAttachmentsTest 2 0 0 0 100% 0.028
MultiPartEmailTest 10 0 0 0 100% 0.018
SimpleEmailTest 2 0 0 0 100% 0.011
DefaultAuthenticatorTest 1 0 0 0 100% 0.001
HtmlEmailTest 9 0 0 0 100% 0.117
EmailAttachmentTest 5 0 0 0 100% 0.007
EmailTest 39 0 0 0 100% 0.27

Test Cases

InvalidAddressTest

testSetInvalidFrom 0.001
testAddInvalidTo 0.001
testAddInvalidCc 0
testAddInvalidBcc 0.001

InvalidInternetAddressTest

testStrictConstructor 0.001
testValidateMethod 0.003
testValidateMethodCharset 0.001

SendWithAttachmentsTest

testSendNoAttachments 0.012
testSendWAttachments 0.015

MultiPartEmailTest

testSend 0.012
testSetMsg 0
testAttach 0.001
testAttach2 0.001
testAttach3 0
testAddPart 0
testAddPart2 0
testGetContainer 0
testInit 0
testGetSetSubType 0

SimpleEmailTest

testGetSetMsg 0.001
testSend 0.009

DefaultAuthenticatorTest

testDefaultAuthenticatorConstructor 0.001

HtmlEmailTest

testGetSetMsg 0.002
testSend 0.071
testGetSetTextMsg 0
testGetSetHtmlMsg 0
testEmbedUrl 0.011
testEmbedFile 0.001
testEmbedUrlAndFile 0.001
testEmbedDataSource 0
testSend2 0.025

EmailAttachmentTest

testGetSetDescription 0
testGetSetName 0
testGetSetPath 0
testGetSetURL 0.003
testGetSetDisposition 0.001

EmailTest

testGetSetDebug 0.007
testGetSetSession 0.013
testGetSetAuthentication 0.001
testGetSetAuthenticator 0.001
testGetSetCharset 0
testSetContentMimeMultipart 0.025
testSetContentObject 0.002
testGetSetHostName 0
testGetSetSmtpPort 0
testSetFrom 0.001
testSetFromWithEncoding 0.001
testSetFrom2 0.022
testAddTo 0.001
testAddToWithEncoding 0
testAddTo2 0.005
testSetTo 0.002
testAddCc 0
testAddCcWithEncoding 0
testAddCc2 0.003
testSetCc 0
testAddBcc 0
testAddBccWithEncoding 0
testAddBcc2 0.002
testSetBcc 0
testAddReplyTo 0
testAddReplyToWithEncoding 0.001
testAddReplyTo2 0.002
testAddHeader 0
testAddHeaderEx 0
testSetHeaders 0
testSetHeadersEx 0
testSetSubject 0
testSendEx 0.126
testGetSetSentDate 0
testToInternetAddressArray 0
testSetPopBeforeSmtp 0
testDefaultCharsetAppliesToTextContent 0.004
testDefaultCharsetCanBeOverriddenByContentType 0.003
testDefaultCharsetIgnoredByNonTextContent 0.004