org.mule.transport
Class AbstractMessageReceiverTestCase

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
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler
Direct Known Subclasses:
FileMessageReceiverTestCase, HttpMessageReceiverTestCase, JmsMessageReceiverTestCase, MulticastMessageReceiverTestCase, SslMessageReceiverTestCase, StdioMessageReceiverTestCase, TcpMessageReceiverTestCase, UdpMessageReceiverTestCase, VMMessageReceiverTestCase

public abstract class AbstractMessageReceiverTestCase
extends AbstractMuleTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
protected  org.mule.api.endpoint.InboundEndpoint endpoint
           
protected  org.mule.api.service.Service service
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Constructor Summary
AbstractMessageReceiverTestCase()
           
 
Method Summary
protected  void doSetUp()
           
abstract  org.mule.api.endpoint.InboundEndpoint getEndpoint()
          Implementations of this method should ensure that the correct connector is set on the endpoint
abstract  org.mule.api.transport.MessageReceiver getMessageReceiver()
           
 void 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
 

Field Detail

service

protected org.mule.api.service.Service service

endpoint

protected org.mule.api.endpoint.InboundEndpoint endpoint
Constructor Detail

AbstractMessageReceiverTestCase

public AbstractMessageReceiverTestCase()
Method Detail

doSetUp

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

testCreate

public void testCreate()
                throws Exception
Throws:
Exception

getMessageReceiver

public abstract org.mule.api.transport.MessageReceiver getMessageReceiver()
                                                                   throws Exception
Throws:
Exception

getEndpoint

public abstract org.mule.api.endpoint.InboundEndpoint getEndpoint()
                                                           throws Exception
Implementations of this method should ensure that the correct connector is set on the endpoint

Returns:
Throws:
Exception


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