org.hibernate.beanvalidation.tck.tests.metadata
Class BeanDescriptorTest

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

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class BeanDescriptorTest
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
BeanDescriptorTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testGetConstrainedConstructors()
           
 void testGetConstrainedConstructorsForUnconstrainedEntity()
           
 void testGetConstrainedMethodsForUnconstrainedEntity()
           
 void testGetConstrainedMethodsTypeGETTER()
           
 void testGetConstrainedMethodsTypeNON_GETTER()
           
 void testGetConstrainedMethodsTypesGETTERAndNON_GETTER()
           
 void testGetConstrainedProperties()
           
 void testGetConstrainedPropertiesForUnconstrainedEntity()
           
 void testGetConstraintsForCascadedParameterConstructor()
           
 void testGetConstraintsForCascadedParameterMethod()
           
 void testGetConstraintsForCascadedReturnValueConstructor()
           
 void testGetConstraintsForCascadedReturnValueMethod()
           
 void testGetConstraintsForConstrainedProperty()
           
 void testGetConstraintsForCrossParameterConstrainedConstructor()
           
 void testGetConstraintsForCrossParameterConstrainedMethod()
           
 void testGetConstraintsForNonExistingConstructorConstructor()
           
 void testGetConstraintsForNonExistingMethod()
           
 void testGetConstraintsForNonExistingProperty()
           
 void testGetConstraintsForNullMethod()
           
 void testGetConstraintsForNullProperty()
           
 void testGetConstraintsForParameterConstrainedConstructor()
           
 void testGetConstraintsForParameterConstrainedMethod()
           
 void testGetConstraintsForReturnValueConstrainedConstructor()
           
 void testGetConstraintsForReturnValueConstrainedMethod()
           
 void testGetConstraintsForUnconstrainedConstructor()
           
 void testGetConstraintsForUnconstrainedMethod()
           
 void testGetConstraintsForUnConstrainedProperty()
           
 void testGetElementClassReturnsBeanClass()
           
 void testIsBeanConstrainedDueToConstraintOnEntity()
           
 void testIsBeanConstrainedDueToConstraintOnInterface()
           
 void testIsBeanConstrainedDueToConstraintProperty()
           
 void testIsBeanConstrainedDueToValidAnnotation()
           
 void testUnconstrainedClass()
           
 
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

BeanDescriptorTest

public BeanDescriptorTest()
Method Detail

createTestArchive

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

testGetElementClassReturnsBeanClass

@SpecAssertion(section="6.2",
               id="a")
public void testGetElementClassReturnsBeanClass()

testIsBeanConstrainedDueToValidAnnotation

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="a")})
public void testIsBeanConstrainedDueToValidAnnotation()

testIsBeanConstrainedDueToConstraintOnEntity

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="a")})
public void testIsBeanConstrainedDueToConstraintOnEntity()

testIsBeanConstrainedDueToConstraintProperty

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="a")})
public void testIsBeanConstrainedDueToConstraintProperty()

testIsBeanConstrainedDueToConstraintOnInterface

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="a")})
public void testIsBeanConstrainedDueToConstraintOnInterface()

testUnconstrainedClass

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="a")})
public void testUnconstrainedClass()

testGetConstraintsForConstrainedProperty

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="b")})
public void testGetConstraintsForConstrainedProperty()

testGetConstraintsForUnConstrainedProperty

@SpecAssertions(value={@SpecAssertion(section="6.3",id="b"),@SpecAssertion(section="6.4",id="a")})
public void testGetConstraintsForUnConstrainedProperty()

testGetConstraintsForNonExistingProperty

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="b")})
public void testGetConstraintsForNonExistingProperty()

testGetConstrainedProperties

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="d")})
public void testGetConstrainedProperties()

testGetConstrainedPropertiesForUnconstrainedEntity

@SpecAssertions(value={@SpecAssertion(section="6.1",id="a"),@SpecAssertion(section="6.3",id="d")})
public void testGetConstrainedPropertiesForUnconstrainedEntity()

testGetConstraintsForNullProperty

@SpecAssertion(section="6.3",
               id="c")
public void testGetConstraintsForNullProperty()

testGetConstraintsForParameterConstrainedMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForParameterConstrainedMethod()

testGetConstraintsForCrossParameterConstrainedMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForCrossParameterConstrainedMethod()

testGetConstraintsForCascadedParameterMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForCascadedParameterMethod()

testGetConstraintsForReturnValueConstrainedMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForReturnValueConstrainedMethod()

testGetConstraintsForCascadedReturnValueMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForCascadedReturnValueMethod()

testGetConstraintsForUnconstrainedMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForUnconstrainedMethod()

testGetConstraintsForNonExistingMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForNonExistingMethod()

testGetConstraintsForNullMethod

@SpecAssertion(section="6.3",
               id="e")
public void testGetConstraintsForNullMethod()

testGetConstrainedMethodsTypeNON_GETTER

@SpecAssertion(section="6.3",
               id="f")
public void testGetConstrainedMethodsTypeNON_GETTER()

testGetConstrainedMethodsTypeGETTER

@SpecAssertion(section="6.3",
               id="f")
public void testGetConstrainedMethodsTypeGETTER()

testGetConstrainedMethodsTypesGETTERAndNON_GETTER

@SpecAssertion(section="6.3",
               id="f")
public void testGetConstrainedMethodsTypesGETTERAndNON_GETTER()

testGetConstrainedMethodsForUnconstrainedEntity

@SpecAssertion(section="6.3",
               id="f")
public void testGetConstrainedMethodsForUnconstrainedEntity()

testGetConstraintsForParameterConstrainedConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForParameterConstrainedConstructor()

testGetConstraintsForCrossParameterConstrainedConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForCrossParameterConstrainedConstructor()

testGetConstraintsForCascadedParameterConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForCascadedParameterConstructor()

testGetConstraintsForReturnValueConstrainedConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForReturnValueConstrainedConstructor()

testGetConstraintsForCascadedReturnValueConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForCascadedReturnValueConstructor()

testGetConstraintsForUnconstrainedConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForUnconstrainedConstructor()

testGetConstraintsForNonExistingConstructorConstructor

@SpecAssertion(section="6.3",
               id="g")
public void testGetConstraintsForNonExistingConstructorConstructor()

testGetConstrainedConstructors

@SpecAssertion(section="6.3",
               id="h")
public void testGetConstrainedConstructors()

testGetConstrainedConstructorsForUnconstrainedEntity

@SpecAssertion(section="6.3",
               id="h")
public void testGetConstrainedConstructorsForUnconstrainedEntity()


Copyright © 2008-2013. All Rights Reserved.