org.hibernate.beanvalidation.tck.tests.constraints.inheritance.method.validdeclarations
Class ValidMethodConstraintDeclarationTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.hibernate.beanvalidation.tck.tests.constraints.inheritance.method.validdeclarations.ValidMethodConstraintDeclarationTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

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

Author:
Gunnar Morling

Field Summary
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
ValidMethodConstraintDeclarationTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void setupValidator()
           
 void testParameterConstraintAddedToConstructorInSubClass()
           
 void testParameterConstraintMarkedAsCascadedAtConstructorInSubClass()
           
 void testReturnValueConstraintAddedInInterfaceImplementation()
           
 void testReturnValueConstraintAddedInSubClass()
           
 void testReturnValueConstraintAddedToConstructorInSubClass()
           
 void testReturnValueConstraintFromInterfaceAndImplementationAddUp()
           
 void testReturnValueConstraintFromInterfacesAndImplementationAddUp()
           
 void testReturnValueMarkedAsCascadedAtConstructorInSuperAndSubClass()
           
 void testReturnValueMarkedAsCascadedInInterfaceImplementation()
           
 void testReturnValueMarkedAsCascadedInParallelInterfaces()
           
 void testReturnValueMarkedAsCascadedInSubClass()
           
 
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

ValidMethodConstraintDeclarationTest

public ValidMethodConstraintDeclarationTest()
Method Detail

createTestArchive

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

setupValidator

public void setupValidator()

testReturnValueConstraintAddedInInterfaceImplementation

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueConstraintAddedInInterfaceImplementation()
                                                             throws Exception
Throws:
Exception

testReturnValueConstraintAddedInSubClass

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueConstraintAddedInSubClass()
                                              throws Exception
Throws:
Exception

testReturnValueMarkedAsCascadedInInterfaceImplementation

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueMarkedAsCascadedInInterfaceImplementation()
                                                              throws Exception
Throws:
Exception

testReturnValueConstraintFromInterfaceAndImplementationAddUp

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueConstraintFromInterfaceAndImplementationAddUp()
                                                                  throws Exception
Throws:
Exception

testReturnValueConstraintFromInterfacesAndImplementationAddUp

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueConstraintFromInterfacesAndImplementationAddUp()
                                                                   throws Exception
Throws:
Exception

testReturnValueMarkedAsCascadedInSubClass

@SpecAssertion(section="4.5.5",
               id="c")
public void testReturnValueMarkedAsCascadedInSubClass()
                                               throws Exception
Throws:
Exception

testParameterConstraintAddedToConstructorInSubClass

@SpecAssertion(section="4.5.5",
               id="f")
public void testParameterConstraintAddedToConstructorInSubClass()
                                                         throws Exception
Throws:
Exception

testParameterConstraintMarkedAsCascadedAtConstructorInSubClass

@SpecAssertion(section="4.5.5",
               id="f")
public void testParameterConstraintMarkedAsCascadedAtConstructorInSubClass()
                                                                    throws Exception
Throws:
Exception

testReturnValueConstraintAddedToConstructorInSubClass

@SpecAssertion(section="4.5.5",
               id="f")
public void testReturnValueConstraintAddedToConstructorInSubClass()
                                                           throws Exception
Throws:
Exception

testReturnValueMarkedAsCascadedAtConstructorInSuperAndSubClass

@SpecAssertion(section="4.5.5",
               id="f")
public void testReturnValueMarkedAsCascadedAtConstructorInSuperAndSubClass()
                                                                    throws Exception
Throws:
Exception

testReturnValueMarkedAsCascadedInParallelInterfaces

@SpecAssertion(section="4.5.5",
               id="d")
public void testReturnValueMarkedAsCascadedInParallelInterfaces()
                                                         throws Exception
Throws:
Exception


Copyright © 2008-2013. All Rights Reserved.