org.mule.client
Class DefaultLocalMuleClientTestCase

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

public class DefaultLocalMuleClientTestCase
extends AbstractMuleTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
protected  org.mule.client.DefaultLocalMuleClientTestCase.TestableLocalMuleClient client
           
protected  InboundEndpoint inboundEndpoint
           
protected  MuleMessage message
           
protected  java.lang.Object messagePaylaod
           
protected  java.util.Map<java.lang.String,java.lang.Object> messageProperties
           
protected  OutboundEndpoint outboundEndpoint
           
protected  java.lang.String PROP_KEY_1
           
protected  MuleEvent responseEvent
           
protected  long TEST_FREQ
           
protected  MessageExchangePattern TEST_MEP
           
protected  long TEST_RESPONSE_TIMEOUT
           
protected  java.lang.String TEST_URI
           
 
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
DefaultLocalMuleClientTestCase()
           
 
Method Summary
protected  void doSetUp()
          Exactly the same a AbstractMuleTestCase.setUp() in normal JUnit test cases.
 void testDispatchStringMuleMessage()
           
 void testDispatchStringObjectMapOfStringObject()
           
 void testInboundEndpointCreation()
           
 void testOutboundEndpointCreation()
           
 void testProcessOutboundEndpointMuleMessage()
           
 void testProcessOutboundEndpointObjectMapOfStringObject()
           
 void testProcessStringMessageExchangePatternMuleMessage()
           
 void testProcessStringMessageExchangePatternObjectMapOfStringObject()
           
 void testRequestInboundEndpointLong()
           
 void testRequestStringLong()
           
 void testSendStringMuleMessage()
           
 void testSendStringMuleMessageInt()
           
 void testSendStringObjectMapOfStringObject()
           
 void testSendStringObjectMapOfStringObjectInt()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
addBuilders, checkPorts, configureMuleContext, createMuleContext, createObject, createObject, createTestInfo, createWatchdog, disposeManager, 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
 

Field Detail

PROP_KEY_1

protected final java.lang.String PROP_KEY_1
See Also:
Constant Field Values

TEST_URI

protected final java.lang.String TEST_URI
See Also:
Constant Field Values

TEST_RESPONSE_TIMEOUT

protected final long TEST_RESPONSE_TIMEOUT
See Also:
Constant Field Values

TEST_FREQ

protected final long TEST_FREQ
See Also:
Constant Field Values

TEST_MEP

protected final MessageExchangePattern TEST_MEP

client

protected org.mule.client.DefaultLocalMuleClientTestCase.TestableLocalMuleClient client

inboundEndpoint

protected InboundEndpoint inboundEndpoint

outboundEndpoint

protected OutboundEndpoint outboundEndpoint

messagePaylaod

protected java.lang.Object messagePaylaod

messageProperties

protected java.util.Map<java.lang.String,java.lang.Object> messageProperties

message

protected MuleMessage message

responseEvent

protected MuleEvent responseEvent
Constructor Detail

DefaultLocalMuleClientTestCase

public DefaultLocalMuleClientTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws java.lang.Exception
Description copied from class: AbstractMuleTestCase
Exactly the same a AbstractMuleTestCase.setUp() in normal JUnit test cases. this is called before a test method has been called.

Overrides:
doSetUp in class AbstractMuleTestCase
Throws:
java.lang.Exception - if something fails that should halt the testcase

testProcessOutboundEndpointObjectMapOfStringObject

public void testProcessOutboundEndpointObjectMapOfStringObject()
                                                        throws MuleException
Throws:
MuleException

testProcessOutboundEndpointMuleMessage

public void testProcessOutboundEndpointMuleMessage()
                                            throws MuleException
Throws:
MuleException

testRequestInboundEndpointLong

public void testRequestInboundEndpointLong()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDispatchStringObjectMapOfStringObject

public void testDispatchStringObjectMapOfStringObject()
                                               throws MuleException
Throws:
MuleException

testSendStringObjectMapOfStringObject

public void testSendStringObjectMapOfStringObject()
                                           throws MuleException
Throws:
MuleException

testSendStringMuleMessage

public void testSendStringMuleMessage()
                               throws MuleException
Throws:
MuleException

testSendStringObjectMapOfStringObjectInt

public void testSendStringObjectMapOfStringObjectInt()
                                              throws MuleException
Throws:
MuleException

testSendStringMuleMessageInt

public void testSendStringMuleMessageInt()
                                  throws MuleException
Throws:
MuleException

testDispatchStringMuleMessage

public void testDispatchStringMuleMessage()
                                   throws MuleException
Throws:
MuleException

testRequestStringLong

public void testRequestStringLong()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testProcessStringMessageExchangePatternObjectMapOfStringObject

public void testProcessStringMessageExchangePatternObjectMapOfStringObject()
                                                                    throws MuleException
Throws:
MuleException

testProcessStringMessageExchangePatternMuleMessage

public void testProcessStringMessageExchangePatternMuleMessage()
                                                        throws MuleException
Throws:
MuleException

testInboundEndpointCreation

public void testInboundEndpointCreation()
                                 throws MuleException
Throws:
MuleException

testOutboundEndpointCreation

public void testOutboundEndpointCreation()
                                  throws MuleException
Throws:
MuleException


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