|
|||||||||
| 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.ConnectorTestCase
public abstract class ConnectorTestCase
Connector Tests Framework Parent Class
| Field Summary | |
|---|---|
protected static String |
DEFAULT_SPRING_CONFIG_FILE
|
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 | |
|---|---|
ConnectorTestCase()
|
|
| Method Summary | ||
|---|---|---|
static void |
beforeClass()
|
|
boolean |
containsKeyTestRunMessage(Object key)
|
|
|
getBeanFromContext(String beanId)
|
|
protected String |
getConfigResources()
|
|
protected static String[] |
getConfigSpringFiles()
|
|
protected String |
getConfigXmlFile()
|
|
|
getTestRunMessageValue(String key)
|
|
void |
loadTestRunMessage(Map<String,Object> data)
|
|
protected void |
loadTestRunMessage(String beanId)
|
|
protected org.mule.construct.Flow |
lookupFlowConstruct(String name)
|
|
void |
removeFromTestRunMessage(String key)
|
|
protected
|
runFlowAndGetPayload(String flowName)
|
|
protected
|
runFlowAndGetPayload(String flowName,
String beanId)
|
|
void |
upsertOnTestRunMessage(Map<String,Object> data)
|
|
void |
upsertOnTestRunMessage(String key,
Object value)
|
|
| Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
|---|
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, runFlow, runFlow, runFlowAndExpect, runFlowAndExpectProperty, runFlowWithPayloadAndExpect, 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 DEFAULT_SPRING_CONFIG_FILE
protected static final String[] SPRING_CONFIG_FILES
| Constructor Detail |
|---|
public ConnectorTestCase()
| Method Detail |
|---|
public static void beforeClass()
protected static String[] getConfigSpringFiles()
protected String getConfigResources()
getConfigResources in class org.mule.tck.junit4.FunctionalTestCaseprotected String getConfigXmlFile()
protected org.mule.construct.Flow lookupFlowConstruct(String name)
lookupFlowConstruct in class org.mule.tck.junit4.FunctionalTestCase
protected <T> T runFlowAndGetPayload(String flowName)
throws Exception
Exception
protected <T> T runFlowAndGetPayload(String flowName,
String beanId)
throws Exception
Exceptionprotected void loadTestRunMessage(String beanId)
public void loadTestRunMessage(Map<String,Object> data)
public <T> T getBeanFromContext(String beanId)
throws org.springframework.beans.BeansException
org.springframework.beans.BeansException
public void upsertOnTestRunMessage(String key,
Object value)
public void upsertOnTestRunMessage(Map<String,Object> data)
public <T> T getTestRunMessageValue(String key)
public void removeFromTestRunMessage(String key)
public boolean containsKeyTestRunMessage(Object key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||