public class JSR250LifecycleTrackerComponentFunctionalTestCase extends AbstractServiceAndFlowTestCase
AbstractServiceAndFlowTestCase.ConfigVariant
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 |
---|
JSR250LifecycleTrackerComponentFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
parameters() |
void |
testMulePooledPrototypeServiceLifecycle()
ASSERT: - Mule lifecycle methods invoked - Service and muleContext injected
(Component implements ServiceAware/MuleContextAware)
|
void |
testMulePooledSingletonServiceLifecycle()
ASSERT: - Mule lifecycle methods invoked each time singleton is used to create
new object in pool - Service and muleContext injected each time singleton is
used to create new object in pool (Component implements
ServiceAware/MuleContextAware)
|
void |
testMulePrototypeServiceLifecycle()
ASSERT: - Mule lifecycle methods invoked - Service and muleContext injected
(Component implements ServiceAware/MuleContextAware)
|
void |
testSingletonServiceLifecycle()
ASSERT: - Mule lifecycle methods invoked - Service and muleContext injected
(Component implements ServiceAware/MuleContextAware)
|
doSetUp, doSetUpForFlow, doSetUpForService, getConfigFile, getConfigFiles, getTestHeader
clearFlowAssertions, getBuilder, getComponent, getComponent, 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, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
public JSR250LifecycleTrackerComponentFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
public static Collection<Object[]> parameters()
public void testSingletonServiceLifecycle() throws Exception
Exception
public void testMulePrototypeServiceLifecycle() throws Exception
Exception
public void testMulePooledPrototypeServiceLifecycle() throws Exception
Exception
public void testMulePooledSingletonServiceLifecycle() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.