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

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

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

Tests for the implementation of Validator.

Author:
Hardy Ferentschik

Nested Class Summary
static interface PropertyPathTest.Special
           
static class PropertyPathTest.SpecialValidator
           
 
Constructor Summary
PropertyPathTest()
           
 
Method Summary
 void testPropertyPathSet()
           
 void testPropertyPathTraversedObject()
           
 void testPropertyPathWithArray()
           
 void testPropertyPathWithConstraintViolationForRootObject()
           
 void testPropertyPathWithList()
           
 void testPropertyPathWithMap()
           
 
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

PropertyPathTest

public PropertyPathTest()
Method Detail

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-2011. All Rights Reserved.