]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.osgiboot/src/test/java/org/argeo/slc/osgiboot/OsgiBootRuntimeTest.java
Start implementing OSGi integration tests
[gpl/argeo-slc.git] / runtime / org.argeo.slc.osgiboot / src / test / java / org / argeo / slc / osgiboot / OsgiBootRuntimeTest.java
index 401441c42f46c52ac3262724a9931c9f81c53eec..a2ddeb118103e0ff988a4638e156b8416c83fbdd 100644 (file)
@@ -44,7 +44,7 @@ public class OsgiBootRuntimeTest extends TestCase {
        }
 
        protected BundleContext startRuntime() throws Exception {
-               String[] args = { "-console" };
+               String[] args = { "-console", "-clean" };
                BundleContext bundleContext = EclipseStarter.startup(args, null);
                return bundleContext;
        }
@@ -53,12 +53,12 @@ public class OsgiBootRuntimeTest extends TestCase {
                EclipseStarter.shutdown();
        }
 
-       public void setUp() throws Exception{
+       public void setUp() throws Exception {
                BundleContext bundleContext = startRuntime();
                osgiBoot = new OsgiBoot(bundleContext);
        }
-       
-       public void tearDown() throws Exception{
+
+       public void tearDown() throws Exception {
                osgiBoot = null;
                stopRuntime();
        }