public abstract class AbstractMuleRuntimeTestCase extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractMuleRuntimeTestCase.CheckedConsumer<T> |
| Constructor and Description |
|---|
AbstractMuleRuntimeTestCase(RuntimeType runtimeType) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
static void |
checkDisposedApps() |
protected void |
cleanUpRemoteServerTlsConfiguration() |
static Collection<Object[]> |
data() |
protected void |
doWithFetchedToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
String id,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer) |
protected void |
doWithToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer) |
protected void |
doWithToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
org.mule.tooling.client.api.artifact.ToolingArtifact parent,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer) |
protected void |
doWithToolingArtifactWithoutDispose(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
Consumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer) |
protected String |
getAgentApplicationsUrl() |
protected String |
getAgentToolingUrl() |
protected String |
getAgentUrl() |
static String |
getMuleVersion() |
protected String |
getProtocol() |
protected List<org.apache.commons.lang3.tuple.ImmutablePair<String,String>> |
getStartupSystemProperties() |
static URI |
getTestLog4JConfigurationFile() |
static String |
getToolingVersion() |
protected boolean |
isStartMuleBeforeEachTest() |
protected void |
startMuleRuntime() |
static URL |
toUrl(URI uri) |
protected void |
validateAgentIsUpAndRunning() |
protected static final int DEFAULT_START_TIMEOUT
protected static final int DEFAULT_START_POLL_INTERVAL
protected static final int DEFAULT_START_POLL_DELAY
protected static final int DEFAULT_CONTROLLER_OPERATION_TIMEOUT
public static final String HTTP
public static final String RUNTIMES_FOLDER
public static final String REST_AGENT_TRANSPORT_PORT_SYS_PROP
public static final String MULE_RUNTIME_TOOLING_CLIENT
public static final String MULE_TOOLING_API_VERSION
public static final String MULE_AGENT_VERSION
public static final String MULE_VERSION
public static final String MULE_JMS_CONNECTOR_VERSION
public static final String MUNIT_TOOLS_PLUGIN_VERSION
public static final String MUNIT_RUNNER_PLUGIN_VERSION
public static final String MULE_EMAIL_CONNECTOR_VERSION
public static final String MULE_SPRING_MODULE_VERSION
public static final String MULE_DB_CONNECTOR_VERSION
public static final String MULE_WSC_CONNECTOR_VERSION
public static final String MULE_OBJECTSTORE_CONNECTOR_VERSION
public static final String MULE_VALIDATION_MODULE_VERSION
public static final String MULE_HTTP_CONNECTOR_VERSION
public static final String MULE_SOCKETS_CONNECTOR_VERSION
public static final String MULE_FILE_CONNECTOR_VERSION
public static final String MULE_FTP_CONNECTOR_VERSION
protected static String muleDir
protected final RuntimeType runtimeType
protected MuleStandaloneController muleStandaloneController
protected org.mule.tooling.client.api.configuration.agent.AgentConfiguration defaultAgentConfiguration
protected org.mule.maven.client.api.model.MavenConfiguration defaultMavenConfiguration
protected List<org.apache.commons.lang3.tuple.ImmutablePair<String,String>> defaultMuleStartArguments
protected Optional<org.mule.runtime.module.embedded.api.EmbeddedContainer> embeddedContainerOptional
public static org.junit.rules.TemporaryFolder temporaryFolder
public org.mule.tck.junit4.rule.DynamicPort agentPort
public AbstractMuleRuntimeTestCase(RuntimeType runtimeType)
public static Collection<Object[]> data()
protected String getAgentUrl()
protected String getAgentToolingUrl()
protected String getAgentApplicationsUrl()
protected void cleanUpRemoteServerTlsConfiguration()
public static URI getTestLog4JConfigurationFile()
public static String getMuleVersion()
public static String getToolingVersion()
protected void startMuleRuntime()
protected void validateAgentIsUpAndRunning()
protected String getProtocol()
public final void after()
public static void checkDisposedApps()
protected List<org.apache.commons.lang3.tuple.ImmutablePair<String,String>> getStartupSystemProperties()
protected boolean isStartMuleBeforeEachTest()
protected void doWithToolingArtifactWithoutDispose(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
Consumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer)
protected void doWithToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer)
protected void doWithToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
URL applicationContentUrl,
org.mule.tooling.client.api.artifact.ToolingArtifact parent,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer)
protected void doWithFetchedToolingArtifact(org.mule.tooling.client.api.ToolingRuntimeClient toolingRuntimeClient,
String id,
AbstractMuleRuntimeTestCase.CheckedConsumer<org.mule.tooling.client.api.artifact.ToolingArtifact> consumer)
Copyright © 2018 MuleSoft, Inc.. All rights reserved.