@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class MethodValidationTest
extends org.jboss.arquillian.testng.Arquillian
| Constructor and Description |
|---|
MethodValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testCascadingOnReturnValueAndParameter() |
void |
testConstraintOnMethodReturnValueAndParameter() |
void |
testGroupConversionOnReturnValueAndParameter() |
void |
testMethodCrossParameterConstraint() |
void |
testVarargsMethodParameter() |
void |
testXmlMethodConfigurationApplied() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertion(section="8.1.1.5",id="a") @SpecAssertion(section="8.1.1.5",id="c") @SpecAssertion(section="8.1.1.5",id="f")
public void testXmlMethodConfigurationApplied()
throws Exception
Exception@SpecAssertion(section="8.1.1.5",id="a") @SpecAssertion(section="8.1.1.5",id="b") @SpecAssertion(section="8.1.1.5",id="c")
public void testVarargsMethodParameter()
throws Exception
Exception@SpecAssertion(section="8.1.1.5",id="c") @SpecAssertion(section="8.1.1.5",id="g") @SpecAssertion(section="8.1.1.5",id="k")
public void testMethodCrossParameterConstraint()
throws Exception
Exception@SpecAssertion(section="6.11",id="a") @SpecAssertion(section="8.1.1.5",id="h")
public void testConstraintOnMethodReturnValueAndParameter()
throws Exception
Exception@SpecAssertion(section="8.1.1.5",
id="i")
public void testCascadingOnReturnValueAndParameter()
throws Exception
ExceptionCopyright © 2008–2015. All rights reserved.