aboutsummaryrefslogtreecommitdiff
path: root/core/test/com/googlecode/guice/OSGiContainerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/com/googlecode/guice/OSGiContainerTest.java')
-rw-r--r--core/test/com/googlecode/guice/OSGiContainerTest.java25
1 files changed, 13 insertions, 12 deletions
diff --git a/core/test/com/googlecode/guice/OSGiContainerTest.java b/core/test/com/googlecode/guice/OSGiContainerTest.java
index 5a00d2da..77ab8fae 100644
--- a/core/test/com/googlecode/guice/OSGiContainerTest.java
+++ b/core/test/com/googlecode/guice/OSGiContainerTest.java
@@ -16,15 +16,10 @@
package com.googlecode.guice;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.Iterator;
-import java.util.Properties;
-import javax.imageio.spi.ServiceRegistry;
+import aQute.bnd.main.bnd;
+
+import com.googlecode.guice.bundle.OSGiTestActivator;
import junit.framework.TestCase;
@@ -32,13 +27,19 @@ import org.osgi.framework.BundleContext;
import org.osgi.framework.launch.Framework;
import org.osgi.framework.launch.FrameworkFactory;
-import aQute.bnd.main.bnd;
+import java.io.BufferedOutputStream;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.Iterator;
+import java.util.Properties;
-import com.googlecode.guice.bundle.OSGiTestActivator;
+import javax.imageio.spi.ServiceRegistry;
/**
* Run various tests inside one or more OSGi containers.
- *
+ *
* @author mcculls@gmail.com (Stuart McCulloch)
*/
public class OSGiContainerTest
@@ -112,7 +113,7 @@ public class OSGiContainerTest
// assemble bundle, use -failok switch to avoid early exit
bnd.main(new String[]{"-failok", "build", "-classpath", classpath, bndFileName});
}
-
+
private String failMsg() {
return "This test may fail if it is not run from ant, or if it is not run after ant has "
+ "compiled & built jars. This is because the test is validating that the Guice jar "