-
Task
-
Resolution: Done
-
Major
-
None
-
None
Currently the test bundle must contain the test case and a number of Import-Package statemetns related to the test infrastructure
@Deployment
public static JavaArchive createdeployment()
{
final JavaArchive archive = ShrinkWrap.create("test.jar", JavaArchive.class);
archive.setManifest(new Asset()
{
public InputStream openStream()
});
archive.addClasses(SimpleActivator.class, SimpleService.class);
archive.addClasses(OSGiEmbeddedFrameworkTestCase.class);
return archive;
}
There test bundle should not need to contain the test case nor these additional imports. An auxillary bundle that contains the test case should be generated and installed