public class MuleInstallation extends org.junit.rules.ExternalResource
public static class MuleRuntimeInstallationTest { @Rule public MuleInstallation installation = new MuleInstallation("/path/to/packed/distribution.zip"); @Test public void usingMuleRuntime() throws IOException { String muleHomePath = installation.getMuleHome(); MuleProcessController mule = new MuleProcessController(muleHomePath); mule.start(); } }
Constructor and Description |
---|
MuleInstallation(String zippedDistribution) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
protected void |
before() |
String |
getMuleHome() |
apply
public MuleInstallation(String zippedDistribution)
public String getMuleHome()
protected void before() throws Throwable
before
in class org.junit.rules.ExternalResource
Throwable
protected void after()
after
in class org.junit.rules.ExternalResource
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.