org.mule.registry
Class TransientRegistryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.registry.TransientRegistryTestCase
All Implemented Interfaces:
junit.framework.Test, TestCaseWatchdogTimeoutHandler

public class TransientRegistryTestCase
extends AbstractMuleTestCase


Nested Class Summary
 class TransientRegistryTestCase.InterfaceBasedTracker
           
 class TransientRegistryTestCase.JSR250ObjectLifecycleTracker
           
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs
 
Constructor Summary
TransientRegistryTestCase()
           
 
Method Summary
 void testJSR250ObjectLifecycle()
           
 void testLifecycleState()
           
 void testLifecycleStateOutOfSequenceDisposeFirst()
           
 void testLifecycleStateOutOfSequenceDisposeFirstWithTransientRegistryDirectly()
           
 void testLifecycleStateOutOfSequenceStartFirst()
           
 void testLifecycleStateOutOfSequenceStartFirstWithTransientRegistryDirectly()
           
 void testLifecycleStateOutOfSequenceStopFirst()
           
 void testLifecycleStateOutOfSequenceStopFirstWithTransientRegistryDirectly()
           
 void testObjectBypassInjectors()
           
 void testObjectBypassInjectorsWithTransientRegistryDirectly()
           
 void testObjectBypassLifecycle()
           
 void testObjectBypassLifecycleAndInjectors()
           
 void testObjectBypassLifecycleAndInjectorsWithTransientRegistryDirectly()
           
 void testObjectBypassLifecycleWithTransientRegistryDirectly()
           
 void testObjectLifecycle()
           
 void testObjectLifecycleRestart()
           
 void testObjectLifecycleRestartWithTransientRegistryDirectly()
           
 void testObjectLifecycleStates()
           
 void testObjectLifecycleStatesWithTransientRegistryDirectly()
           
 void testObjectLifecycleWithTransientRegistryDirectly()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addBuilders, checkPorts, configureMuleContext, createMuleContext, createObject, createObject, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, findFreePorts, getBuilder, getConfigurationResources, getPorts, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInboundEvent, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTimeoutSecs, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, giveTheTestSomeTimeToCleanUpAndThenKillIt, handleTimeout, initialiseObject, initTestTimeoutSecs, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isGracefulShutdown, isOffline, isPortFree, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setFailOnTimeout, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runTest, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientRegistryTestCase

public TransientRegistryTestCase()
Method Detail

testObjectLifecycle

public void testObjectLifecycle()
                         throws Exception
Throws:
Exception

testJSR250ObjectLifecycle

public void testJSR250ObjectLifecycle()
                               throws Exception
Throws:
Exception

testObjectLifecycleWithTransientRegistryDirectly

public void testObjectLifecycleWithTransientRegistryDirectly()
                                                      throws Exception
Throws:
Exception

testObjectBypassLifecycle

public void testObjectBypassLifecycle()
                               throws Exception
Throws:
Exception

testObjectBypassLifecycleWithTransientRegistryDirectly

public void testObjectBypassLifecycleWithTransientRegistryDirectly()
                                                            throws Exception
Throws:
Exception

testObjectBypassInjectors

public void testObjectBypassInjectors()
                               throws Exception
Throws:
Exception

testObjectBypassInjectorsWithTransientRegistryDirectly

public void testObjectBypassInjectorsWithTransientRegistryDirectly()
                                                            throws Exception
Throws:
Exception

testObjectBypassLifecycleAndInjectors

public void testObjectBypassLifecycleAndInjectors()
                                           throws Exception
Throws:
Exception

testObjectBypassLifecycleAndInjectorsWithTransientRegistryDirectly

public void testObjectBypassLifecycleAndInjectorsWithTransientRegistryDirectly()
                                                                        throws Exception
Throws:
Exception

testObjectLifecycleStates

public void testObjectLifecycleStates()
                               throws Exception
Throws:
Exception

testObjectLifecycleRestart

public void testObjectLifecycleRestart()
                                throws Exception
Throws:
Exception

testObjectLifecycleRestartWithTransientRegistryDirectly

public void testObjectLifecycleRestartWithTransientRegistryDirectly()
                                                             throws Exception
Throws:
Exception

testObjectLifecycleStatesWithTransientRegistryDirectly

public void testObjectLifecycleStatesWithTransientRegistryDirectly()
                                                            throws Exception
Throws:
Exception

testLifecycleState

public void testLifecycleState()
                        throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceStartFirstWithTransientRegistryDirectly

public void testLifecycleStateOutOfSequenceStartFirstWithTransientRegistryDirectly()
                                                                            throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceStopFirstWithTransientRegistryDirectly

public void testLifecycleStateOutOfSequenceStopFirstWithTransientRegistryDirectly()
                                                                           throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceDisposeFirstWithTransientRegistryDirectly

public void testLifecycleStateOutOfSequenceDisposeFirstWithTransientRegistryDirectly()
                                                                              throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceStartFirst

public void testLifecycleStateOutOfSequenceStartFirst()
                                               throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceStopFirst

public void testLifecycleStateOutOfSequenceStopFirst()
                                              throws Exception
Throws:
Exception

testLifecycleStateOutOfSequenceDisposeFirst

public void testLifecycleStateOutOfSequenceDisposeFirst()
                                                 throws Exception
Throws:
Exception


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