org.mule.tck.model
Class AbstractEntryPointDiscoveryTestCase

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

public abstract class AbstractEntryPointDiscoveryTestCase
extends AbstractMuleTestCase


Nested Class Summary
 class AbstractEntryPointDiscoveryTestCase.ComponentMethodMapping
           ComponentMethodMapping is used to supply a component class and the correct method to be resovled on the component.
 
Nested classes inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
logger
 
Constructor Summary
AbstractEntryPointDiscoveryTestCase()
           
 
Method Summary
abstract  AbstractEntryPointDiscoveryTestCase.ComponentMethodMapping[] getComponentMappings()
           
 UMODescriptor getDescriptorToResolve(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
addTest, disposeManager, doSetUp, doTearDown, 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
 

Constructor Detail

AbstractEntryPointDiscoveryTestCase

public AbstractEntryPointDiscoveryTestCase()
Method Detail

testFailEntryPointDiscovery

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

Throws:
Exception

testEntryPointDiscovery

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

Throws:
Exception

getDescriptorToResolve

public UMODescriptor getDescriptorToResolve(String className)
                                     throws Exception
Throws:
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-2008 MuleSource, Inc.. All Rights Reserved.