public abstract class DomainFunctionalTestCase extends AbstractMuleTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
DomainFunctionalTestCase.ApplicationConfig |
protected static class |
DomainFunctionalTestCase.ArtifactInstanceInfrastructure
Provides access for infrastructure objects of each deployed Mule artifact.
|
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, name, TEST_CONNECTOR, TEST_CONNECTOR_LOCATION, TEST_PAYLOAD, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME| Constructor and Description |
|---|
DomainFunctionalTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.core.api.MuleContext |
createAppMuleContext(String[] configResource) |
void |
disposeMuleContext(org.mule.runtime.core.api.MuleContext muleContext) |
void |
disposeMuleContexts() |
protected org.mule.runtime.core.api.config.ConfigurationBuilder |
getBuilder() |
abstract DomainFunctionalTestCase.ApplicationConfig[] |
getConfigResources() |
protected String |
getDomainConfig() |
protected String[] |
getDomainConfigs() |
DomainFunctionalTestCase.ArtifactInstanceInfrastructure |
getDomainInfrastructure() |
protected Map<String,Object> |
getDomainStartUpRegistryObjects() |
DomainFunctionalTestCase.ArtifactInstanceInfrastructure |
getInfrastructureForApp(String applicationName) |
org.mule.runtime.core.api.MuleContext |
getMuleContextForApp(String applicationName) |
org.mule.runtime.core.api.MuleContext |
getMuleContextForDomain() |
protected String |
getPayloadAsString(org.mule.runtime.api.message.Message message,
org.mule.runtime.core.api.MuleContext muleContext)
Uses
TransformationService to get a String representation of a message. |
void |
setUpMuleContexts() |
addMockComponentLocation, clearRequestContext, clearTestCaseName, clearTestEvents, collectThreadNames, createTestTimeoutRule, dumpFilteredThreadsInTest, getEventBuilder, getMavenProjectVersionProperty, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isFailOnTimeout, isOffline, newEvent, nullPayloadEvent, takeTestCaseName, testEventprotected String getDomainConfig()
protected String[] getDomainConfigs()
public void disposeMuleContext(org.mule.runtime.core.api.MuleContext muleContext)
public void disposeMuleContexts()
protected org.mule.runtime.core.api.MuleContext createAppMuleContext(String[] configResource) throws Exception
Exceptionpublic abstract DomainFunctionalTestCase.ApplicationConfig[] getConfigResources()
public org.mule.runtime.core.api.MuleContext getMuleContextForApp(String applicationName)
public DomainFunctionalTestCase.ArtifactInstanceInfrastructure getInfrastructureForApp(String applicationName)
public org.mule.runtime.core.api.MuleContext getMuleContextForDomain()
public DomainFunctionalTestCase.ArtifactInstanceInfrastructure getDomainInfrastructure()
protected org.mule.runtime.core.api.config.ConfigurationBuilder getBuilder()
protected String getPayloadAsString(org.mule.runtime.api.message.Message message, org.mule.runtime.core.api.MuleContext muleContext) throws Exception
TransformationService to get a String representation of a message.message - message to get payload fromException - if there is an unexpected error obtaining the payload representationCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.