Package org.hibernate.beanvalidation.tck.util.shrinkwrap

Examples of org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder


@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class UnknownConstructorValidationTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( UnknownConstructorValidationTest.class )
        .withValidationXml( "validation-UnknownConstructorValidationTest.xml" )
        .withResource( "customer-repository-constraints-UnknownConstructorValidationTest.xml" )
        .build();
  }
View Full Code Here


  private static final String MAPPING_FILE = "Version10InMappingXmlTest.xml";

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( Version10InMappingXmlTest.class )
        .withClass( TestEntity.class )
        .withResource( MAPPING_FILE )
        .build();
  }
View Full Code Here

  private Validator validator;
  private ExecutableValidator executableValidator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( GenericAndCrossParameterConstraintTest.class )
        .build();
  }
View Full Code Here

@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class Version10InValidationXmlTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( Version10InValidationXmlTest.class )
        .withValidationXml( "validation-Version10InValidationXmlTest.xml" )
        .build();
  }
View Full Code Here

  private ExecutableValidator executableValidator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( PropertyPathTest.class )
        .withClasses(
            Actor.class,
            ActorArrayBased.class,
            ActorCollectionBased.class,
View Full Code Here

@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class ConstraintValidatorInjectionTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( ConstraintValidatorInjectionTest.class )
        .withEmptyBeansXml()
        .build();
  }
View Full Code Here

@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class MethodValidationTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( MethodValidationTest.class )
        .withValidationXml( "validation-MethodValidationTest.xml" )
        .withResource( "customer-repository-constraints-MethodValidationTest.xml" )
        .build();
  }
View Full Code Here

@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class IncludePropertyLevelAnnotationsDueToBeanDefaultsTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( IncludePropertyLevelAnnotationsDueToBeanDefaultsTest.class )
        .withClasses( User.class, CreditCard.class )
        .withValidationXml( "validation-IncludePropertyLevelAnnotationsDueToBeanDefaultsTest.xml" )
        .withResource( "user-constraints-IncludePropertyLevelAnnotationsDueToBeanDefaultsTest.xml" )
        .build();
View Full Code Here

@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class ValidateWithGroupsTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( ValidateWithGroupsTest.class )
        .withClasses( Address.class, NotEmpty.class )
        .build();
  }
View Full Code Here

  private Validator validator;
  private ExecutableValidator executableValidator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( InvalidDeclarationOfGenericAndCrossParameterConstraintTest.class )
        .build();
  }
View Full Code Here

TOP

Related Classes of org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder

Copyright © 2018 www.massapicom. 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.