@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class InvalidDeclarationOfGenericAndCrossParameterConstraintTest
extends org.jboss.arquillian.testng.Arquillian
| Constructor and Description |
|---|
InvalidDeclarationOfGenericAndCrossParameterConstraintTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
setupValidator() |
void |
testConstraintTargetImplicitOnConstructorWithParametersCausesException() |
void |
testConstraintTargetImplicitOnMethodWithParametersAndReturnValueCausesException() |
void |
testConstraintTargetParametersOnClassCausesException() |
void |
testConstraintTargetParametersOnConstructorWithoutParametersCausesException() |
void |
testConstraintTargetParametersOnFieldCausesException() |
void |
testConstraintTargetParametersOnInterfaceCausesException() |
void |
testConstraintTargetParametersOnMethodWithoutParametersCausesException() |
void |
testConstraintTargetReturnValueOnClassCausesException() |
void |
testConstraintTargetReturnValueOnFieldCausesException() |
void |
testConstraintTargetReturnValueOnInterfaceCausesException() |
void |
testConstraintTargetReturnValueOnVoidMethodCausesException() |
public InvalidDeclarationOfGenericAndCrossParameterConstraintTest()
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
public void setupValidator()
@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="d"),@SpecAssertion(section="4.5.2.1",id="c"),@SpecAssertion(section="4.5.3",id="b")})
public void testConstraintTargetImplicitOnMethodWithParametersAndReturnValueCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="d"),@SpecAssertion(section="4.5.2.1",id="c"),@SpecAssertion(section="4.5.3",id="b")})
public void testConstraintTargetImplicitOnConstructorWithParametersCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="e"),@SpecAssertion(section="4.5.2.1",id="b")})
public void testConstraintTargetParametersOnMethodWithoutParametersCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="e"),@SpecAssertion(section="4.5.2.1",id="b")})
public void testConstraintTargetParametersOnConstructorWithoutParametersCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="f")})
public void testConstraintTargetReturnValueOnVoidMethodCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="g")})
public void testConstraintTargetParametersOnClassCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="g")})
public void testConstraintTargetReturnValueOnClassCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="g")})
public void testConstraintTargetParametersOnInterfaceCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="g")})
public void testConstraintTargetReturnValueOnInterfaceCausesException()
throws Exception
Exception@SpecAssertions(value={@SpecAssertion(section="3.1.1.4",id="c"),@SpecAssertion(section="3.1.1.4",id="g")})
public void testConstraintTargetParametersOnFieldCausesException()
throws Exception
ExceptionCopyright © 2008–2014. All rights reserved.