|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.modules.tests.TestParent
public abstract class TestParent
Connector Tests Framework Parent Class
| Field Summary | |
|---|---|
protected static org.springframework.context.ApplicationContext |
context
|
protected static String[] |
SPRING_CONFIG_FILES
|
| Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
|---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE |
| Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
|---|
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY |
| Constructor Summary | |
|---|---|
TestParent()
|
|
| Method Summary | ||
|---|---|---|
protected void |
addToMessageTestObject(Map testObject)
Adds a complete map to the message test object |
|
protected void |
addToMessageTestObject(String key,
Object value)
Adds a value to the message test object |
|
static void |
beforeClass()
|
|
protected String |
getConfigResources()
|
|
protected String |
getConfigXmlFile()
Allows the user to override the default xml file |
|
protected
|
getValueFromMessageTestObject(String key)
Retrieves a value from the message test object using the given key |
|
protected org.mule.construct.Flow |
lookupFlowConstruct(String name)
Retrieve a flow by name from the registry |
|
protected
|
runFlowAndGetPayload(String flowName)
Runs a flow using messageTestObject as payload. |
|
| Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
|---|
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow |
| Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
|---|
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doTearDown, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext |
| Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
|---|
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String[] SPRING_CONFIG_FILES
protected static org.springframework.context.ApplicationContext context
| Constructor Detail |
|---|
public TestParent()
| Method Detail |
|---|
public static void beforeClass()
protected String getConfigResources()
getConfigResources in class org.mule.tck.junit4.FunctionalTestCaseprotected String getConfigXmlFile()
protected <T> T runFlowAndGetPayload(String flowName)
throws Exception
flowName - name of the flow to run
Exception
protected void addToMessageTestObject(String key,
Object value)
key - keyvalue - valueprotected void addToMessageTestObject(Map testObject)
testObject - map to be added to the Message test objectprotected <T> T getValueFromMessageTestObject(String key)
key - key
protected org.mule.construct.Flow lookupFlowConstruct(String name)
name - Name of the flow to retrieve
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||