public class ExceptionHandlingTestCase extends FunctionalTestCase
Modifier and Type | Class and Description |
---|---|
static class |
ExceptionHandlingTestCase.ExceptionHandlerVerifierProcessor |
static class |
ExceptionHandlingTestCase.ExecutionCountProcessor |
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE |
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 |
---|
ExceptionHandlingTestCase() |
clearFlowAssertions, getBuilder, getComponent, getComponent, getConfigFiles, getConfigResources, getFlowConstruct, getFunctionalTestComponent, getSubFlow, loadResource, loadResourceAsString, lookupFlowConstruct, runFlow, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, runSchedulersOnce, stopFlowConstruct, stopFlowSchedulers, testFlow, testFlow
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, 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 String MESSAGE
protected String getConfigFile()
getConfigFile
in class FunctionalTestCase
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the test casepublic void testCustomProcessorInFlow() throws Exception
Exception
public void testOutboundEndpointInFlow() throws Exception
Exception
public void testOutboundDynamicEndpointInFlow() throws Exception
Exception
public void testUntilSuccessfulInFlow() throws Exception
Exception
public void testCustomProcessorInScope() throws Exception
Exception
public void testOutboundEndpointInScope() throws Exception
Exception
public void testOutboundDynamicEndpointInScope() throws Exception
Exception
public void testCustomProcessorInTransactionalScope() throws Exception
Exception
public void testOutboundEndpointInTransactionalScope() throws Exception
Exception
public void testOutboundDynamicEndpointInTransactionalScope() throws Exception
Exception
public void testAsyncInTransactionalScope() throws Exception
Exception
public void testUntilSuccessfulInTransactionalScope() throws Exception
Exception
public void testCustomProcessorInExceptionStrategy() throws Exception
Exception
public void testOutboundEndpointInExceptionStrategy() throws Exception
Exception
public void testOutboundDynamicEndpointInExceptionStrategy() throws Exception
Exception
public void testAsyncInExceptionStrategy() throws Exception
Exception
public void testUntilSuccessfulInExceptionStrategy() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.