org.mule.tck.providers
Class AbstractConnectorTestCase

java.lang.Object
  extended byTestCase
      extended byorg.mule.tck.NamedTestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.providers.AbstractConnectorTestCase

public abstract class AbstractConnectorTestCase
extends AbstractMuleTestCase

AbstractConnectorTestCase tests common behaviour of all endpoints and provides 'reminder' methods for implementation specific interface methods

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

Field Summary
protected  UMOConnector connector
           
protected  MuleDescriptor descriptor
           
 
Constructor Summary
AbstractConnectorTestCase()
           
 
Method Summary
abstract  UMOConnector getConnector()
           
abstract  java.lang.String getTestEndpointURI()
           
abstract  java.lang.Object getValidMessage()
           
protected  void setUp()
          Print the name of this test to standard output
protected  void tearDown()
           
 void testConnectorBeanProps()
           
 void testConnectorExceptionHandling()
           
 void testConnectorInitialise()
           
 void testConnectorLifecycle()
           
 void testConnectorListenerSupport()
           
 void testConnectorMessageAdapter()
           
 void testConnectorMessageDispatcher()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
getManager, getMockConnector, getMockDescriptor, getMockEndpoint, getMockEvent, getMockManager, getMockMessageDispatcher, getMockSession, getMockTransaction, getMockTransactionFactory, getTestComponent, getTestConnector, getTestDescriptor, 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

descriptor

protected MuleDescriptor descriptor

connector

protected UMOConnector connector
Constructor Detail

AbstractConnectorTestCase

public AbstractConnectorTestCase()
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
Overrides:
tearDown in class NamedTestCase
Throws:
java.lang.Exception

testConnectorExceptionHandling

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

testConnectorLifecycle

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

testConnectorListenerSupport

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

testConnectorBeanProps

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

testConnectorMessageAdapter

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

testConnectorMessageDispatcher

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

testConnectorInitialise

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

getConnector

public abstract UMOConnector getConnector()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getValidMessage

public abstract java.lang.Object getValidMessage()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getTestEndpointURI

public abstract java.lang.String getTestEndpointURI()


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