public abstract class AbstractReceivingMailConnectorTestCase extends AbstractMailConnectorFunctionalTestCase
AbstractMailConnectorFunctionalTestCase.getTestEndpointURI()
) this waits for up to 10 seconds,
hoping to receive the message stored in the mail server. It also runs the unit tests
defined way down in AbstractConnectorTestCase
.Modifier and Type | Field and Description |
---|---|
static int |
POLL_PERIOD_MS |
static int |
WAIT_PERIOD_MS |
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 |
---|---|
protected |
AbstractReceivingMailConnectorTestCase(String protocol) |
Modifier and Type | Method and Description |
---|---|
protected static Map |
newEmailToStringServiceOverrides() |
void |
testReceiver() |
assertMessageOk, doSetUp, doTearDown, getServers, getTestEndpointURI, getValidMessage, transformInboundMessage, uniqueName
createConnector, getConnector, getConnectorAndAssert, testConnectorBeanProps, testConnectorExceptionHandling, testConnectorInitialise, testConnectorLifecycle, testConnectorListenerSupport, 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 static final int POLL_PERIOD_MS
public static final int WAIT_PERIOD_MS
protected AbstractReceivingMailConnectorTestCase(String protocol)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.