Examples of DeploymentDescription


Examples of org.jboss.arquillian.container.spi.client.deployment.DeploymentDescription

   @Test
   public void shouldAllowMultipleArchiveDeploymentsWithSameArchiveNameWithDifferentTargets()
   {
      DeploymentScenario scenario = new DeploymentScenario();
      scenario.addDeployment(
            new DeploymentDescription(DEFAULT_NAME, ShrinkWrap.create(JavaArchive.class, "test.jar"))
            .setTarget(TargetDescription.DEFAULT));
      scenario.addDeployment(
            new DeploymentDescription("B", ShrinkWrap.create(JavaArchive.class, "test.jar"))
            .setTarget(new TargetDescription("B")));

      Assert.assertEquals(2, scenario.deployments().size());
   }
View Full Code Here

Examples of org.jboss.arquillian.spi.client.deployment.DeploymentDescription

   @Before
   public void createDeployment()
   {
      Archive<?> archive = ShrinkWrap.create(JavaArchive.class, ARCHIVE_NAME).addClass(getClass());

      deployment = new DeploymentDescription(DEPLOYMENT_NAME, archive);
      deployment.setTarget(new TargetDescription(TARGET_NAME));
      deployment.setTestableArchive(archive);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.