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

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.hibernate.jsr303.tck.tests.validation.ValidationTest
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 ValidationTest
extends org.jboss.testharness.AbstractTest

Tests for the implementation of Validation.

Author:
Hardy Ferentschik

Constructor Summary
ValidationTest()
           
 
Method Summary
 void testBuildDefaultValidatorFactory()
           
 void testCustomValidationProviderResolution()
           
 void testSpecificValidationProvider()
           
 void testVerifyMethodsOfValidationObjects()
           
 
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

ValidationTest

public ValidationTest()
Method Detail

testBuildDefaultValidatorFactory

@SpecAssertion(section="4.4.5",
               id="a")
public void testBuildDefaultValidatorFactory()

testCustomValidationProviderResolution

@SpecAssertions(value={@SpecAssertion(section="4.4.5",id="b"),@SpecAssertion(section="4.4.5",id="e")})
public void testCustomValidationProviderResolution()

testSpecificValidationProvider

@SpecAssertions(value={@SpecAssertion(section="4.4.5",id="c"),@SpecAssertion(section="4.4.5",id="e")})
public void testSpecificValidationProvider()

testVerifyMethodsOfValidationObjects

@SpecAssertion(section="4.4.5",
               id="d")
public void testVerifyMethodsOfValidationObjects()


Copyright © 2008-2011. All Rights Reserved.