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

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.validation.ValidateWithGroupsTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class ValidateWithGroupsTest
extends org.jboss.arquillian.testng.Arquillian

Tests for the implementation of Validator.

Author:
Hardy Ferentschik

Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ValidateWithGroupsTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testCorrectGroupsAreAppliedForValidate()
           
 void testCorrectGroupsAreAppliedForValidateProperty()
           
 void testCorrectGroupsAreAppliedForValidateValue()
           
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
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

createTestArchive

@Deployment
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()

testCorrectGroupsAreAppliedForValidate

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

testCorrectGroupsAreAppliedForValidateProperty

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

testCorrectGroupsAreAppliedForValidateValue

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


Copyright © 2008-2013. All Rights Reserved.