public class SmtpConnectorTestCase extends AbstractMailConnectorFunctionalTestCase
dynamicPort, EMAIL, LOCALHOST, MESSAGE, NO_INITIAL_EMAIL, PASSWORD, PROVIDER, SEND_INITIAL_EMAIL, START_ATTEMPTS, STARTUP_PERIOD_MS, TEST_ATTEMPTS, USER
connectorName, encoding
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
|
SmtpConnectorTestCase() |
protected |
SmtpConnectorTestCase(boolean initialEmail,
String protocol) |
Modifier and Type | Method and Description |
---|---|
Connector |
createConnector() |
void |
testConnectorListenerSupport()
The SmtpConnector does not accept listeners, so the test in the superclass makes no sense
here.
|
void |
testConnectorRestart() |
void |
testNullUsernameAndPassword() |
void |
testSend() |
void |
testSmtpDoesNotSupportOutboundEndpoints() |
protected boolean |
transformInboundMessage() |
assertMessageOk, doSetUp, doTearDown, getServers, getTestEndpointURI, getValidMessage, uniqueName
getConnector, getConnectorAndAssert, testConnectorBeanProps, testConnectorExceptionHandling, testConnectorInitialise, testConnectorLifecycle, testConnectorMessageDispatcherFactory, testConnectorMessageRequesterFactory, testConnectorMuleMessageFactory
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public SmtpConnectorTestCase()
protected SmtpConnectorTestCase(boolean initialEmail, String protocol)
public Connector createConnector() throws Exception
createConnector
in class AbstractConnectorTestCase
Exception
protected boolean transformInboundMessage()
transformInboundMessage
in class AbstractMailConnectorFunctionalTestCase
public void testConnectorListenerSupport() throws Exception
testConnectorListenerSupport
in class AbstractConnectorTestCase
Exception
public void testSmtpDoesNotSupportOutboundEndpoints() throws MuleException
MuleException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.