org.mule.tck.functional
Class AbstractProviderFunctionalTestCase

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

Deprecated. use Xml configuration instead

public abstract class AbstractProviderFunctionalTestCase
extends AbstractMuleTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
protected  boolean callbackCalled
          Deprecated.  
protected  int callbackCount
          Deprecated.  
protected  UMOConnector connector
          Deprecated.  
protected  MuleDescriptor descriptor
          Deprecated.  
protected static UMOManager manager
          Deprecated.  
protected static int NUM_MESSAGES_TO_SEND
          Deprecated.  
protected  boolean transacted
          Deprecated.  
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS, logger
 
Constructor Summary
AbstractProviderFunctionalTestCase()
          Deprecated.  
 
Method Summary
 void afterInitialise()
          Deprecated.  
protected abstract  UMOConnector createConnector()
          Deprecated.  
 EventCallback createEventCallback()
          Deprecated.  
protected  UMOEndpoint createInboundEndpoint()
          Deprecated. Implementing tests can overide this to add further configuration to the inbound endpoint
protected  UMOEndpoint createOutboundEndpoint()
          Deprecated. Implementing tests can overide this to add further configuration to the outbound endpoint
protected  void doSetUp()
          Deprecated.  
protected  void doTearDown()
          Deprecated.  
protected abstract  UMOEndpointURI getInDest()
          Deprecated.  
protected abstract  UMOEndpointURI getOutDest()
          Deprecated.  
static MuleDescriptor getTestDescriptor(String name, String implementation)
          Deprecated.  
 UMOComponent initialiseComponent(UMODescriptor descriptor, EventCallback callback)
          Deprecated.  
protected abstract  void receiveAndTestResults()
          Deprecated.  
protected abstract  void sendTestData(int iterations)
          Deprecated.  
 void testSend()
          Deprecated.  
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, run, runBare, setDisposeManagerPerSuite, setUp, suitePostSetUp, suitePostTearDown, suitePreSetUp, suitePreTearDown, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NUM_MESSAGES_TO_SEND

protected static final int NUM_MESSAGES_TO_SEND
Deprecated. 
See Also:
Constant Field Values

connector

protected UMOConnector connector
Deprecated. 

manager

protected static UMOManager manager
Deprecated. 

callbackCalled

protected boolean callbackCalled
Deprecated. 

callbackCount

protected int callbackCount
Deprecated. 

transacted

protected boolean transacted
Deprecated. 

descriptor

protected MuleDescriptor descriptor
Deprecated. 
Constructor Detail

AbstractProviderFunctionalTestCase

public AbstractProviderFunctionalTestCase()
Deprecated. 
Method Detail

doSetUp

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

doTearDown

protected void doTearDown()
                   throws Exception
Deprecated. 
Overrides:
doTearDown in class AbstractMuleTestCase
Throws:
Exception

testSend

public void testSend()
              throws Exception
Deprecated. 
Throws:
Exception

initialiseComponent

public UMOComponent initialiseComponent(UMODescriptor descriptor,
                                        EventCallback callback)
                                 throws Exception
Deprecated. 
Throws:
Exception

createOutboundEndpoint

protected UMOEndpoint createOutboundEndpoint()
Deprecated. 
Implementing tests can overide this to add further configuration to the outbound endpoint

Returns:

createInboundEndpoint

protected UMOEndpoint createInboundEndpoint()
Deprecated. 
Implementing tests can overide this to add further configuration to the inbound endpoint

Returns:

getTestDescriptor

public static MuleDescriptor getTestDescriptor(String name,
                                               String implementation)
Deprecated. 

afterInitialise

public void afterInitialise()
                     throws Exception
Deprecated. 
Throws:
Exception

createEventCallback

public EventCallback createEventCallback()
Deprecated. 

sendTestData

protected abstract void sendTestData(int iterations)
                              throws Exception
Deprecated. 
Throws:
Exception

receiveAndTestResults

protected abstract void receiveAndTestResults()
                                       throws Exception
Deprecated. 
Throws:
Exception

getInDest

protected abstract UMOEndpointURI getInDest()
Deprecated. 

getOutDest

protected abstract UMOEndpointURI getOutDest()
Deprecated. 

createConnector

protected abstract UMOConnector createConnector()
                                         throws Exception
Deprecated. 
Throws:
Exception


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