|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
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.
| Nested Class Summary |
| Nested classes inherited from class org.mule.tck.AbstractMuleTestCase |
org.mule.tck.AbstractMuleTestCase.TestInfo |
| Field Summary | |
static String |
DEFAULT_BUILDER_CLASS
|
| Fields inherited from class org.mule.tck.AbstractMuleTestCase |
logger |
| Constructor Summary | |
FunctionalTestCase()
|
|
| Method Summary | |
protected void |
doFunctionalTearDown()
|
protected void |
doPostFunctionalSetUp()
|
protected void |
doPreFunctionalSetUp()
|
protected void |
doSetUp()
|
protected void |
doTearDown()
|
protected org.mule.config.ConfigurationBuilder |
getBuilder()
|
protected abstract String |
getConfigResources()
|
protected void |
setupManager()
|
protected void |
suitePreSetUp()
|
| 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.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 |
public static final String DEFAULT_BUILDER_CLASS
| Constructor Detail |
public FunctionalTestCase()
| Method Detail |
protected final void doSetUp()
throws Exception
Exception
protected void suitePreSetUp()
throws Exception
Exception
protected void setupManager()
throws Exception
Exception
protected final void doTearDown()
throws Exception
Exception
protected org.mule.config.ConfigurationBuilder getBuilder()
throws Exception
Exception
protected void doPreFunctionalSetUp()
throws Exception
Exception
protected void doPostFunctionalSetUp()
throws Exception
Exception
protected void doFunctionalTearDown()
throws Exception
Exceptionprotected abstract String getConfigResources()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||