org.mule.tck.providers
Class AbstractConnectorTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.providers.AbstractConnectorTestCase
All Implemented Interfaces:
Test

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 inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
protected  UMOConnector connector
           
protected  MuleDescriptor descriptor
           
protected  UMOModel model
           
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger
 
Constructor Summary
AbstractConnectorTestCase()
           
 
Method Summary
protected  void doSetUp()
           
protected  void doTearDown()
           
abstract  UMOConnector getConnector()
           
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
addTest, disposeManager, finalize, getDefaultModel, getManager, getName, getTestComponent, getTestConnector, getTestDescriptor, getTestEndpoint, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInfo, getTestManager, getTestSession, getTestTransformer, isDisabledInThisEnvironment, isDisabledInThisEnvironment, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

descriptor

protected MuleDescriptor descriptor

connector

protected UMOConnector connector

model

protected UMOModel model
Constructor Detail

AbstractConnectorTestCase

public AbstractConnectorTestCase()
Method Detail

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

getConnector

public abstract UMOConnector getConnector()
                                   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.