public abstract class AbstractMuleRuntimeTestCase extends Object
| Modifier and Type | Field and Description |
|---|---|
org.mule.tck.junit4.rule.DynamicPort |
agentPort |
protected static int |
DEFAULT_CONTROLLER_OPERATION_TIMEOUT |
protected static int |
DEFAULT_START_POLL_DELAY |
protected static int |
DEFAULT_START_POLL_INTERVAL |
protected static int |
DEFAULT_START_TIMEOUT |
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 |
static String |
HTTP |
static String |
MULE_RUNTIME_TOOLING_CLIENT |
static String |
MULE_TOOLING_API_VERSION |
protected MuleStandaloneController |
muleStandaloneController |
static String |
POM_XML |
static String |
REST_AGENT_TRANSPORT_PORT_SYS_PROP |
static String |
RUNTIMES_FOLDER |
protected RuntimeType |
runtimeType |
static org.junit.rules.TemporaryFolder |
temporaryFolder |
| 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 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 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 POM_XML
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 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()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.