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 TraversableResolverSpecifiedInValidationXmlTest extends Arquillian {

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( TraversableResolverSpecifiedInValidationXmlTest.class )
        .withClasses(
            User.class,
            Optional.class,
            CreditCard.class,
View Full Code Here


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

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

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

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( ParameterNameProviderSpecifiedInValidationXmlTest.class )
        .withClasses(
            CreditCard.class,
            CreditCardValidationService.class,
            ConfigurationDefinedConstraintValidatorFactoryResolver.class,
View Full Code Here

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

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

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

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

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

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( ValidateTest.class )
        .withClasses(
            Engine.class,
            Boy.class,
            Actor.class,
View Full Code Here

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

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

  private Validator validator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( GetterDefinitionTest.class )
        .withClasses( Shipment.class )
        .build();
  }
View Full Code Here

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

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

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

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( GroupConversionTest.class )
        .withValidationXml( "validation-GroupConversionTest.xml" )
        .withResource( "GroupConversionTest.xml" )
        .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.