org.mule.transport.email.functional
Class ImapUndeployTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.transport.email.functional.AbstractEmailFunctionalTestCase
                  extended by org.mule.transport.email.functional.ImapUndeployTestCase

public class ImapUndeployTestCase
extends AbstractEmailFunctionalTestCase

Tests the correct undeployment of an application with an IMAP inbound endpoint. This test is related to MULE-6737.


Nested Class Summary
static class ImapUndeployTestCase.MailMessageProcessor
          Custom component to help synchronize the disposing process.
 
Field Summary
 
Fields inherited from class org.mule.transport.email.functional.AbstractEmailFunctionalTestCase
CONFIG_BASE, DEFAULT_EMAIL, DEFAULT_MESSAGE, DEFAULT_PASSWORD, DEFAULT_USER, DELIVERY_DELAY_MS, dynamicPort1, dynamicPort2, MIME_MESSAGE, server, setup, smtpSetup, STRING_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
ImapUndeployTestCase()
           
 
Method Summary
protected  void generateAndStoreEmail()
          Generates and store emails on the server.
 void undeployImapApplication()
           
 
Methods inherited from class org.mule.transport.email.functional.AbstractEmailFunctionalTestCase
createMuleContext, doRequest, doSend, doTearDown, getConfigResources, setAddAttachments, storeEmail, verifyMessage, verifyMessage, verifyMessage
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInboundEvent, getTestInboundEvent, 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, getTestHeader, 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
 

Constructor Detail

ImapUndeployTestCase

public ImapUndeployTestCase()
Method Detail

generateAndStoreEmail

protected void generateAndStoreEmail()
                              throws Exception
Description copied from class: AbstractEmailFunctionalTestCase
Generates and store emails on the server.

Overrides:
generateAndStoreEmail in class AbstractEmailFunctionalTestCase
Throws:
Exception - If there's a problem with the storing of the messages in the server.

undeployImapApplication

public void undeployImapApplication()
                             throws Exception
Throws:
Exception


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.