org.hibernate.jsr303.tck.tests.validation
Class ValidateTest
java.lang.Object
org.jboss.testharness.AbstractTest
org.hibernate.jsr303.tck.tests.validation.ValidateTest
- 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 ValidateTest
- extends org.jboss.testharness.AbstractTest
Tests for the implementation of Validator
.
- Author:
- 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 |
ValidateTest
public ValidateTest()
testUnexpectedTypeException
@SpecAssertions(value={@SpecAssertion(section="3.1",id="a"),@SpecAssertion(section="3.5.3",id="e"),@SpecAssertion(section="5.1",id="a")})
public void testUnexpectedTypeException()
testConstraintDescriptorWithoutExplicitGroup
@SpecAssertion(section="5.1",
id="b")
public void testConstraintDescriptorWithoutExplicitGroup()
testNullParameterToGetConstraintsForClass
@SpecAssertion(section="5.1",
id="c")
public void testNullParameterToGetConstraintsForClass()
testValidateWithNullValue
@SpecAssertion(section="4.1.1",
id="b")
public void testValidateWithNullValue()
testValidateWithNullGroup
@SpecAssertion(section="4.1.1",
id="b")
public void testValidateWithNullGroup()
testMultipleViolationOfTheSameType
@SpecAssertions(value={@SpecAssertion(section="4.1.1",id="a"),@SpecAssertion(section="4.1.1",id="c")})
public void testMultipleViolationOfTheSameType()
testMultipleConstraintViolationOfDifferentTypes
@SpecAssertion(section="4.1.1",
id="c")
public void testMultipleConstraintViolationOfDifferentTypes()
testConstraintViolation
@SpecAssertions(value={@SpecAssertion(section="3.1",id="a"),@SpecAssertion(section="4.2",id="a"),@SpecAssertion(section="4.2",id="b"),@SpecAssertion(section="4.2",id="c"),@SpecAssertion(section="4.2",id="d"),@SpecAssertion(section="4.2",id="e")})
public void testConstraintViolation()
testGraphValidationWithList
@SpecAssertions(value=@SpecAssertion(section="2.4",id="o"))
public void testGraphValidationWithList()
testGraphValidationWithArray
@SpecAssertions(value={@SpecAssertion(section="2.4",id="o"),@SpecAssertion(section="3.1.3",id="c")})
public void testGraphValidationWithArray()
testPassingNullAsGroup
@SpecAssertion(section="4.1.1",
id="b")
public void testPassingNullAsGroup()
testOnlyFirstGroupInSequenceGetEvaluated
@SpecAssertion(section="3.5",
id="b")
public void testOnlyFirstGroupInSequenceGetEvaluated()
testUnexpectedExceptionsInValidateGetWrappedInValidationExceptions
@SpecAssertion(section="4.1.1",
id="k")
public void testUnexpectedExceptionsInValidateGetWrappedInValidationExceptions()
testValidationIsPolymorphic
public void testValidationIsPolymorphic()
testObjectTraversion
public void testObjectTraversion()
Copyright © 2008-2011. All Rights Reserved.