org.hibernate.beanvalidation.tck.tests.validation
Class CustomPropertyPathTest

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

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

Author:
Gunnar Morling

Nested Class Summary
static interface CustomPropertyPathTest.ClassLevelValidationAddingPropertyNodes
           
static interface CustomPropertyPathTest.CrossParameterValidationAddingParameterBeanAndPropertyNodes
           
static interface CustomPropertyPathTest.FieldLevelValidationAddingParameterNode
           
static interface CustomPropertyPathTest.MyClassLevelValidation
           
static interface CustomPropertyPathTest.PropertyLevelValidationAddingBeanAndPropertyNodes
           
 
Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
CustomPropertyPathTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void setupValidators()
           
 void testAddBeanNode()
           
 void testAddingNodesInClassLevelConstraintKeepsInIterableKeyAndIndex()
           
 void testAddParameterNode()
           
 void testAddParameterNodeForFieldLevelConstraintCausesException()
           
 void testAddParameterNodeUsingCustomParameterNameProvider()
           
 void testAddPropertyNode()
           
 
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

CustomPropertyPathTest

public CustomPropertyPathTest()
Method Detail

setupValidators

public void setupValidators()

createTestArchive

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

testAddPropertyNode

@SpecAssertion(section="5.2",
               id="an")
public void testAddPropertyNode()

testAddBeanNode

@SpecAssertion(section="5.2",
               id="an")
public void testAddBeanNode()

testAddingNodesInClassLevelConstraintKeepsInIterableKeyAndIndex

@SpecAssertion(section="5.2",
               id="an")
public void testAddingNodesInClassLevelConstraintKeepsInIterableKeyAndIndex()

testAddParameterNode

@SpecAssertion(section="5.2",
               id="an")
public void testAddParameterNode()
                          throws Exception
Throws:
Exception

testAddParameterNodeUsingCustomParameterNameProvider

@SpecAssertion(section="5.2",
               id="an")
public void testAddParameterNodeUsingCustomParameterNameProvider()
                                                          throws Exception
Throws:
Exception

testAddParameterNodeForFieldLevelConstraintCausesException

@SpecAssertion(section="5.2",
               id="an")
public void testAddParameterNodeForFieldLevelConstraintCausesException()
                                                                throws Throwable
Throws:
Throwable


Copyright © 2008-2013. All Rights Reserved.