org.mule.transport.email.functional
Class AbstractEmailFunctionalTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.tck.AbstractServiceAndFlowTestCase
org.mule.transport.email.functional.AbstractEmailFunctionalTestCase
- Direct Known Subclasses:
- ImapCustomSeenHandlingTestCase, ImapFunctionalTestCase, ImapFunctionalWithAttachmentsTestCase, ImapMimeFunctionalTestCase, ImapsFunctionalTestCase, ImapWithAddressConfigFunctionalTestCase, NonInfiniteMoveToCopiesMule6069TestCase, Pop3FunctionalTestCase, Pop3MimeFunctionalTestCase, Pop3MimeNonAsciiFunctionalTestCase, Pop3MimeWithConnectorMule2042TestCase, Pop3NonAsciiFunctionalTestCase, Pop3sFunctionalTestCase, Pop3WithConnectorMule2042TestCase, SmtpAttachmentsFunctionalInboundAttachmentsOnlyTestCase, SmtpAttachmentsFunctionalOutboundAttachmentsOnlyTestCase, SmtpAttachmentsFunctionalTestCase, SmtpFunctionalTestCase, SmtpMimeFunctionalTestCase, SmtpMimeNonAsciiFunctionalTestCase, SmtpNonAsciiFunctionalTestCase, SmtpsFunctionalTestCase
public abstract class AbstractEmailFunctionalTestCase
- extends AbstractServiceAndFlowTestCase
Constructor Summary |
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol)
|
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
Locale locale,
String charset)
|
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources)
|
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
boolean addSmtp)
|
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
Locale locale,
String charset)
|
protected |
AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
String email,
String user,
String message,
String password,
String charset)
|
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow |
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext |
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIVERY_DELAY_MS
public static final long DELIVERY_DELAY_MS
- See Also:
- Constant Field Values
CONFIG_BASE
protected static final String CONFIG_BASE
- See Also:
- Constant Field Values
MIME_MESSAGE
protected static final boolean MIME_MESSAGE
- See Also:
- Constant Field Values
STRING_MESSAGE
protected static final boolean STRING_MESSAGE
- See Also:
- Constant Field Values
DEFAULT_EMAIL
protected static final String DEFAULT_EMAIL
- See Also:
- Constant Field Values
DEFAULT_USER
protected static final String DEFAULT_USER
- See Also:
- Constant Field Values
DEFAULT_MESSAGE
protected static final String DEFAULT_MESSAGE
- See Also:
- Constant Field Values
DEFAULT_PASSWORD
protected static final String DEFAULT_PASSWORD
- See Also:
- Constant Field Values
DEFAULT_PROCESSED_MAILBOX
protected static final String DEFAULT_PROCESSED_MAILBOX
- See Also:
- Constant Field Values
server
protected com.icegreen.greenmail.util.GreenMail server
setup
protected com.icegreen.greenmail.util.ServerSetup setup
smtpSetup
protected com.icegreen.greenmail.util.ServerSetup smtpSetup
dynamicPort1
public DynamicPort dynamicPort1
dynamicPort2
public DynamicPort dynamicPort2
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
Locale locale,
String charset)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
boolean addSmtp)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
Locale locale,
String charset)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
boolean isMimeMessage,
String protocol,
String configResources,
String email,
String user,
String message,
String password,
String charset)
createMuleContext
protected MuleContext createMuleContext()
throws Exception
- Overrides:
createMuleContext
in class AbstractMuleContextTestCase
- Throws:
Exception
doTearDown
public void doTearDown()
- Description copied from class:
AbstractMuleContextTestCase
- Enables the adding of extra behavior on the tear down stage of a test
before the mule context is disposed in
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
- Overrides:
doTearDown
in class AbstractMuleContextTestCase
doSend
protected void doSend()
throws Exception
- Throws:
Exception
verifyMessage
protected void verifyMessage(MimeMessage received)
throws Exception
- Throws:
Exception
verifyMessage
protected void verifyMessage(MimeMultipart mimeMultipart)
throws Exception
- Throws:
Exception
verifyMessage
protected void verifyMessage(String receivedText)
doRequest
protected void doRequest()
throws Exception
- Throws:
Exception
setAddAttachments
public void setAddAttachments(boolean addAttachments)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.