@SpecVersion(spec="beanvalidation",
version="2.0.0")
public class ValidateConstructorReturnValueTest
extends AbstractTCKTest
| Constructor and Description |
|---|
ValidateConstructorReturnValueTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
testNoViolations() |
void |
testNullPassedAsSingleGroupCausesException() |
void |
testNullPassedForConstructorCausesException() |
void |
testNullPassedForGroupsCausesException() |
void |
testNullPassedForReturnValueCausesException() |
void |
testOneViolation() |
void |
testOneViolationForCascadedValidation() |
void |
testTwoConstraintsOfSameType() |
void |
testTwoViolations() |
void |
testUnexpectedType() |
void |
testValidationWithGroup() |
void |
testValidationWithSeveralGroups() |
getExecutableValidator, getValidator, webArchiveBuilder@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",id="j") @SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",id="k") @SpecAssertion(section="validationapi-constraintviolation",id="d") @SpecAssertion(section="validationapi-constraintviolation",id="e") @SpecAssertion(section="validationapi-constraintviolation",id="f") @SpecAssertion(section="validationapi-constraintviolation",id="g") @SpecAssertion(section="validationapi-constraintviolation",id="h") @SpecAssertion(section="validationapi-constraintviolation",id="i")
public void testOneViolation()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="k")
public void testTwoViolations()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="k")
public void testTwoConstraintsOfSameType()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="k")
public void testNoViolations()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="k")
public void testValidationWithGroup()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="k")
public void testValidationWithSeveralGroups()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="j")
public void testUnexpectedType()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="l")
public void testNullPassedForConstructorCausesException()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="l")
public void testNullPassedForReturnValueCausesException()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="l")
public void testNullPassedForGroupsCausesException()
throws Exception
Exception@SpecAssertion(section="validationapi-validatorapi-methodlevelvalidationmethods",
id="l")
public void testNullPassedAsSingleGroupCausesException()
throws Exception
Exception@SpecAssertion(section="validationapi-constraintviolation",id="f") @SpecAssertion(section="validationapi-constraintviolation",id="g") @SpecAssertion(section="validationapi-constraintviolation",id="h") @SpecAssertion(section="validationapi-constraintviolation",id="i")
public void testOneViolationForCascadedValidation()
throws Exception
ExceptionCopyright © 2008–2017. All rights reserved.