org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constructorvalidation
Class ConstructorValidationTest

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

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class ConstructorValidationTest
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
ConstructorValidationTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void testCascadingOnReturnValueAndParameter()
           
 void testConstraintOnConstructorReturnValueAndParameter()
           
 void testConstructorCrossParameterConstraint()
           
 void testGroupConversionOnReturnValueAndParameter()
           
 void testVarargsConstructorParameter()
           
 void testXmlConfiguredConstructors()
           
 
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

ConstructorValidationTest

public ConstructorValidationTest()
Method Detail

createTestArchive

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

testXmlConfiguredConstructors

@SpecAssertions(value={@SpecAssertion(section="8.1.1.4",id="a"),@SpecAssertion(section="8.1.1.4",id="c"),@SpecAssertion(section="8.1.1.4",id="e")})
public void testXmlConfiguredConstructors()
                                   throws Exception
Throws:
Exception

testVarargsConstructorParameter

@SpecAssertions(value={@SpecAssertion(section="8.1.1.4",id="a"),@SpecAssertion(section="8.1.1.4",id="b"),@SpecAssertion(section="8.1.1.4",id="c")})
public void testVarargsConstructorParameter()
                                     throws Exception
Throws:
Exception

testConstructorCrossParameterConstraint

@SpecAssertions(value={@SpecAssertion(section="8.1.1.4",id="c"),@SpecAssertion(section="8.1.1.4",id="f"),@SpecAssertion(section="8.1.1.4",id="j")})
public void testConstructorCrossParameterConstraint()
                                             throws Exception
Throws:
Exception

testConstraintOnConstructorReturnValueAndParameter

@SpecAssertions(value={@SpecAssertion(section="6.11",id="a"),@SpecAssertion(section="8.1.1.4",id="g")})
public void testConstraintOnConstructorReturnValueAndParameter()
                                                        throws Exception
Throws:
Exception

testCascadingOnReturnValueAndParameter

@SpecAssertion(section="8.1.1.4",
               id="h")
public void testCascadingOnReturnValueAndParameter()
                                            throws Exception
Throws:
Exception

testGroupConversionOnReturnValueAndParameter

@SpecAssertion(section="8.1.1.4",
               id="i")
public void testGroupConversionOnReturnValueAndParameter()
                                                  throws Exception
Throws:
Exception


Copyright © 2008-2013. All Rights Reserved.