org.mule.transport.email.functional
Class AbstractEmailFunctionalTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.tck.DynamicPortTestCase
org.mule.transport.email.functional.AbstractEmailFunctionalTestCase
- All Implemented Interfaces:
- junit.framework.Test, TestCaseWatchdogTimeoutHandler
- Direct Known Subclasses:
- ImapCustomSeenHandlingTestCase, ImapFunctionalTestCase, ImapMimeFunctionalTestCase, ImapsFunctionalTestCase, ImapWithAddressConfigFunctionalTestCase, Pop3FunctionalTestCase, Pop3MimeFunctionalTestCase, Pop3MimeNonAsciiFunctionalTestCase, Pop3MimeWithConnectorMule2042TestCase, Pop3NonAsciiFunctionalTestCase, Pop3sFunctionalTestCase, Pop3WithConnectorMule2042TestCase, SmtpAttachmentsFunctionalInboundAttachmentsOnlyTestCase, SmtpAttachmentsFunctionalOutboundAttachmentsOnlyTestCase, SmtpAttachmentsFunctionalTestCase, SmtpFunctionalTestCase, SmtpMimeFunctionalTestCase, SmtpMimeNonAsciiFunctionalTestCase, SmtpNonAsciiFunctionalTestCase, SmtpsFunctionalTestCase
public abstract class AbstractEmailFunctionalTestCase
- extends DynamicPortTestCase
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary |
protected |
AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol)
|
protected |
AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
Locale locale,
String charset)
|
protected |
AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile)
|
protected |
AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile,
Locale locale,
String charset)
|
protected |
AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile,
String email,
String user,
String message,
String password,
String charset)
|
Methods inherited from class org.mule.tck.AbstractMuleTestCase |
addBuilders, checkPorts, configureMuleContext, createMuleContext, createObject, createObject, createTestInfo, createWatchdog, disposeManager, findFreePorts, getConfigurationResources, getPorts, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInboundEvent, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTimeoutSecs, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, giveTheTestSomeTimeToCleanUpAndThenKillIt, handleTimeout, initialiseObject, initTestTimeoutSecs, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isGracefulShutdown, isOffline, isPortFree, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setFailOnTimeout, setName, setStartContext, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, runTest, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
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
server
protected com.icegreen.greenmail.util.GreenMail server
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
Locale locale,
String charset)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile,
Locale locale,
String charset)
AbstractEmailFunctionalTestCase
protected AbstractEmailFunctionalTestCase(boolean isMimeMessage,
String protocol,
String configFile,
String email,
String user,
String message,
String password,
String charset)
getConfigResources
protected String getConfigResources()
- Specified by:
getConfigResources
in class FunctionalTestCase
suitePreSetUp
protected void suitePreSetUp()
throws Exception
- Description copied from class:
AbstractMuleTestCase
- Run before any testcase setup.
This is called once only before the test suite runs.
- Overrides:
suitePreSetUp
in class AbstractMuleTestCase
- Throws:
Exception
suitePostTearDown
protected void suitePostTearDown()
throws Exception
- Description copied from class:
AbstractMuleTestCase
- Run after all testcase teardowns.
This is called once only after all the tests in the suite have run.
- Overrides:
suitePostTearDown
in class AbstractMuleTestCase
- Throws:
Exception
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
getNumPortsToFind
protected int getNumPortsToFind()
- Specified by:
getNumPortsToFind
in class DynamicPortTestCase
setAddAttachments
public void setAddAttachments(boolean addAttachments)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.