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() |
public MuleInstallation(String zippedDistribution)
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.