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

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

Tests for the implementation of Validator.

Author:
Hardy Ferentschik

Constructor Summary
ValidateWithGroupsTest()
           
 
Method Summary
 void testCorrectGroupsAreAppliedForValidate()
           
 void testCorrectGroupsAreAppliedForValidateProperty()
           
 void testCorrectGroupsAreAppliedForValidateValue()
           
 
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

ValidateWithGroupsTest

public ValidateWithGroupsTest()
Method Detail

testCorrectGroupsAreAppliedForValidate

@SpecAssertions(value={@SpecAssertion(section="4.1.2",id="a"),@SpecAssertion(section="4.1.2",id="b")})
public void testCorrectGroupsAreAppliedForValidate()

testCorrectGroupsAreAppliedForValidateProperty

@SpecAssertions(value={@SpecAssertion(section="4.1.2",id="a"),@SpecAssertion(section="4.1.2",id="b")})
public void testCorrectGroupsAreAppliedForValidateProperty()

testCorrectGroupsAreAppliedForValidateValue

@SpecAssertions(value={@SpecAssertion(section="4.1.2",id="a"),@SpecAssertion(section="4.1.2",id="b")})
public void testCorrectGroupsAreAppliedForValidateValue()


Copyright © 2008-2011. All Rights Reserved.