use of org.jboss.arquillian.container.test.api.Deployment in project wildfly by wildfly.
the class TransactionInvocationTestCase method deployment.
@Deployment(name = "server", testable = false)
@TargetsContainer("multinode-server")
public static Archive<?> deployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, SERVER_DEPLOYMENT + ".jar");
jar.addClasses(TransactionalStatelessBean.class, TransactionalRemote.class, TransactionalStatefulRemote.class, TransactionalStatefulBean.class);
return jar;
}
use of org.jboss.arquillian.container.test.api.Deployment in project wildfly by wildfly.
the class TransactionPropagationTestCase method clientDeployment.
@Deployment(name = CLIENT_DEPLOYMENT, testable = true)
@TargetsContainer("multinode-client")
public static Archive<?> clientDeployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, CLIENT_DEPLOYMENT + ".jar");
jar.addPackage(TransactionPropagationTestCase.class.getPackage());
jar.addAsManifestResource("META-INF/jboss-ejb-client-receivers.xml", "jboss-ejb-client.xml");
return jar;
}
use of org.jboss.arquillian.container.test.api.Deployment in project wildfly by wildfly.
the class DynamicJNDIContextEJBInvocationTestCase method createDeploymentForRemoteServer.
@Deployment(name = "remote-server-deployment", testable = false)
@TargetsContainer("multinode-server")
public static Archive<?> createDeploymentForRemoteServer() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, REMOTE_SERVER_DEPLOYMENT_NAME + ".jar");
jar.addClasses(StatefulRemoteOnOtherServer.class, StatelessRemoteOnOtherServer.class, StatefulRemoteHomeForBeanOnOtherServer.class);
jar.addClasses(StatefulBeanOnOtherServer.class, StatelessBeanOnOtherServer.class);
return jar;
}
use of org.jboss.arquillian.container.test.api.Deployment in project wildfly by wildfly.
the class RestoreOriginalRequestTestCase method deploymentSP1.
@Deployment(name = "service-provider-1")
public static WebArchive deploymentSP1() {
WebArchive serviceProvider = serviceProvider("sp-redirect1.war");
serviceProvider.add(new StringAsset("Back to the original requested resource."), "savedRequest/savedRequest.html");
return serviceProvider;
}
use of org.jboss.arquillian.container.test.api.Deployment in project wildfly by wildfly.
the class SAMLIDPInitiatedTestCase method deploymentSP1.
@Deployment(name = "service-provider-1")
public static WebArchive deploymentSP1() {
WebArchive serviceProvider = serviceProvider("sp-post1.war");
serviceProvider.add(new StringAsset("Back to the original requested resource."), "savedRequest/savedRequest.jsp");
return serviceProvider;
}
Aggregations