org.mule.modules.tests
Class ConnectorTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.modules.tests.ConnectorTestCase
public abstract class ConnectorTestCase
- extends org.mule.tck.junit4.FunctionalTestCase
Connector Tests Framework Parent Class
- Author:
- Mulesoft, Inc
| 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 |
| 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 |
DEFAULT_SPRING_CONFIG_FILE
protected static final String DEFAULT_SPRING_CONFIG_FILE
- See Also:
- Constant Field Values
SPRING_CONFIG_FILES
protected static final String[] SPRING_CONFIG_FILES
ConnectorTestCase
public ConnectorTestCase()
beforeClass
public static void beforeClass()
getConfigSpringFiles
protected static String[] getConfigSpringFiles()
getConfigResources
protected String getConfigResources()
- Specified by:
getConfigResources in class org.mule.tck.junit4.FunctionalTestCase
getConfigXmlFile
protected String getConfigXmlFile()
lookupFlowConstruct
protected org.mule.construct.Flow lookupFlowConstruct(String name)
- Overrides:
lookupFlowConstruct in class org.mule.tck.junit4.FunctionalTestCase
runFlowAndGetPayload
protected <T> T runFlowAndGetPayload(String flowName)
throws Exception
- Throws:
Exception
runFlowAndGetPayload
protected <T> T runFlowAndGetPayload(String flowName,
String beanId)
throws Exception
- Throws:
Exception
loadTestRunMessage
@Deprecated
protected void loadTestRunMessage(String beanId)
- Deprecated.
- Use initializeTestRunMessage instead
- Parameters:
data -
loadTestRunMessage
@Deprecated
public void loadTestRunMessage(Map<String,Object> data)
- Deprecated.
- Use initializeTestRunMessage instead
- Parameters:
data -
initializeTestRunMessage
protected void initializeTestRunMessage(String beanId)
initializeTestRunMessage
public void initializeTestRunMessage(Map<String,Object> data)
getBeanFromContext
public <T> T getBeanFromContext(String beanId)
throws org.springframework.beans.BeansException
- Throws:
org.springframework.beans.BeansException
upsertBeanFromContextOnTestRunMessage
public void upsertBeanFromContextOnTestRunMessage(String beanId)
upsertBeanFromContextOnTestRunMessage
public void upsertBeanFromContextOnTestRunMessage(String key,
String beanId)
upsertOnTestRunMessage
public void upsertOnTestRunMessage(String key,
Object value)
upsertOnTestRunMessage
public void upsertOnTestRunMessage(Map<String,Object> data)
getTestRunMessageValue
public <T> T getTestRunMessageValue(String key)
removeFromTestRunMessage
public void removeFromTestRunMessage(String key)
containsKeyTestRunMessage
public boolean containsKeyTestRunMessage(Object key)
Copyright © 2013. All rights reserved.