public class TransientRegistryTestCase extends AbstractMuleContextTestCase
Modifier and Type | Class and Description |
---|---|
class |
TransientRegistryTestCase.InterfaceBasedTracker |
class |
TransientRegistryTestCase.JSR250ObjectLifecycleTracker |
Modifier and Type | Field and Description |
---|---|
static String |
TEST_KEY |
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 |
---|
TransientRegistryTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
doesNotTracksNonDisposableOverriddenObjects() |
void |
testJSR250ObjectLifecycle() |
void |
testLifecycleStateOutOfSequenceDisposeFirst() |
void |
testLifecycleStateOutOfSequenceDisposeFirstWithTransientRegistryDirectly() |
void |
testLifecycleStateOutOfSequenceStartFirst() |
void |
testLifecycleStateOutOfSequenceStopFirst() |
void |
testObjectLifecycle() |
void |
testObjectLifecycleDoubleRegistration() |
void |
testObjectLifecycleRestart() |
void |
testObjectLifecycleStates() |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, 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 final String TEST_KEY
public void testObjectLifecycleDoubleRegistration() throws Exception
Exception
public void doesNotTracksNonDisposableOverriddenObjects() throws Exception
Exception
public void testJSR250ObjectLifecycle() throws Exception
Exception
public void testObjectLifecycleStates() throws Exception
Exception
public void testObjectLifecycleRestart() throws Exception
Exception
public void testLifecycleStateOutOfSequenceDisposeFirstWithTransientRegistryDirectly() throws Exception
Exception
public void testLifecycleStateOutOfSequenceStartFirst() throws Exception
Exception
public void testLifecycleStateOutOfSequenceStopFirst() throws Exception
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.