org.mule.tck.functional
Class AbstractProviderFunctionalTestCase

java.lang.Object
  extended byTestCase
      extended byorg.mule.tck.NamedTestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.functional.AbstractProviderFunctionalTestCase

public abstract class AbstractProviderFunctionalTestCase
extends AbstractMuleTestCase

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason
See Also:
Serialized Form

Field Summary
protected  boolean callbackCalled
           
protected  int callbackCount
           
protected  UMOConnector connector
           
protected  MuleDescriptor descriptor
           
protected static UMOManager manager
           
 
Constructor Summary
AbstractProviderFunctionalTestCase()
           
 
Method Summary
 void afterInitialise()
           
protected abstract  UMOConnector createConnector()
           
 EventCallback createEventCallback()
           
protected abstract  UMOEndpointURI getInDest()
           
protected abstract  UMOEndpointURI getOutDest()
           
static MuleDescriptor getTestDescriptor(java.lang.String name, java.lang.String implementation)
           
 UMOComponent initialiseComponent(UMODescriptor descriptor, byte txBeginAction, byte txCommitAction, EventCallback callback)
           
protected abstract  void receiveAndTestResults()
           
protected abstract  void sendTestData(int iterations)
           
protected  void setUp()
          Print the name of this test to standard output
protected  void tearDown()
           
 void testSend()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
getManager, getMockConnector, getMockDescriptor, getMockEndpoint, getMockEvent, getMockManager, getMockMessageDispatcher, getMockSession, getMockTransaction, getMockTransactionFactory, getTestComponent, getTestConnector, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestManager, getTestSession, getTestTransformer
 
Methods inherited from class org.mule.tck.NamedTestCase
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connector

protected UMOConnector connector

manager

protected static UMOManager manager

callbackCalled

protected boolean callbackCalled

callbackCount

protected int callbackCount

descriptor

protected MuleDescriptor descriptor
Constructor Detail

AbstractProviderFunctionalTestCase

public AbstractProviderFunctionalTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: NamedTestCase
Print the name of this test to standard output

Overrides:
setUp in class NamedTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testSend

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

initialiseComponent

public UMOComponent initialiseComponent(UMODescriptor descriptor,
                                        byte txBeginAction,
                                        byte txCommitAction,
                                        EventCallback callback)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getTestDescriptor

public static MuleDescriptor getTestDescriptor(java.lang.String name,
                                               java.lang.String implementation)

afterInitialise

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

createEventCallback

public EventCallback createEventCallback()

sendTestData

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

receiveAndTestResults

protected abstract void receiveAndTestResults()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getInDest

protected abstract UMOEndpointURI getInDest()

getOutDest

protected abstract UMOEndpointURI getOutDest()

createConnector

protected abstract UMOConnector createConnector()
                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.