use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class AroundConstructNoCreateTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testlocal.war");
war.addPackage(AroundConstructNoCreateTestCase.class.getPackage());
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class InterceptorLifecycleSFSBTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testlocal.war");
war.addPackage(InterceptorLifecycleSFSBTestCase.class.getPackage());
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class EjbMethodInterceptorTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "testmethodinterceptor.war");
war.addPackage(EjbMethodInterceptorTestCase.class.getPackage());
war.addAsWebInfResource(EjbMethodInterceptorTestCase.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 ViewTimerServiceTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
final WebArchive war = ShrinkWrap.create(WebArchive.class, "testTimerServiceView.war");
war.addPackage(ViewTimerServiceTestCase.class.getPackage());
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class BeanManagedTransactionsTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "test-mandatory.war");
war.addPackage(BeanManagedTransactionsTestCase.class.getPackage());
war.add(EmptyAsset.INSTANCE, "WEB-INF/beans.xml");
return war;
}
Aggregations