use of org.apache.aries.util.manifest.BundleManifest in project aries by apache.
the class EJBModellerTest method testModelServicesNoExportEJB.
@Test
public void testModelServicesNoExportEJB() throws ModellerException {
Manifest man = new Manifest();
setBasicHeaders(man);
modeller.modelServices(new BundleManifest(man), bundleLocation);
ejbLocator.assertSkeletonNotCalled();
}
use of org.apache.aries.util.manifest.BundleManifest in project aries by apache.
the class EJBLocatorTest method runTest.
private void runTest(byte[] zip, String manifest) throws ModellerException, IOException {
ICloseableDirectory icd = FileSystem.getFSRoot(new ByteArrayInputStream(zip));
new OpenEJBLocator().findEJBs(new BundleManifest(getClass().getClassLoader().getResourceAsStream(manifest)), icd, registry);
icd.close();
}
Aggregations