Summary

Tests Errors Failures Skipped Success Rate Time
102 0 0 0 100% 0.849

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
test.atlassian.mail.server 29 0 0 0 100% 0.593
test.atlassian.mail 50 0 0 0 100% 0.17
test.atlassian.mail.config 2 0 0 0 100% 0.053
test.atlassian.mail.server.managers 19 0 0 0 100% 0.03
test.atlassian.mail.server.util 2 0 0 0 100% 0.003

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

test.atlassian.mail.server

Class Tests Errors Failures Skipped Success Rate Time
TestAbstractMailServer 4 0 0 0 100% 0.005
TestMailServerManager 12 0 0 0 100% 0.034
TestSMTPMailServer 13 0 0 0 100% 0.554

test.atlassian.mail

Class Tests Errors Failures Skipped Success Rate Time
TestEmail 3 0 0 0 100% 0.001
TestHtmlToTextConverter 3 0 0 0 100% 0.003
TestMailFactory 2 0 0 0 100% 0.006
TestMailUtils 42 0 0 0 100% 0.16

test.atlassian.mail.config

Class Tests Errors Failures Skipped Success Rate Time
TestConfigLoader 2 0 0 0 100% 0.053

test.atlassian.mail.server.managers

Class Tests Errors Failures Skipped Success Rate Time
TestOFBizMailServerManager 14 0 0 0 100% 0.019
TestXMLMailServerManager 5 0 0 0 100% 0.011

test.atlassian.mail.server.util

Class Tests Errors Failures Skipped Success Rate Time
TestMessageCreator 2 0 0 0 100% 0.003

Test Cases

TestConfigLoader

testGetManager 0.05
testOfbizMailConfig 0.002

TestOFBizMailServerManager

testCreateSMTPAndGet 0
testUpdateSMTP 0.001
testDeleteSMTP 0
testGetMailServerGV 0
testConstructMailServer1 0
testConstructMailServer2 0
testConstructMailServer3 0
testConstructMailServer4 0
testGetMapFromColumns1 0
testGetMapFromColumns2 0
testGetMapFromColumns3 0
testGetDefaultSMTPMailServer 0.007
testGetDefaultPopMailServer 0.006
testNothing 0

TestXMLMailServerManager

testMailServers 0.002
testTestMailServers 0.002
testDeleteMailServer 0.003
testUpdateMailServer 0.002
testIdGenerationScheme 0.002

TestAbstractMailServer

testConstructor1 0.001
testConstructor2 0
testGetsSets 0
testNothing 0

TestMailServerManager

testCreateSMTPAndGet 0
testUpdateSMTP 0.001
testDeleteSMTP 0.001
testGetMailServerGV 0.001
testConstructMailServer1 0
testConstructMailServer2 0
testConstructMailServer3 0.001
testConstructMailServer4 0
testGetMapFromColumns1 0
testGetMapFromColumns2 0
testGetMapFromColumns3 0
testNothing 0

TestSMTPMailServer

testConstructor 0.274
testGetsSets 0
testGetSessionNoUser 0.004
testGetSessionWithUser 0.037
testSend 0.062
testSendWithAttachment 0.03
testGetJNDIServer 0.002
testIncorrectJndiClass 0.001
testSendFail 0.04
testSendMail1 0
testSendMail2 0.001
testSendMail3 0.001
testNothing 0

TestMessageCreator

testDefaultFromContainsPersonalName 0.001
testFromNameOverriddenByDefaultFromName 0.001

TestEmail

testSetters 0.001
testHeaders 0
testForRequiredFields 0

TestHtmlToTextConverter

testParagraphsAndBreaks 0
testXHTMLBreaks 0.001
testIgnoreHeader 0

TestMailFactory

testFactory 0.003
testNothing 0

TestMailUtils

testGetAttachmentWithMissingDisposition 0.026
testEmptyBodyPart 0.009
testParseAddresses 0.001
testGetBody 0.001
testGetBodyWithDifferentContentTypes 0.013
testGetAuthorFromSender 0.005
testGetFirstValidUser 0.001
testGetSenders 0.002
testHasRecipient 0
testCreateAttachmentMimeBodyPartFileNames 0
testCreateAttachmentMimeBodyPartFileNames2 0
testGetBodyText 0
testGetBodyTextIfContentEncodingUnsupported 0.013
testGetBodyHtml 0.001
testGetBodyMultipartAlternativeGetsTextMatch 0.002
testGetBodyMultipartGetsFirstTextMatch 0.001
testGetBodyMultipartGetsHtmlIfNoText 0.001
testGetBodyMultipartNoMatch 0.001
testGetBodyMultipartMixed 0.001
testGetBodyMultipartMixedWithLotsOfTextAndHtml 0.005
testGetAttachmentsNoAttachments 0.002
testGetAttachmentsIfContentEncodingIsNotSupported 0.005
testGetAttachmentsHasAttachments 0.003
testGetContentTypeFromHeaderValue 0
testGetContentTypeFromHeaderValueWithParameter 0
testIsPlainTextPart 0.001
testIsHtmlPart 0.001
testIsImageAttachedPart 0.002
testIsInlineImagePart 0.001
testIsInlineImagePartWherePartHasDisposition 0.004
testIsAttachmentPart 0.018
testIsRelatedPart 0.001
testPositivePartIsSignature 0.001
testNegativePartIsSignature 0
testTextPartContentIsEmpty 0
testTextPartContentIsEmptyOnNullContent 0
testTextPartContentIsEmptyBecauseContainsOnlyWhitespace 0
testBinaryAttachmentPartContentIsEmpty 0.001
testBinaryAttachmentPartContentIsNotEmpty 0
testInlineAttachment 0
testInlineAttachmentThatIsntBase64Encoded 0
testNothing 0