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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.hibernate.jsr303.tck.tests.metadata.BeanDescriptorTest
All Implemented Interfaces:
org.testng.IHookable

@Artifact(artifactType=JSR303)
@Classes(value={TestUtil.class,TestUtil.PathImpl.class,TestUtil.NodeImpl.class})
public class BeanDescriptorTest
extends org.jboss.testharness.AbstractTest

Author:
Hardy Ferentschik

Constructor Summary
BeanDescriptorTest()
           
 
Method Summary
 void testGetConstrainedProperties()
           
 void testGetConstrainedPropertiesForUnconstrainedEntity()
           
 void testGetConstraintForConstrainedProperty()
           
 void testGetConstraintForUnConstrainedProperty()
           
 void testGetConstraintsForNonExistingProperty()
           
 void testGetConstraintsForNullProperty()
           
 void testIsBeanConstrainedDueToConstraintOnEntity()
           
 void testIsBeanConstrainedDueToConstraintOnInterface()
           
 void testIsBeanConstrainedDueToConstraintProperty()
           
 void testIsBeanConstrainedDueToValidAnnotation()
           
 void testUnconstrainedClass()
           
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, getCurrentConfiguration, handleDeploymentFailure, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
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

testIsBeanConstrainedDueToValidAnnotation

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="a")})
public void testIsBeanConstrainedDueToValidAnnotation()

testIsBeanConstrainedDueToConstraintOnEntity

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="a")})
public void testIsBeanConstrainedDueToConstraintOnEntity()

testIsBeanConstrainedDueToConstraintProperty

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="a")})
public void testIsBeanConstrainedDueToConstraintProperty()

testIsBeanConstrainedDueToConstraintOnInterface

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="a")})
public void testIsBeanConstrainedDueToConstraintOnInterface()

testUnconstrainedClass

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="a")})
public void testUnconstrainedClass()

testGetConstraintForConstrainedProperty

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="b")})
public void testGetConstraintForConstrainedProperty()

testGetConstraintForUnConstrainedProperty

@SpecAssertions(value={@SpecAssertion(section="5.3",id="b"),@SpecAssertion(section="5.3",id="b"),@SpecAssertion(section="5.4",id="a")})
public void testGetConstraintForUnConstrainedProperty()

testGetConstraintsForNonExistingProperty

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="b")})
public void testGetConstraintsForNonExistingProperty()

testGetConstrainedProperties

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="b")})
public void testGetConstrainedProperties()

testGetConstrainedPropertiesForUnconstrainedEntity

@SpecAssertions(value={@SpecAssertion(section="5.1",id="b"),@SpecAssertion(section="5.3",id="b")})
public void testGetConstrainedPropertiesForUnconstrainedEntity()

testGetConstraintsForNullProperty

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


Copyright © 2008-2011. All Rights Reserved.