org.mule.tck.model
Class AbstractEntryPointDiscoveryTestCase

java.lang.Object
  extended byTestCase
      extended byorg.mule.tck.NamedTestCase
          extended byorg.mule.tck.AbstractMuleTestCase
              extended byorg.mule.tck.model.AbstractEntryPointDiscoveryTestCase

public abstract class AbstractEntryPointDiscoveryTestCase
extends AbstractMuleTestCase

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

Nested Class Summary
 class AbstractEntryPointDiscoveryTestCase.ComponentMethodMapping
          ComponentMethodMapping is used to supply a component class and the correct method to be resovled on the component.
 
Constructor Summary
AbstractEntryPointDiscoveryTestCase()
           
 
Method Summary
abstract  AbstractEntryPointDiscoveryTestCase.ComponentMethodMapping[] getComponentMappings()
           
 UMODescriptor getDescriptorToResolve(java.lang.String className)
           
abstract  UMOEntryPointResolver getEntryPointResolver()
           
 void testEntryPointDiscovery()
          Tests entrypoint discovery on object that has it's own event handler without implementing any of the Mule event interfaces
 void testFailEntryPointDiscovery()
          Tests entrypoint discovery when there is no discoverable method
 
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, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntryPointDiscoveryTestCase

public AbstractEntryPointDiscoveryTestCase()
Method Detail

testFailEntryPointDiscovery

public void testFailEntryPointDiscovery()
                                 throws java.lang.Exception
Tests entrypoint discovery when there is no discoverable method

Throws:
java.lang.Exception

testEntryPointDiscovery

public void testEntryPointDiscovery()
                             throws java.lang.Exception
Tests entrypoint discovery on object that has it's own event handler without implementing any of the Mule event interfaces

Throws:
java.lang.Exception

getDescriptorToResolve

public UMODescriptor getDescriptorToResolve(java.lang.String className)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getEntryPointResolver

public abstract UMOEntryPointResolver getEntryPointResolver()

getComponentMappings

public abstract AbstractEntryPointDiscoveryTestCase.ComponentMethodMapping[] getComponentMappings()
Returns:
an array of the the different components that can be resolved by the resolver and the method name to be resolved on each component


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