org.hibernate.jsr303.tck.tests.validation.validatorcontext
Class ConstraintValidatorContextTest

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

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

Author:
Hardy Ferentschik

Nested Class Summary
static interface ConstraintValidatorContextTest.CompatiblePersons
           
static class ConstraintValidatorContextTest.CompatiblePersonsValidator
           
 
Constructor Summary
ConstraintValidatorContextTest()
           
 
Method Summary
 void propertyPathInIterable()
           
 void testDefaultError()
           
 void testDisableDefaultErrorWithCustomErrorNoSubNode()
           
 void testDisableDefaultErrorWithCustomErrorWithSubNode()
           
 void testDisableDefaultErrorWithoutAddingCustomError()
           
 
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

ConstraintValidatorContextTest

public ConstraintValidatorContextTest()
Method Detail

testDefaultError

@SpecAssertion(section="2.4",
               id="l")
public void testDefaultError()

testDisableDefaultErrorWithoutAddingCustomError

@SpecAssertion(section="2.4",
               id="r")
public void testDisableDefaultErrorWithoutAddingCustomError()

testDisableDefaultErrorWithCustomErrorNoSubNode

@SpecAssertions(value=@SpecAssertion(section="2.4",id="m"))
public void testDisableDefaultErrorWithCustomErrorNoSubNode()

testDisableDefaultErrorWithCustomErrorWithSubNode

@SpecAssertions(value={@SpecAssertion(section="2.4",id="m"),@SpecAssertion(section="2.4",id="q")})
public void testDisableDefaultErrorWithCustomErrorWithSubNode()

propertyPathInIterable

@SpecAssertions(value={@SpecAssertion(section="2.4",id="m"),@SpecAssertion(section="2.4",id="q")})
public void propertyPathInIterable()


Copyright © 2008-2011. All Rights Reserved.