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

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


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

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

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

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

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

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( BootstrapCustomProviderDefinedInServiceFileTest.class )
        .withClasses( TCKValidatorConfiguration.class, TCKValidationProvider.class )
        .withResource(
            "javax.validation.spi.ValidationProvider",
            "META-INF/services/javax.validation.spi.ValidationProvider",
View Full Code Here

  private ExecutableValidator executableValidator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClassPackage( InvalidMethodConstraintDeclarationTest.class )
        .withPackage( ImplementationAddingParameterConstraints.class.getPackage() )
        .withPackage( AbstractCalendarService.class.getPackage() )
        .withPackage( Person.class.getPackage() )
        .build();
View Full Code Here

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

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

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

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

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

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( ParameterDescriptorTest.class )
        .withClasses(
            Account.class,
            Customer.class,
            CustomerService.class,
View Full Code Here

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

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

  private ExecutableValidator executableValidator;

  @Deployment
  public static WebArchive createTestArchive() {
    return new WebArchiveBuilder()
        .withTestClass( ValidateConstructorReturnValueTest.class )
        .withPackage( MyCrossParameterConstraint.class.getPackage() )
        .withClass( Address.class )
        .withClass( Customer.class )
        .withClass( Email.class )
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.