use of org.wildfly.swarm.spi.api.JARArchive in project wildfly-swarm by wildfly-swarm.
the class TopologyArchiveTest method testMultipleCastingToTopologyArchive.
@Test
public void testMultipleCastingToTopologyArchive() {
JARArchive archive = ShrinkWrap.create(JARArchive.class);
archive.as(TopologyArchive.class).advertise("foo");
assertThat(archive.as(TopologyArchive.class).advertisements()).hasSize(1);
assertThat(archive.as(TopologyArchive.class).advertisements()).contains("foo");
}
use of org.wildfly.swarm.spi.api.JARArchive in project wildfly-swarm by wildfly-swarm.
the class CreateSOAPInVmTest method createDeployment.
@Deployment
public static Archive createDeployment() {
JARArchive deployment = ShrinkWrap.create(JARArchive.class);
deployment.add(EmptyAsset.INSTANCE, "nothing");
return deployment;
}
use of org.wildfly.swarm.spi.api.JARArchive in project wildfly-swarm by wildfly-swarm.
the class SwaggerWebAppArquillianTest method createDeployment.
@Deployment(testable = false)
public static Archive createDeployment() {
JARArchive deployment = ShrinkWrap.create(JARArchive.class);
deployment.add(EmptyAsset.INSTANCE, "nothing");
return deployment;
}
use of org.wildfly.swarm.spi.api.JARArchive in project wildfly-swarm by wildfly-swarm.
the class UndertowArquillianTest method createDeployment.
@Deployment(testable = false)
public static Archive createDeployment() {
JARArchive deployment = ShrinkWrap.create(JARArchive.class);
deployment.add(EmptyAsset.INSTANCE, "nothing");
return deployment;
}
use of org.wildfly.swarm.spi.api.JARArchive in project wildfly-swarm by wildfly-swarm.
the class VertxArquillianTest method createDeployment.
@Deployment
public static Archive createDeployment() {
JARArchive deployment = ShrinkWrap.create(JARArchive.class);
deployment.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
deployment.addClass(VertxProvider.class);
deployment.addModule("io.vertx.jca", "api");
return deployment;
}
Aggregations