Search in sources :

Example 26 with TargetsContainer

use of org.jboss.arquillian.container.test.api.TargetsContainer in project wildfly by wildfly.

the class TransactionPropagationTestCase method deployment.

@Deployment(name = SERVER_DEPLOYMENT, testable = false)
@TargetsContainer("multinode-server")
public static Archive<?> deployment() {
    final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, SERVER_DEPLOYMENT + ".jar");
    jar.addClasses(TransactionalMandatory.class, TransactionalStatusByManager.class, TransactionalStatusByRegistry.class, TransactionalRemote.class);
    return jar;
}
Also used : JavaArchive(org.jboss.shrinkwrap.api.spec.JavaArchive) Deployment(org.jboss.arquillian.container.test.api.Deployment) OperateOnDeployment(org.jboss.arquillian.container.test.api.OperateOnDeployment) TargetsContainer(org.jboss.arquillian.container.test.api.TargetsContainer)

Example 27 with TargetsContainer

use of org.jboss.arquillian.container.test.api.TargetsContainer in project wildfly by wildfly.

the class RemoteLocalCallTestCase method deployment1.

@Deployment(name = "client")
@TargetsContainer("multinode-client")
public static Archive<?> deployment1() {
    JavaArchive jar = createJar(ARCHIVE_NAME_CLIENT);
    jar.addClasses(RemoteLocalCallTestCase.class);
    jar.addAsManifestResource("META-INF/jboss-ejb-client-receivers.xml", "jboss-ejb-client.xml");
    return jar;
}
Also used : JavaArchive(org.jboss.shrinkwrap.api.spec.JavaArchive) OperateOnDeployment(org.jboss.arquillian.container.test.api.OperateOnDeployment) Deployment(org.jboss.arquillian.container.test.api.Deployment) TargetsContainer(org.jboss.arquillian.container.test.api.TargetsContainer)

Aggregations

Deployment (org.jboss.arquillian.container.test.api.Deployment)27 TargetsContainer (org.jboss.arquillian.container.test.api.TargetsContainer)27 JavaArchive (org.jboss.shrinkwrap.api.spec.JavaArchive)23 OperateOnDeployment (org.jboss.arquillian.container.test.api.OperateOnDeployment)18 StringAsset (org.jboss.shrinkwrap.api.asset.StringAsset)5 Properties (java.util.Properties)4 WebArchive (org.jboss.shrinkwrap.api.spec.WebArchive)4 AuthPermission (javax.security.auth.AuthPermission)1 Util (org.jboss.as.test.shared.integration.ejb.security.Util)1