@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class ConstructorValidationTest
extends org.jboss.arquillian.testng.Arquillian
| Constructor and Description |
|---|
ConstructorValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testCascadingOnReturnValueAndParameter() |
void |
testConstraintOnConstructorReturnValueAndParameter() |
void |
testConstructorCrossParameterConstraint() |
void |
testGroupConversionOnReturnValueAndParameter() |
void |
testVarargsConstructorParameter() |
void |
testXmlConfiguredConstructors() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@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
Exception@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
Exception@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
Exception@SpecAssertions(value={@SpecAssertion(section="6.11",id="a"),@SpecAssertion(section="8.1.1.4",id="g")})
public void testConstraintOnConstructorReturnValueAndParameter()
throws Exception
Exception@SpecAssertion(section="8.1.1.4",
id="h")
public void testCascadingOnReturnValueAndParameter()
throws Exception
ExceptionCopyright © 2008–2014. All rights reserved.