public class Jsr303Test extends ValidationTestBase
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
factory, validator
Constructor and Description |
---|
Jsr303Test() |
Modifier and Type | Method and Description |
---|---|
void |
testConstraintValidatorResolutionAlgorithm() |
void |
testConstraintValidatorResolutionAlgorithm2() |
void |
testGetConstraintsForNullClass()
JSR-303 Section 5.1.c, IllegalArgumentException should be thrown
|
void |
testMetadataAPI_Address() |
void |
testMetadataAPI_Book() |
void |
testMetadataAPI_Engine() |
void |
testPropertyDescriptorHasConstraints() |
void |
testSizeValidation() |
void |
testUnknownProperty() |
void |
testValidateMultiValuedConstraints() |
void |
testValidateNonCascadedRealNestedProperty() |
void |
testValidateValue() |
createValidator, setUp, setupValidatorFactory
public void testPropertyDescriptorHasConstraints()
public void testValidateValue()
public void testUnknownProperty()
public void testValidateNonCascadedRealNestedProperty()
public void testMetadataAPI_Book()
public void testMetadataAPI_Engine()
public void testMetadataAPI_Address()
public void testValidateMultiValuedConstraints()
public void testConstraintValidatorResolutionAlgorithm()
public void testConstraintValidatorResolutionAlgorithm2()
public void testSizeValidation()
public void testGetConstraintsForNullClass()
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.