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

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

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

Author:
Hardy Ferentschik

Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
CustomConstraintValidatorTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testDefaultConstructorInValidatorCalled()
           
 void testGetConstraintValidatorFactoryFromValidatorFactory()
           
 void testRuntimeExceptionInValidatorCreationIsWrapped()
           
 void testValidationExceptionIsThrownInCaseFactoryReturnsNull()
           
 
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

CustomConstraintValidatorTest

public CustomConstraintValidatorTest()
Method Detail

createTestArchive

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

testDefaultConstructorInValidatorCalled

@SpecAssertion(section="3.5",
               id="b")
public void testDefaultConstructorInValidatorCalled()

testRuntimeExceptionInValidatorCreationIsWrapped

@SpecAssertion(section="3.5",
               id="c")
public void testRuntimeExceptionInValidatorCreationIsWrapped()

testValidationExceptionIsThrownInCaseFactoryReturnsNull

@SpecAssertion(section="3.5",
               id="d")
public void testValidationExceptionIsThrownInCaseFactoryReturnsNull()

testGetConstraintValidatorFactoryFromValidatorFactory

@SpecAssertion(section="5.5.2",
               id="d")
public void testGetConstraintValidatorFactoryFromValidatorFactory()


Copyright © 2008-2013. All Rights Reserved.