org.mule.test.construct
Class FlowDefaultProcessingStrategyTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.test.construct.FlowDefaultProcessingStrategyTestCase
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
           
 
Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
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.junit4.FunctionalTestCase
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doTearDown, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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-2012 MuleSoft, Inc.. All Rights Reserved.