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

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

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

Tests for the implementation of Validator.

Author:
Hardy Ferentschik

Nested Class Summary
static interface PropertyPathTest.Special
           
static class PropertyPathTest.SpecialValidator
           
 
Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
PropertyPathTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testPropertyPathSet()
           
 void testPropertyPathTraversedObject()
           
 void testPropertyPathWithArray()
           
 void testPropertyPathWithConstraintViolationForRootObject()
           
 void testPropertyPathWithList()
           
 void testPropertyPathWithMap()
           
 
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

PropertyPathTest

public PropertyPathTest()
Method Detail

createTestArchive

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

testPropertyPathWithConstraintViolationForRootObject

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="g"),@SpecAssertion(section="4.2",id="m")})
public void testPropertyPathWithConstraintViolationForRootObject()

testPropertyPathTraversedObject

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="h"),@SpecAssertion(section="4.2",id="l")})
public void testPropertyPathTraversedObject()

testPropertyPathWithList

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="i"),@SpecAssertion(section="4.2",id="k")})
public void testPropertyPathWithList()

testPropertyPathWithArray

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="i"),@SpecAssertion(section="4.2",id="k")})
public void testPropertyPathWithArray()

testPropertyPathWithMap

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="j"),@SpecAssertion(section="4.2",id="k")})
public void testPropertyPathWithMap()

testPropertyPathSet

@SpecAssertions(value={@SpecAssertion(section="4.2",id="f"),@SpecAssertion(section="4.2",id="k")})
public void testPropertyPathSet()


Copyright © 2008-2012. All Rights Reserved.