public class AbstractImapRetrieveMessagesTestCase extends AbstractEmailFunctionalTestCase
Modifier and Type | Class and Description |
---|---|
static class |
AbstractImapRetrieveMessagesTestCase.StoreEmailsProcessor |
AbstractServiceAndFlowTestCase.ConfigVariant
Modifier and Type | Field and Description |
---|---|
int |
initialReadMessages |
static int |
POLL_DELAY_MILLIS |
protected static Collection<Object[]> |
READ_MESSAGES_PARAMETERS |
protected static Set<Object> |
retrievedMessages |
static int |
TIMEOUT_MILLIS |
CONFIG_BASE, DEFAULT_EMAIL, DEFAULT_MESSAGE, DEFAULT_PASSWORD, DEFAULT_PROCESSED_MAILBOX, DEFAULT_USER, DELIVERY_DELAY_MS, dynamicPort1, dynamicPort2, MIME_MESSAGE, server, setup, smtpSetup, STRING_MESSAGE
configResources, variant
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
Constructor and Description |
---|
AbstractImapRetrieveMessagesTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources,
int initialReadMessages) |
Modifier and Type | Method and Description |
---|---|
protected void |
generateAndStoreEmail()
Generates and store emails on the server.
|
void |
setUp() |
void |
testRetrieveEmails() |
createMuleContext, doRequest, doSend, doTearDown, setAddAttachments, storeEmail, verifyMessage, verifyMessage, verifyMessage
doSetUp, doSetUpForFlow, doSetUpForService, getConfigFile, getConfigFiles, getTestHeader
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowNonBlocking, runFlowNonBlocking, runFlowNonBlocking, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow, testFlowNonBlocking, testFlowNonBlocking
addBuilders, configureMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getConfigurationResources, getFileInsideWorkingDirectory, getNonBlockingResponse, getNonBlockingTestEventUsingFlow, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, 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, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
protected static final Collection<Object[]> READ_MESSAGES_PARAMETERS
public static final int POLL_DELAY_MILLIS
public static final int TIMEOUT_MILLIS
public int initialReadMessages
public AbstractImapRetrieveMessagesTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources, int initialReadMessages)
public void setUp()
protected void generateAndStoreEmail() throws Exception
AbstractEmailFunctionalTestCase
generateAndStoreEmail
in class AbstractEmailFunctionalTestCase
Exception
- If there's a problem with the storing of the messages in the server.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.