org.mule.transport.jms
Class JmsMessageReceiverTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.transport.AbstractMessageReceiverTestCase
                  extended by org.mule.transport.jms.JmsMessageReceiverTestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler

public class JmsMessageReceiverTestCase
extends AbstractMessageReceiverTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.transport.AbstractMessageReceiverTestCase
endpoint, service
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
JmsMessageReceiverTestCase()
           
 
Method Summary
protected  void doSetUp()
           
 org.mule.api.endpoint.InboundEndpoint getEndpoint()
          Implementations of this method should ensure that the correct connector is set on the endpoint
 org.mule.api.transport.MessageReceiver getMessageReceiver()
           
 Object getValidMessage()
           
 void testReceive()
           
 
Methods inherited from class org.mule.transport.AbstractMessageReceiverTestCase
testCreate
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, doTearDown, getBuilder, getConfigurationResources, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmsMessageReceiverTestCase

public JmsMessageReceiverTestCase()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Overrides:
doSetUp in class AbstractMessageReceiverTestCase
Throws:
Exception

testReceive

public void testReceive()
                 throws Exception
Throws:
Exception

getMessageReceiver

public org.mule.api.transport.MessageReceiver getMessageReceiver()
                                                          throws Exception
Specified by:
getMessageReceiver in class AbstractMessageReceiverTestCase
Throws:
Exception

getValidMessage

public Object getValidMessage()
                       throws Exception
Throws:
Exception

getEndpoint

public org.mule.api.endpoint.InboundEndpoint getEndpoint()
                                                  throws Exception
Description copied from class: AbstractMessageReceiverTestCase
Implementations of this method should ensure that the correct connector is set on the endpoint

Specified by:
getEndpoint in class AbstractMessageReceiverTestCase
Returns:
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.