Skip to content

Commit

Permalink
Fix JavaEEIntegrationTestCase for latest AS7
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Diesler committed Jul 19, 2012
1 parent 8587d20 commit b8bfee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -59,7 +59,7 @@
<version.jboss.osgi.deployment>1.1.1.Final</version.jboss.osgi.deployment>
<version.jboss.osgi.equinox>3.5.2.SP1</version.jboss.osgi.equinox>
<version.jboss.osgi.felix>3.0.4</version.jboss.osgi.felix>
<version.jboss.osgi.framework>2.0.0.CR12</version.jboss.osgi.framework>
<version.jboss.osgi.framework>2.0.0.CR13</version.jboss.osgi.framework>
<version.jboss.osgi.jmx>1.1.0.Final</version.jboss.osgi.jmx>
<version.jboss.osgi.logging>1.0.0</version.jboss.osgi.logging>
<version.jboss.osgi.metadata>2.1.1.CR7</version.jboss.osgi.metadata>
Expand Down
Expand Up @@ -46,7 +46,6 @@
import org.jboss.test.osgi.example.jbossas.ee.service.PaymentActivator;
import org.jboss.test.osgi.example.jbossas.ee.webapp.SimpleBeanClientServlet;
import org.jboss.test.osgi.example.jbossas.ee.webapp.SimpleClientServlet;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.osgi.framework.Bundle;
Expand All @@ -70,7 +69,6 @@
* @since 01-Feb-2012
*/
@RunWith(Arquillian.class)
@Ignore
public class JavaEEIntegrationTestCase {

private static final String API_DEPLOYMENT_NAME = "example-javaee-api";
Expand All @@ -88,14 +86,6 @@ public class JavaEEIntegrationTestCase {
public static JavaArchive createdeployment() {
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "example-javaee");
archive.addClasses(HttpSupport.class);
archive.setManifest(new Asset() {
@Override
public InputStream openStream() {
ManifestBuilder builder = ManifestBuilder.newInstance();
builder.addManifestHeader("Dependencies", "org.osgi.core");
return builder.openStream();
}
});
return archive;
}

Expand Down Expand Up @@ -175,7 +165,7 @@ public static JavaArchive getEjbArchive() {
public InputStream openStream() {
ManifestBuilder builder = ManifestBuilder.newInstance();
String osgidep = "org.osgi.core,org.jboss.osgi.framework";
String apidep = ",deployment." + API_DEPLOYMENT_NAME + ":0.0.0";
String apidep = ",deployment." + API_DEPLOYMENT_NAME;
builder.addManifestHeader("Dependencies", osgidep + apidep);
return builder.openStream();
}
Expand All @@ -194,7 +184,7 @@ public static WebArchive getServletArchive() {
public InputStream openStream() {
ManifestBuilder builder = ManifestBuilder.newInstance();
String osgidep = "org.osgi.core,org.jboss.osgi.framework";
String apidep = ",deployment." + API_DEPLOYMENT_NAME + ":0.0.0";
String apidep = ",deployment." + API_DEPLOYMENT_NAME;
String ejbdep = ",deployment." + EJB3_DEPLOYMENT_NAME;
builder.addManifestHeader("Dependencies", osgidep + apidep + ejbdep);
return builder.openStream();
Expand Down

0 comments on commit b8bfee0

Please sign in to comment.