use of org.jboss.arquillian.container.test.api.TargetsContainer in project wildfly by wildfly.
the class SSLEJBRemoteClientTestCase method deployStateless.
@Deployment(name = DEPLOYMENT_STATELESS, managed = false)
@TargetsContainer(DEFAULT_JBOSSAS)
public static Archive<?> deployStateless() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, MODULE_NAME_STATELESS + ".jar");
jar.addClasses(StatelessBeanRemote.class, StatelessBean.class);
return jar;
}
use of org.jboss.arquillian.container.test.api.TargetsContainer in project wildfly by wildfly.
the class LayeredDistributionTestCase method getDeployment.
@Deployment(name = DEPLOYMENT, managed = false, testable = false)
@TargetsContainer(CONTAINER)
public static Archive<?> getDeployment() {
WebArchive war = ShrinkWrap.create(WebArchive.class, "test-deployment.war");
// set dependency to the test deployment
war.addClass(LayeredTestServlet.class);
war.setManifest(new StringAsset("Manifest-Version: 1.0" + System.getProperty("line.separator") + "Dependencies: org.jboss.ldtc, org.jboss.modules" + System.getProperty("line.separator")));
return war;
}
use of org.jboss.arquillian.container.test.api.TargetsContainer in project wildfly by wildfly.
the class TransactionInvocationTestCase method clientDeployment.
@Deployment(name = "client", testable = true)
@TargetsContainer("multinode-client")
public static Archive<?> clientDeployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, CLIENT_DEPLOYMENT + ".jar");
jar.addClasses(ClientEjb.class, TransactionalRemote.class, TransactionInvocationTestCase.class, TransactionalStatefulRemote.class);
jar.addAsManifestResource("META-INF/jboss-ejb-client-receivers.xml", "jboss-ejb-client.xml");
return jar;
}
use of org.jboss.arquillian.container.test.api.TargetsContainer 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.TargetsContainer 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;
}
Aggregations