org.hibernate.jsr303.tck.tests.constraints.customconstraint
Class CustomConstraintValidatorTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.hibernate.jsr303.tck.tests.constraints.customconstraint.CustomConstraintValidatorTest
- All Implemented Interfaces:
- org.testng.IHookable
@Artifact(artifactType=JSR303)
@Classes(value={TestUtil.class,TestUtil.PathImpl.class,TestUtil.NodeImpl.class})
public class CustomConstraintValidatorTest
- extends org.jboss.testharness.AbstractTest
- Author:
- Emmanuel Bernard, Hardy Ferentschik
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 |
CustomConstraintValidatorTest
public CustomConstraintValidatorTest()
testRightValidatorIsSelectedAndInitializedCalled
@SpecAssertions(value={@SpecAssertion(section="2.4",id="a"),@SpecAssertion(section="2.4",id="b"),@SpecAssertion(section="2.4",id="e")})
public void testRightValidatorIsSelectedAndInitializedCalled()
testIsValidIsCalledForEachValidation
@SpecAssertions(value={@SpecAssertion(section="2.4",id="a"),@SpecAssertion(section="2.4",id="b"),@SpecAssertion(section="2.4",id="f")})
public void testIsValidIsCalledForEachValidation()
testUnexpectedTypeExceptionIsRaisedForInvalidType
@SpecAssertion(section="2.4",
id="i")
public void testUnexpectedTypeExceptionIsRaisedForInvalidType()
testRuntimeExceptionFromIsValidIsWrapped
@SpecAssertion(section="2.4",
id="j")
public void testRuntimeExceptionFromIsValidIsWrapped()
testRuntimeExceptionFromInitializeIsWrapped
@SpecAssertion(section="2.4",
id="j")
public void testRuntimeExceptionFromInitializeIsWrapped()
testOneConstraintViolationPerFailingConstraint
@SpecAssertion(section="2.4",
id="l")
public void testOneConstraintViolationPerFailingConstraint()
testNonInterpolatedMessageParameterIsUsed
@SpecAssertion(section="2.4",
id="n")
public void testNonInterpolatedMessageParameterIsUsed()
testDefaultPropertyPath
@SpecAssertion(section="2.4",
id="o")
public void testDefaultPropertyPath()
Copyright © 2008-2011. All Rights Reserved.