A C G I M P R S T V W

A

addFrom(Address[]) - Method in class test.mock.mail.MockMessage
 
addHeader(String, String) - Method in class test.mock.mail.MockMessage
 
addRecipients(Message.RecipientType, Address[]) - Method in class test.mock.mail.MockMessage
 
addTransportListener(TransportListener) - Method in class test.mock.mail.MockTransport
 

C

constructMailServer(GenericValue) - Method in class test.mock.mail.server.MockMailServerManager
 

G

getAllHeaders() - Method in class test.mock.mail.MockMessage
 
getAuthenticator() - Method in class test.mock.mail.server.MockSMTPMailServer
 
getContent() - Method in class test.mock.mail.MockMessage
 
getContentType() - Method in class test.mock.mail.MockMessage
 
getDataHandler() - Method in class test.mock.mail.MockMessage
 
getDebug() - Method in class test.mock.mail.MockSession
 
getDefaultFrom() - Method in class test.mock.mail.server.MockSMTPMailServer
 
getDefaultInstance(Properties, Authenticator) - Method in class test.mock.mail.MockSession
 
getDefaultInstance(Properties) - Method in class test.mock.mail.MockSession
 
getDescription() - Method in class test.mock.mail.MockMessage
 
getDisposition() - Method in class test.mock.mail.MockMessage
 
getFileName() - Method in class test.mock.mail.MockMessage
 
getFlags() - Method in class test.mock.mail.MockMessage
 
getFolder() - Method in class test.mock.mail.MockSession
 
getFolder(Store) - Method in class test.mock.mail.MockSession
 
getFolder(URLName) - Method in class test.mock.mail.MockSession
 
getFrom() - Method in class test.mock.mail.MockMessage
 
getHeader(String) - Method in class test.mock.mail.MockMessage
 
getInputStream() - Method in class test.mock.mail.MockMessage
 
getInstance(Properties, Authenticator) - Method in class test.mock.mail.MockSession
 
getInstance(Properties) - Method in class test.mock.mail.MockSession
 
getLineCount() - Method in class test.mock.mail.MockMessage
 
getMailServerGV(Long) - Method in class test.mock.mail.server.MockMailServerManager
 
getMapFromColumns(MailServer) - Method in class test.mock.mail.server.MockMailServerManager
 
getMatchingHeaders(String[]) - Method in class test.mock.mail.MockMessage
 
getNonMatchingHeaders(String[]) - Method in class test.mock.mail.MockMessage
 
getPassword() - Method in class test.mock.mail.MockAuthenticator
 
getPasswordAuthentication() - Method in class test.mock.mail.MockAuthenticator
 
getPasswordAuthentication(URLName) - Method in class test.mock.mail.MockSession
 
getPrefix() - Method in class test.mock.mail.server.MockSMTPMailServer
 
getProperties() - Method in class test.mock.mail.MockSession
 
getProperty(String) - Method in class test.mock.mail.MockSession
 
getProvider(String) - Method in class test.mock.mail.MockSession
 
getProviders() - Method in class test.mock.mail.MockSession
 
getReceivedDate() - Method in class test.mock.mail.MockMessage
 
getRecipients(Message.RecipientType) - Method in class test.mock.mail.MockMessage
 
getSentDate() - Method in class test.mock.mail.MockMessage
 
getSession() - Method in class test.mock.mail.server.MockAbstractMailServer
 
getSession(Properties, Authenticator) - Method in class test.mock.mail.server.MockMailServerManager
 
getSession() - Method in class test.mock.mail.server.MockSMTPMailServer
 
getSize() - Method in class test.mock.mail.MockMessage
 
getStore() - Method in class test.mock.mail.MockSession
 
getStore(String) - Method in class test.mock.mail.MockSession
 
getStore(URLName) - Method in class test.mock.mail.MockSession
 
getStore(Provider) - Method in class test.mock.mail.MockSession
 
getSubject() - Method in class test.mock.mail.MockMessage
 
getTransport() - Method in class test.mock.mail.MockSession
 
getTransport(String) - Method in class test.mock.mail.MockSession
 
getTransport(Address) - Method in class test.mock.mail.MockSession
 
getTransport(Provider) - Method in class test.mock.mail.MockSession
 
getTransport(URLName) - Method in class test.mock.mail.MockSession
 
getType() - Method in class test.mock.mail.server.MockAbstractMailServer
 
getUsername() - Method in class test.mock.mail.MockAuthenticator
 
getWrappedSession() - Method in class test.mock.mail.MockSession
 

I

isMimeType(String) - Method in class test.mock.mail.MockMessage
 

M

MockAbstractMailServer - class test.mock.mail.server.MockAbstractMailServer.
 
MockAbstractMailServer(Long, String, String, String, String, String) - Constructor for class test.mock.mail.server.MockAbstractMailServer
 
MockAuthenticator - class test.mock.mail.MockAuthenticator.
 
MockAuthenticator(String, String) - Constructor for class test.mock.mail.MockAuthenticator
 
MockMailServerManager - class test.mock.mail.server.MockMailServerManager.
 
MockMailServerManager() - Constructor for class test.mock.mail.server.MockMailServerManager
 
MockMessage - class test.mock.mail.MockMessage.
A dummy Message implementation for testing.
MockMessage() - Constructor for class test.mock.mail.MockMessage
 
MockSMTPMailServer - class test.mock.mail.server.MockSMTPMailServer.
 
MockSMTPMailServer(Long, String, String, String, String, boolean, String, String, String) - Constructor for class test.mock.mail.server.MockSMTPMailServer
 
MockSession - class test.mock.mail.MockSession.
 
MockSession() - Constructor for class test.mock.mail.MockSession
 
MockTransport - class test.mock.mail.MockTransport.
 
MockTransport() - Constructor for class test.mock.mail.MockTransport
 

P

parseAddresses(String) - Method in class test.mock.mail.server.MockSMTPMailServer
 

R

removeHeader(String) - Method in class test.mock.mail.MockMessage
 
removeTransportListener(TransportListener) - Method in class test.mock.mail.MockTransport
 
reply(boolean) - Method in class test.mock.mail.MockMessage
 
requestPasswordAuthentication(InetAddress, int, String, String, String) - Method in class test.mock.mail.MockSession
 

S

saveChanges() - Method in class test.mock.mail.MockMessage
 
send(Message) - Method in class test.mock.mail.MockTransport
 
send(Message, Address[]) - Method in class test.mock.mail.MockTransport
 
send(Email) - Method in class test.mock.mail.server.MockSMTPMailServer
 
sendMessage(Message, Address[]) - Method in class test.mock.mail.MockTransport
 
setContent(Multipart) - Method in class test.mock.mail.MockMessage
 
setContent(Object, String) - Method in class test.mock.mail.MockMessage
 
setDataHandler(DataHandler) - Method in class test.mock.mail.MockMessage
 
setDebug(boolean) - Method in class test.mock.mail.MockSession
 
setDefaultFrom(String) - Method in class test.mock.mail.server.MockSMTPMailServer
 
setDescription(String) - Method in class test.mock.mail.MockMessage
 
setDescription(String) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setDisposition(String) - Method in class test.mock.mail.MockMessage
 
setExpectedDebug(boolean) - Method in class test.mock.mail.MockSession
 
setExpectedMessage(Message) - Method in class test.mock.mail.MockTransport
 
setFileName(String) - Method in class test.mock.mail.MockMessage
 
setFlags(Flags, boolean) - Method in class test.mock.mail.MockMessage
 
setFrom() - Method in class test.mock.mail.MockMessage
 
setFrom(Address) - Method in class test.mock.mail.MockMessage
 
setHeader(String, String) - Method in class test.mock.mail.MockMessage
 
setHostname(String) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setId(Long) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setName(String) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setPassword(String) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setPasswordAuthentication(URLName, PasswordAuthentication) - Method in class test.mock.mail.MockSession
 
setPrefix(String) - Method in class test.mock.mail.server.MockSMTPMailServer
 
setProvider(Provider) - Method in class test.mock.mail.MockSession
 
setRecipients(Message.RecipientType, Address[]) - Method in class test.mock.mail.MockMessage
 
setSentDate(Date) - Method in class test.mock.mail.MockMessage
 
setSessionServer(boolean) - Method in class test.mock.mail.server.MockSMTPMailServer
 
setSubject(String) - Method in class test.mock.mail.MockMessage
 
setText(String) - Method in class test.mock.mail.MockMessage
 
setUp() - Method in class test.atlassian.mail.TestMailUtils
 
setUp() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
setUsername(String) - Method in class test.mock.mail.server.MockAbstractMailServer
 
setupGetTransport(Transport) - Method in class test.mock.mail.MockSession
 

T

TestAbstractMailServer - class test.atlassian.mail.server.TestAbstractMailServer.
 
TestAbstractMailServer(String) - Constructor for class test.atlassian.mail.server.TestAbstractMailServer
 
TestConfigLoader - class test.atlassian.mail.config.TestConfigLoader.
Created by IntelliJ IDEA.
TestConfigLoader() - Constructor for class test.atlassian.mail.config.TestConfigLoader
 
TestEmail - class test.atlassian.mail.TestEmail.
 
TestEmail() - Constructor for class test.atlassian.mail.TestEmail
 
TestHtmlToTextConverter - class test.atlassian.mail.TestHtmlToTextConverter.
 
TestHtmlToTextConverter() - Constructor for class test.atlassian.mail.TestHtmlToTextConverter
 
TestMailFactory - class test.atlassian.mail.TestMailFactory.
 
TestMailFactory(String) - Constructor for class test.atlassian.mail.TestMailFactory
 
TestMailServerManager - class test.atlassian.mail.server.TestMailServerManager.
 
TestMailServerManager(String) - Constructor for class test.atlassian.mail.server.TestMailServerManager
 
TestMailUtils - class test.atlassian.mail.TestMailUtils.
 
TestMailUtils(String) - Constructor for class test.atlassian.mail.TestMailUtils
 
TestMessageCreator - class test.atlassian.mail.server.util.TestMessageCreator.
 
TestMessageCreator() - Constructor for class test.atlassian.mail.server.util.TestMessageCreator
 
TestOFBizMailServerManager - class test.atlassian.mail.server.managers.TestOFBizMailServerManager.
 
TestOFBizMailServerManager(String) - Constructor for class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
TestSMTPMailServer - class test.atlassian.mail.server.TestSMTPMailServer.
Mails are basically sent by the thisSession.getTransport("smtp").send() method in the SMTPMailServerImpl class We have created an MockSMTPMailServer class that extends SMTPMailServerImpl but overrides the getSession() to return our MockSession.
TestSMTPMailServer(String) - Constructor for class test.atlassian.mail.server.TestSMTPMailServer
 
TestXMLMailServerManager - class test.atlassian.mail.server.managers.TestXMLMailServerManager.
 
TestXMLMailServerManager() - Constructor for class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
tearDown() - Method in class test.atlassian.mail.TestMailUtils
 
tearDown() - Method in class test.atlassian.mail.server.TestMailServerManager
 
test.atlassian.mail - package test.atlassian.mail
 
test.atlassian.mail.config - package test.atlassian.mail.config
 
test.atlassian.mail.server - package test.atlassian.mail.server
 
test.atlassian.mail.server.managers - package test.atlassian.mail.server.managers
 
test.atlassian.mail.server.util - package test.atlassian.mail.server.util
 
test.mock.mail - package test.mock.mail
 
test.mock.mail.server - package test.mock.mail.server
 
testBinaryAttachmentPartContentIsEmpty() - Method in class test.atlassian.mail.TestMailUtils
 
testBinaryAttachmentPartContentIsNotEmpty() - Method in class test.atlassian.mail.TestMailUtils
 
testConstructMailServer1() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testConstructMailServer1() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testConstructMailServer2() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testConstructMailServer2() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testConstructMailServer3() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testConstructMailServer3() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testConstructMailServer4() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testConstructMailServer4() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testConstructor() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testConstructor1() - Method in class test.atlassian.mail.server.TestAbstractMailServer
 
testConstructor2() - Method in class test.atlassian.mail.server.TestAbstractMailServer
 
testCreateAttachmentMimeBodyPartFileNames() - Method in class test.atlassian.mail.TestMailUtils
 
testCreateAttachmentMimeBodyPartFileNames2() - Method in class test.atlassian.mail.TestMailUtils
 
testCreateSMTPAndGet() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testCreateSMTPAndGet() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testDefaultFromContainsPersonalName() - Method in class test.atlassian.mail.server.util.TestMessageCreator
 
testDeleteMailServer() - Method in class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
testDeleteSMTP() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testDeleteSMTP() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testFactory() - Method in class test.atlassian.mail.TestMailFactory
 
testForRequiredFields() - Method in class test.atlassian.mail.TestEmail
 
testFromNameOverriddenByDefaultFromName() - Method in class test.atlassian.mail.server.util.TestMessageCreator
 
testGetAttachmentsHasAttachments() - Method in class test.atlassian.mail.TestMailUtils
 
testGetAttachmentsIfContentEncodingIsNotSupported() - Method in class test.atlassian.mail.TestMailUtils
 
testGetAttachmentsNoAttachments() - Method in class test.atlassian.mail.TestMailUtils
 
testGetAuthorFromSender() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBody() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyHtml() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartAlternativeGetsTextMatch() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartGetsFirstTextMatch() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartGetsHtmlIfNoText() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartMixed() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartMixedWithLotsOfTextAndHtml() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyMultipartNoMatch() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyText() - Method in class test.atlassian.mail.TestMailUtils
 
testGetBodyTextIfContentEncodingUnsupported() - Method in class test.atlassian.mail.TestMailUtils
 
testGetContentTypeFromHeaderValue() - Method in class test.atlassian.mail.TestMailUtils
 
testGetContentTypeFromHeaderValueWithParameter() - Method in class test.atlassian.mail.TestMailUtils
 
testGetDefaultPopMailServer() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetDefaultSMTPMailServer() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetFirstValidUser() - Method in class test.atlassian.mail.TestMailUtils
 
testGetJNDIServer() - Method in class test.atlassian.mail.server.TestSMTPMailServer
Test case to verify JRA-1436
testGetMailServerGV() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testGetMailServerGV() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetManager() - Method in class test.atlassian.mail.config.TestConfigLoader
 
testGetMapFromColumns1() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testGetMapFromColumns1() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetMapFromColumns2() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testGetMapFromColumns2() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetMapFromColumns3() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testGetMapFromColumns3() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testGetSenders() - Method in class test.atlassian.mail.TestMailUtils
Creating edge cases for this test is difficult because the mail api tries to stop you doing funky things with nulls, blanks and padded values for addresses.
testGetSessionNoUser() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testGetSessionWithUser() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testGetsSets() - Method in class test.atlassian.mail.server.TestAbstractMailServer
 
testGetsSets() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testHasRecipient() - Method in class test.atlassian.mail.TestMailUtils
 
testIdGenerationScheme() - Method in class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
testIgnoreHeader() - Method in class test.atlassian.mail.TestHtmlToTextConverter
 
testIncorrectJndiClass() - Method in class test.atlassian.mail.server.TestSMTPMailServer
Test that if the class at the specified jndi location is not of the correct type, that an illegalargument exception is thrown.
testInlineAttachment() - Method in class test.atlassian.mail.TestMailUtils
 
testInlineAttachmentThatIsntBase64Encoded() - Method in class test.atlassian.mail.TestMailUtils
This test tests the oddf case where a part has a content-id but is not base64 encoded(aka binary) and therefore fails to be recognised as a probable inline part.
testIsAttachmentPart() - Method in class test.atlassian.mail.TestMailUtils
 
testIsHtmlPart() - Method in class test.atlassian.mail.TestMailUtils
 
testIsImageAttachedPart() - Method in class test.atlassian.mail.TestMailUtils
 
testIsInlineImagePart() - Method in class test.atlassian.mail.TestMailUtils
 
testIsInlineImagePartWherePartHasDisposition() - Method in class test.atlassian.mail.TestMailUtils
 
testIsPlainTextPart() - Method in class test.atlassian.mail.TestMailUtils
 
testIsRelatedPart() - Method in class test.atlassian.mail.TestMailUtils
 
testMailServers() - Method in class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
testNegativePartIsSignature() - Method in class test.atlassian.mail.TestMailUtils
 
testOfbizMailConfig() - Method in class test.atlassian.mail.config.TestConfigLoader
 
testParagraphsAndBreaks() - Method in class test.atlassian.mail.TestHtmlToTextConverter
 
testParseAddressPass(String) - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testParseAddresses() - Method in class test.atlassian.mail.TestMailUtils
 
testPositivePartIsSignature() - Method in class test.atlassian.mail.TestMailUtils
 
testSend() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testSendFail() - Method in class test.atlassian.mail.server.TestSMTPMailServer
Following tests moved over from TestMailFactory (since all send methods have been removed from there
testSendMail1() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testSendMail2() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testSendMail3() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testSendWithAttachment() - Method in class test.atlassian.mail.server.TestSMTPMailServer
 
testSetters() - Method in class test.atlassian.mail.TestEmail
 
testTestMailServers() - Method in class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
testTextPartContentIsEmpty() - Method in class test.atlassian.mail.TestMailUtils
 
testTextPartContentIsEmptyBecauseContainsOnlyWhitespace() - Method in class test.atlassian.mail.TestMailUtils
 
testTextPartContentIsEmptyOnNullContent() - Method in class test.atlassian.mail.TestMailUtils
 
testUpdateMailServer() - Method in class test.atlassian.mail.server.managers.TestXMLMailServerManager
 
testUpdateSMTP() - Method in class test.atlassian.mail.server.TestMailServerManager
 
testUpdateSMTP() - Method in class test.atlassian.mail.server.managers.TestOFBizMailServerManager
 
testXHTMLBreaks() - Method in class test.atlassian.mail.TestHtmlToTextConverter
There is a bug in JDK prior to 1.6 whereby this html "Some
text" would be converted to "Some\n>text" instead of "Some\ntext".

V

verify() - Method in class test.mock.mail.MockTransport
 

W

writeTo(OutputStream) - Method in class test.mock.mail.MockMessage
 

A C G I M P R S T V W

Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.