org.mule.test.construct
Class FlowDefaultProcessingStrategyTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.FunctionalTestCase
                  extended by org.mule.test.construct.FlowDefaultProcessingStrategyTestCase
All Implemented Interfaces:
junit.framework.Test, TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
FlowAynchronousProcessingStrategyTestCase, FlowSynchronousProcessingStrategyTestCase

public class FlowDefaultProcessingStrategyTestCase
extends FunctionalTestCase


Nested Class Summary
static class FlowDefaultProcessingStrategyTestCase.ThreadSensingMessageProcessor
           
static class FlowDefaultProcessingStrategyTestCase.ThreadSensingVMMessageDispatcher
           
static class FlowDefaultProcessingStrategyTestCase.ThreadSensingVMMessageDispatcherFactory
           
static class FlowDefaultProcessingStrategyTestCase.ThreadSensingVMMessageReceiver
           
 
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
FlowDefaultProcessingStrategyTestCase()
           
 
Method Summary
protected  void assertAllProcessingAsync(MuleMessage result)
           
protected  void assertAllProcessingInClientThread(MuleMessage result)
           
protected  void assertAllProcessingInRecieverThread(MuleMessage result)
           
protected  void assertSync(MuleMessage result)
           
protected  String getConfigResources()
           
 void testDispatchToOneWayInbound()
           
 void testDispatchToOneWayInboundTxOnly()
           
 void testDispatchToOneWayOutboundTxOnly()
           
 void testDispatchToOneWayTx()
           
 void testDispatchToRequestResponseInboundOneWayOutbound()
           
 void testRequestResponseInboundFailingOneWayOutbound()
           
 void testSendRequestResponseInbound()
           
 void testSendToOneWayInbound()
           
 void testSendToOneWayTx()
           
 void testSendToRequestResponseInboundOneWayOutbound()
           
 
Methods inherited from class org.mule.tck.FunctionalTestCase
getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, createTestInfo, createWatchdog, disposeManager, doSetUp, doTearDown, getConfigurationResources, getPorts, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestHeader, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, 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, isStartContext, printTestHeader, 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

FlowDefaultProcessingStrategyTestCase

public FlowDefaultProcessingStrategyTestCase()
Method Detail

getConfigResources

protected String getConfigResources()
Specified by:
getConfigResources in class FunctionalTestCase

testDispatchToOneWayInbound

public void testDispatchToOneWayInbound()
                                 throws Exception
Throws:
Exception

testSendToOneWayInbound

public void testSendToOneWayInbound()
                             throws Exception
Throws:
Exception

testDispatchToOneWayTx

public void testDispatchToOneWayTx()
                            throws Exception
Throws:
Exception

testSendToOneWayTx

public void testSendToOneWayTx()
                        throws Exception
Throws:
Exception

testDispatchToOneWayInboundTxOnly

public void testDispatchToOneWayInboundTxOnly()
                                       throws Exception
Throws:
Exception

testDispatchToOneWayOutboundTxOnly

public void testDispatchToOneWayOutboundTxOnly()
                                        throws Exception
Throws:
Exception

testSendRequestResponseInbound

public void testSendRequestResponseInbound()
                                    throws Exception
Throws:
Exception

testDispatchToRequestResponseInboundOneWayOutbound

public void testDispatchToRequestResponseInboundOneWayOutbound()
                                                        throws Exception
Throws:
Exception

testSendToRequestResponseInboundOneWayOutbound

public void testSendToRequestResponseInboundOneWayOutbound()
                                                    throws Exception
Throws:
Exception

assertAllProcessingInClientThread

protected void assertAllProcessingInClientThread(MuleMessage result)

assertAllProcessingInRecieverThread

protected void assertAllProcessingInRecieverThread(MuleMessage result)

assertSync

protected void assertSync(MuleMessage result)

assertAllProcessingAsync

protected void assertAllProcessingAsync(MuleMessage result)

testRequestResponseInboundFailingOneWayOutbound

public void testRequestResponseInboundFailingOneWayOutbound()
                                                     throws Exception
Throws:
Exception


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