org.mule.tck
Class FunctionalTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- AbstractBpmTestCase, AbstractLoanBrokerTestCase, AbstractScriptConfigBuilderTestCase
- public abstract class FunctionalTestCase
- extends AbstractMuleTestCase
Is a base tast case for tests that initialise Mule using a configuration file. The
default configuration builder used is the MuleXmlConfigurationBuilder. This you
need to have the mule-modules-builders module/jar on your classpath. If you want
to use a different builder, just overload the getBuilder()
method
of this class to return the type of builder you want to use with your test. Note
you can overload the getBuilder()
to return an initialised instance
of the QuickConfiguratonBuilder, this allows the developer to programmatically
build a Mule instance and roves the need for additional config files for the test.
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, suitePreTearDown, tearDown |
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 |
DEFAULT_BUILDER_CLASS
public static final String DEFAULT_BUILDER_CLASS
- See Also:
- Constant Field Values
FunctionalTestCase
public FunctionalTestCase()
doSetUp
protected final void doSetUp()
throws Exception
- Overrides:
doSetUp
in class AbstractMuleTestCase
- Throws:
Exception
suitePreSetUp
protected void suitePreSetUp()
throws Exception
- Overrides:
suitePreSetUp
in class AbstractMuleTestCase
- Throws:
Exception
setupManager
protected void setupManager()
throws Exception
- Throws:
Exception
doTearDown
protected final void doTearDown()
throws Exception
- Overrides:
doTearDown
in class AbstractMuleTestCase
- Throws:
Exception
getBuilder
protected ConfigurationBuilder getBuilder()
throws Exception
- Throws:
Exception
doPreFunctionalSetUp
protected void doPreFunctionalSetUp()
throws Exception
- Throws:
Exception
doPostFunctionalSetUp
protected void doPostFunctionalSetUp()
throws Exception
- Throws:
Exception
doFunctionalTearDown
protected void doFunctionalTearDown()
throws Exception
- Throws:
Exception
getConfigResources
protected abstract String getConfigResources()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.