org.hibernate.beanvalidation.tck.tests.constraints.inheritance
Class ConstraintInheritanceTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.constraints.inheritance.ConstraintInheritanceTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class ConstraintInheritanceTest
extends org.jboss.arquillian.testng.Arquillian

Author:
Hardy Ferentschik

Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ConstraintInheritanceTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void setupValidator()
           
 void testConstraintsOnInterfaceAndImplementationAddUp()
           
 void testConstraintsOnInterfaceAreInherited()
           
 void testConstraintsOnSuperAndSubClassAddUp()
           
 void testConstraintsOnSuperClassAreInherited()
           
 void testValidationConsidersConstraintsFromSuperTypes()
           
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintInheritanceTest

public ConstraintInheritanceTest()
Method Detail

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

setupValidator

public void setupValidator()

testConstraintsOnSuperClassAreInherited

@SpecAssertion(section="4.3",
               id="b")
public void testConstraintsOnSuperClassAreInherited()

testConstraintsOnInterfaceAreInherited

@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="b")})
public void testConstraintsOnInterfaceAreInherited()

testConstraintsOnInterfaceAndImplementationAddUp

@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="c")})
public void testConstraintsOnInterfaceAndImplementationAddUp()

testConstraintsOnSuperAndSubClassAddUp

@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="c")})
public void testConstraintsOnSuperAndSubClassAddUp()

testValidationConsidersConstraintsFromSuperTypes

@SpecAssertion(section="4.6",
               id="a")
public void testValidationConsidersConstraintsFromSuperTypes()


Copyright © 2008-2013. All Rights Reserved.