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;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class BeforeCompletionExceptionDestroysBeanTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "test-beforecompletion.war");
war.addPackage(BeforeCompletionExceptionDestroysBeanTestCase.class.getPackage());
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class TimerServiceSuspendTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
final WebArchive war = ShrinkWrap.create(WebArchive.class, "testTimerServiceSimple.war");
war.addPackage(TimerServiceSuspendTestCase.class.getPackage());
war.addAsManifestResource(new StringAsset("Dependencies: org.jboss.dmr, org.jboss.as.controller-client\n"), "MANIFEST.MF");
return war;
}
use of org.jboss.shrinkwrap.api.spec.WebArchive in project wildfly by wildfly.
the class TimerRetryTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
final WebArchive war = ShrinkWrap.create(WebArchive.class, "timerRetryTestCase.war");
war.addPackage(TimerRetryTestCase.class.getPackage());
return war;
}
Aggregations