Package org.apache.bval.jsr
Class Jsr303Test
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.Jsr303Test
-
public class Jsr303Test extends ValidationTestBase
Description:
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
thrown
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description Jsr303Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstraintValidatorResolutionAlgorithm()
void
testConstraintValidatorResolutionAlgorithm2()
void
testGetConstraintsForNullClass()
JSR-303 Section 5.1.c, IllegalArgumentException should be thrownvoid
testMetadataAPI_Address()
void
testMetadataAPI_Book()
void
testMetadataAPI_Engine()
void
testPropertyDescriptorHasConstraints()
void
testSizeValidation()
void
testUnknownProperty()
void
testValidateMultiValuedConstraints()
void
testValidateNonCascadedRealNestedProperty()
void
testValidateValue()
-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-
-
-
Method Detail
-
testPropertyDescriptorHasConstraints
public void testPropertyDescriptorHasConstraints()
-
testValidateValue
public void testValidateValue()
-
testUnknownProperty
public void testUnknownProperty()
-
testValidateNonCascadedRealNestedProperty
public void testValidateNonCascadedRealNestedProperty()
-
testMetadataAPI_Book
public void testMetadataAPI_Book()
-
testMetadataAPI_Engine
public void testMetadataAPI_Engine()
-
testMetadataAPI_Address
public void testMetadataAPI_Address()
-
testValidateMultiValuedConstraints
public void testValidateMultiValuedConstraints()
-
testConstraintValidatorResolutionAlgorithm
public void testConstraintValidatorResolutionAlgorithm()
-
testConstraintValidatorResolutionAlgorithm2
public void testConstraintValidatorResolutionAlgorithm2()
-
testSizeValidation
public void testSizeValidation()
-
testGetConstraintsForNullClass
public void testGetConstraintsForNullClass()
JSR-303 Section 5.1.c, IllegalArgumentException should be thrown
-
-