org.mule.tck.providers
Class AbstractConnectorTestCase

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

public abstract class AbstractConnectorTestCase
extends AbstractMuleTestCase

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
IGNORED_DOT_MULE_DIRS, logger
 
Constructor Summary
AbstractConnectorTestCase()
           
 
Method Summary
abstract  UMOConnector createConnector()
           
protected  void doSetUp()
           
protected  void doTearDown()
           
 UMOConnector getConnector()
           
 MuleDescriptor getDescriptor()
           
 UMOModel getModel()
           
abstract  String getTestEndpointURI()
           
abstract  Object getValidMessage()
           
 void testConnectorBeanProps()
           
 void testConnectorExceptionHandling()
           
 void testConnectorInitialise()
           
 void testConnectorLifecycle()
           
 void testConnectorListenerSupport()
           
 void testConnectorMessageAdapter()
           
 void testConnectorMessageDispatcherFactory()
           
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
createTestInfo, createWatchdog, disposeManager, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, 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
 

Constructor Detail

AbstractConnectorTestCase

public AbstractConnectorTestCase()
Method Detail

getDescriptor

public MuleDescriptor getDescriptor()

getConnector

public UMOConnector getConnector()

getModel

public UMOModel getModel()

doSetUp

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

doTearDown

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

testConnectorExceptionHandling

public void testConnectorExceptionHandling()
                                    throws Exception
Throws:
Exception

testConnectorLifecycle

public void testConnectorLifecycle()
                            throws Exception
Throws:
Exception

testConnectorListenerSupport

public void testConnectorListenerSupport()
                                  throws Exception
Throws:
Exception

testConnectorBeanProps

public void testConnectorBeanProps()
                            throws Exception
Throws:
Exception

testConnectorMessageAdapter

public void testConnectorMessageAdapter()
                                 throws Exception
Throws:
Exception

testConnectorMessageDispatcherFactory

public void testConnectorMessageDispatcherFactory()
                                           throws Exception
Throws:
Exception

testConnectorInitialise

public void testConnectorInitialise()
                             throws Exception
Throws:
Exception

createConnector

public abstract UMOConnector createConnector()
                                      throws Exception
Throws:
Exception

getValidMessage

public abstract Object getValidMessage()
                                throws Exception
Throws:
Exception

getTestEndpointURI

public abstract String getTestEndpointURI()


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