@SpecVersion(spec="beanvalidation",
version="1.1.0")
public class ConstraintInheritanceTest
extends org.jboss.arquillian.testng.Arquillian
| Constructor and Description |
|---|
ConstraintInheritanceTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
setupValidator() |
void |
testConstraintsOnInterfaceAndImplementationAddUp() |
void |
testConstraintsOnInterfaceAreInherited() |
void |
testConstraintsOnSuperAndSubClassAddUp() |
void |
testConstraintsOnSuperClassAreInherited() |
void |
testValidationConsidersConstraintsFromSuperTypes() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
public void setupValidator()
@SpecAssertion(section="4.3",
id="b")
public void testConstraintsOnSuperClassAreInherited()
@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="b")})
public void testConstraintsOnInterfaceAreInherited()
@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="c")})
public void testConstraintsOnInterfaceAndImplementationAddUp()
@SpecAssertions(value={@SpecAssertion(section="4.3",id="a"),@SpecAssertion(section="4.3",id="c")})
public void testConstraintsOnSuperAndSubClassAddUp()
@SpecAssertion(section="4.6",
id="a")
public void testValidationConsidersConstraintsFromSuperTypes()
Copyright © 2008–2014. All rights reserved.