org.hibernate.beanvalidation.tck.tests.constraints.inheritance.method.invaliddeclarations
Class InvalidMethodConstraintDeclarationTest

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

@SpecVersion(spec="beanvalidation",
             version="1.1.0")
public class InvalidMethodConstraintDeclarationTest
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
InvalidMethodConstraintDeclarationTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
           
 void setupValidator()
           
 void testConstrainedParameterInOneMethodOfParallelInterfacesCausesException()
           
 void testParameterConstraintsAddedInInterfaceImplementationCausesException()
           
 void testParameterConstraintsAddedInSubClassCausesException()
           
 void testParameterIsCascadingInInterfaceMethodAndSuperClassMethodCausesException()
           
 void testParameterIsCascadingInOneMethodOfParallelInterfacesCausesException()
           
 void testParameterIsConstrainedInInterfaceMethodAndSuperClassMethodCausesException()
           
 void testParameterMarkedAsCascadedInInterfaceImplementationCausesException()
           
 void testParameterMarkedAsCascadedInSubClassCausesException()
           
 void testReturnValueIsMarkedAsCascadedInBaseAndSubClassCausesException()
           
 void testReturnValueIsMarkedAsCascadedInInterfaceAndImplementationCausesException()
           
 void testReturnValueIsMarkedAsCascadedInSuperAndDerivedInterfaceCausesException()
           
 
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

InvalidMethodConstraintDeclarationTest

public InvalidMethodConstraintDeclarationTest()
Method Detail

createTestArchive

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

setupValidator

public void setupValidator()

testParameterConstraintsAddedInInterfaceImplementationCausesException

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

testParameterConstraintsAddedInSubClassCausesException

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

testParameterMarkedAsCascadedInInterfaceImplementationCausesException

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

testParameterMarkedAsCascadedInSubClassCausesException

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

testConstrainedParameterInOneMethodOfParallelInterfacesCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="b"),@SpecAssertion(section="4.5.5",id="e")})
public void testConstrainedParameterInOneMethodOfParallelInterfacesCausesException()
                                                                            throws Exception
Throws:
Exception

testParameterIsConstrainedInInterfaceMethodAndSuperClassMethodCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="b"),@SpecAssertion(section="4.5.5",id="e")})
public void testParameterIsConstrainedInInterfaceMethodAndSuperClassMethodCausesException()
                                                                                   throws Exception
Throws:
Exception

testParameterIsCascadingInOneMethodOfParallelInterfacesCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="b"),@SpecAssertion(section="4.5.5",id="e")})
public void testParameterIsCascadingInOneMethodOfParallelInterfacesCausesException()
                                                                            throws Exception
Throws:
Exception

testParameterIsCascadingInInterfaceMethodAndSuperClassMethodCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="b"),@SpecAssertion(section="4.5.5",id="e")})
public void testParameterIsCascadingInInterfaceMethodAndSuperClassMethodCausesException()
                                                                                 throws Exception
Throws:
Exception

testReturnValueIsMarkedAsCascadedInInterfaceAndImplementationCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="d"),@SpecAssertion(section="4.5.5",id="e")})
public void testReturnValueIsMarkedAsCascadedInInterfaceAndImplementationCausesException()
                                                                                  throws Exception
Throws:
Exception

testReturnValueIsMarkedAsCascadedInBaseAndSubClassCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="d"),@SpecAssertion(section="4.5.5",id="e")})
public void testReturnValueIsMarkedAsCascadedInBaseAndSubClassCausesException()
                                                                       throws Exception
Throws:
Exception

testReturnValueIsMarkedAsCascadedInSuperAndDerivedInterfaceCausesException

@SpecAssertions(value={@SpecAssertion(section="4.5.5",id="d"),@SpecAssertion(section="4.5.5",id="e")})
public void testReturnValueIsMarkedAsCascadedInSuperAndDerivedInterfaceCausesException()
                                                                                throws Exception
Throws:
Exception


Copyright © 2008-2013. All Rights Reserved.