use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class SimpleHomeTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, ARCHIVE_NAME);
war.addPackage(SimpleHomeTestCase.class.getPackage());
war.addPackage(SimpleInterface.class.getPackage());
war.addAsWebInfResource(SimpleHomeTestCase.class.getPackage(), "ejb-jar.xml", "ejb-jar.xml");
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class RemoteHomeInjectionTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, ARCHIVE_NAME);
war.addPackage(RemoteHomeInjectionTestCase.class.getPackage());
war.addPackage(SimpleInterface.class.getPackage());
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class DefaultInterceptorRegexTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testregex.war");
war.addPackage(DefaultInterceptorRegexTestCase.class.getPackage());
war.addAsWebInfResource(DefaultInterceptorRegexTestCase.class.getPackage(), "ejb-jar-default.xml", "ejb-jar.xml");
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class EjbMethodNameRegexTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testregex.war");
war.addPackage(EjbMethodNameRegexTestCase.class.getPackage());
war.addAsWebInfResource(EjbMethodNameRegexTestCase.class.getPackage(), "ejb-jar.xml", "ejb-jar.xml");
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class MultiBeanMatchesRegexTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testregex.war");
war.addPackage(MultiBeanMatchesRegexTestCase.class.getPackage());
war.addAsWebInfResource(MultiBeanMatchesRegexTestCase.class.getPackage(), "ejb-jar-multi.xml", "ejb-jar.xml");
return war;
}
Aggregations