diff options
Diffstat (limited to 'java/sca/modules/node-launcher-equinox/src/test')
-rw-r--r-- | java/sca/modules/node-launcher-equinox/src/test/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherTestCase.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/sca/modules/node-launcher-equinox/src/test/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherTestCase.java b/java/sca/modules/node-launcher-equinox/src/test/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherTestCase.java index 2bb45a38be..9e30c1695e 100644 --- a/java/sca/modules/node-launcher-equinox/src/test/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherTestCase.java +++ b/java/sca/modules/node-launcher-equinox/src/test/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherTestCase.java @@ -32,18 +32,19 @@ import org.junit.Test; * */ public class NodeLauncherTestCase { - private static OSGiHost host; + private static EquinoxOSGiHost equinox; @BeforeClass public static void setUp() { // System.setProperty("TUSCANY_HOME", "target/tuscany"); - host = NodeLauncherUtil.startOSGi(); + equinox = new EquinoxOSGiHost(); + equinox.start(); } @AfterClass public static void tearDown() { - if (host != null) { - NodeLauncherUtil.stopOSGi(host); + if (equinox != null) { + equinox.stop(); } } |