public class DispatcherThreadingProfileTestCase extends AbstractMuleContextTestCase
Modifier and Type | Class and Description |
---|---|
class |
DispatcherThreadingProfileTestCase.DelayTestMessageDispatcher |
Modifier and Type | Field and Description |
---|---|
static int |
DELAY_TIME |
static int |
LONGER_WAIT_TIME |
static int |
SERIAL_WAIT_TIME |
static int |
WAIT_TIME |
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 |
---|
DispatcherThreadingProfileTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
createTestConnectorWithSingleDispatcherThread(int exhaustedAction) |
protected void |
createTestConnectorWithSingleDispatcherThread(int threads,
int exhaustedAction,
long waitTimeout,
int maxBufferSize) |
protected void |
doTearDown()
Enables the adding of extra behavior on the tear down stage of a test
before the mule context is disposed in
AbstractMuleContextTestCase.disposeContextPerTest() . |
void |
testAbortExhaustedAction() |
void |
testDefaultRunExhaustedAction() |
void |
testDefaultThreadingProfileConfiguration() |
void |
testDiscardExhaustedAction() |
void |
testDiscardOldestExhaustedAction() |
void |
testWaitExhaustedAction() |
void |
testWaitTimeoutExhaustedAction() |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDownAfterMuleContextDispose, getBuilder, 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, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public static int DELAY_TIME
public static int WAIT_TIME
public static int SERIAL_WAIT_TIME
public static int LONGER_WAIT_TIME
protected void doTearDown() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.disposeContextPerTest()
.
Under normal circumstances this method could be replace with a
@After
annotated method.
doTearDown
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the testcasepublic void testDefaultThreadingProfileConfiguration() throws MuleException
MuleException
public void testDefaultRunExhaustedAction() throws Exception
Exception
public void testWaitTimeoutExhaustedAction() throws Exception
Exception
public void testDiscardExhaustedAction() throws Exception
Exception
public void testDiscardOldestExhaustedAction() throws Exception
Exception
protected void createTestConnectorWithSingleDispatcherThread(int exhaustedAction) throws MuleException
MuleException
protected void createTestConnectorWithSingleDispatcherThread(int threads, int exhaustedAction, long waitTimeout, int maxBufferSize) throws MuleException
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.