public class RemoteRunner extends Object
RunConfigurationParser.
The final goal of the class is to run each MUnit Test Suite file provided and report back the run results and the coverage
results.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
static String |
MUNIT_DEBUG_LOG_CLASSPATH |
static String |
MUNIT_DISABLE_LAZY_CONNECTIONS |
static String |
MUNIT_DISABLE_LAZY_INITIALIZATION |
static String |
MUNIT_DISABLE_LOG_VALIDATION |
static String |
SYSTEM_PROPERTIES_FILE |
| Constructor and Description |
|---|
RemoteRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.module.embedded.api.DeploymentConfiguration |
buildDeploymentConfiguration() |
protected RunnerClient |
buildRunnerClient(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener,
int port) |
protected org.mule.munit.common.protocol.listeners.RemoteRunEventListener |
buildRunnerListener(List<NotifierConfiguration> configurations) |
protected void |
deployApplication(String applicationName,
org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration,
String munitWorkingDirectoryPath,
org.mule.runtime.module.embedded.api.EmbeddedContainer container) |
protected void |
deployDomain(String domainLocation,
org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration,
org.mule.runtime.module.embedded.api.EmbeddedContainer container) |
static void |
main(String[] args) |
void |
run(RunConfiguration runConfig) |
protected boolean |
runSuite(RunConfiguration runConfig,
org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener,
String suitePath,
int port) |
void |
setContainerFactory(ContainerFactory containerFactory) |
protected transient org.slf4j.Logger logger
public static final String SYSTEM_PROPERTIES_FILE
public static final String MUNIT_DEBUG_LOG_CLASSPATH
public static final String MUNIT_DISABLE_LOG_VALIDATION
public static final String MUNIT_DISABLE_LAZY_CONNECTIONS
public static final String MUNIT_DISABLE_LAZY_INITIALIZATION
public static void main(String[] args) throws org.apache.commons.cli.ParseException, IOException, URISyntaxException
org.apache.commons.cli.ParseExceptionIOExceptionURISyntaxExceptionpublic void setContainerFactory(ContainerFactory containerFactory)
public void run(RunConfiguration runConfig) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionprotected org.mule.runtime.module.embedded.api.DeploymentConfiguration buildDeploymentConfiguration()
protected void deployDomain(String domainLocation, org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration, org.mule.runtime.module.embedded.api.EmbeddedContainer container) throws DeploymentException
DeploymentExceptionprotected void deployApplication(String applicationName, org.mule.runtime.module.embedded.api.DeploymentConfiguration deploymentConfiguration, String munitWorkingDirectoryPath, org.mule.runtime.module.embedded.api.EmbeddedContainer container) throws DeploymentException
DeploymentExceptionprotected boolean runSuite(RunConfiguration runConfig, org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, String suitePath, int port)
protected RunnerClient buildRunnerClient(org.mule.munit.common.protocol.listeners.RemoteRunEventListener listener, int port) throws IOException
IOExceptionprotected org.mule.munit.common.protocol.listeners.RemoteRunEventListener buildRunnerListener(List<NotifierConfiguration> configurations) throws IOException
IOExceptionCopyright © 2018. All rights reserved.