org.hibernate.jsr303.tck.tests.validatorfactory
Class CustomConstraintValidatorTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.hibernate.jsr303.tck.tests.validatorfactory.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:
Hardy Ferentschik

Nested Class Summary
static class CustomConstraintValidatorTest.Dummy
           
static class CustomConstraintValidatorTest.SecondDummy
           
 
Constructor Summary
CustomConstraintValidatorTest()
           
 
Method Summary
 void testDefaultConstructorInValidatorCalled()
           
 void testRuntimeExceptionInValidatorCreationIsWrapped()
           
 void testValidationExceptionIsThrownInCaseFactoryReturnsNull()
           
 
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

CustomConstraintValidatorTest

public CustomConstraintValidatorTest()
Method Detail

testDefaultConstructorInValidatorCalled

@SpecAssertion(section="2.5",
               id="a")
public void testDefaultConstructorInValidatorCalled()

testRuntimeExceptionInValidatorCreationIsWrapped

@SpecAssertion(section="2.5",
               id="b")
public void testRuntimeExceptionInValidatorCreationIsWrapped()

testValidationExceptionIsThrownInCaseFactoryReturnsNull

@SpecAssertion(section="2.5",
               id="c")
public void testValidationExceptionIsThrownInCaseFactoryReturnsNull()


Copyright © 2008-2011. All Rights Reserved.