@Deployment
 public static JavaArchive createDeployment() {
   JavaArchive deployment = Tests.createDeployment(ConfigurationClassFieldTest.class);
   deployment.addAsResource(
       Tests.createFileAsset(PATH + "/demoiselle.properties"), "demoiselle.properties");
   return deployment;
 }
  @Deployment(name = "1")
  public static WebArchive createDeployment() {
    WebArchive deployment = Tests.createDeployment(JPACrudTest.class);
    deployment.addAsResource(
        Tests.createFileAsset(PATH + "/persistence.xml"), "META-INF/persistence.xml");

    return deployment;
  }
예제 #3
0
 @Deployment
 public static JavaArchive createDeployment() {
   JavaArchive deployment = Tests.createDeployment(StartupSimpleTest.class);
   return deployment;
 }