Package org.apache.bval.jsr
Class ValidationTest
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.ValidationTest
-
public class ValidationTest extends ValidationTestBase
Description:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ValidationTest.Foo
static class
ValidationTest.FooAddress
static class
ValidationTest.Issue149Subject
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description ValidationTest()
-
Method Summary
-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-
-
-
Method Detail
-
testCache
public void testCache()
-
testAccessStrategies_field_method
public void testAccessStrategies_field_method()
-
testAccessStrategies_on_children
public void testAccessStrategies_on_children()
-
testBook
public void testBook()
-
testValidAnnotation
public void testValidAnnotation()
test: - dynamic resolution of associated object types. - inheritance of validation constraints - complex valiation, different groups, nested object net
-
testPropertyPathWithIndex
public void testPropertyPathWithIndex()
-
testPropertyPathOnSet
public void testPropertyPathOnSet()
Check correct path reporting when validating a set of beans.
-
testPropertyPathRecursive
public void testPropertyPathRecursive()
-
testNullElementInCollection
public void testNullElementInCollection()
-
testGroups
public void testGroups()
-
testConstraintValidatorContextFluentAPI
public void testConstraintValidatorContextFluentAPI()
Example 2.14. Using the fluent API to build custom constraint violations. test that: theZipCodeCityCoherenceValidator
adds custom messages to the context and suppresses the default message
-
testValidateNestedPropertyPath
public void testValidateNestedPropertyPath() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingNestedBean
public void testValidateCascadingNestedBean() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingNestedProperty
public void testValidateCascadingNestedProperty() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingNestedTipProperty
public void testValidateCascadingNestedTipProperty()
-
testValidateCascadingKeyedElement
public void testValidateCascadingKeyedElement() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingKeyedGenericElement
public void testValidateCascadingKeyedGenericElement() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingIndexedElement
public void testValidateCascadingIndexedElement() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingIndexedGenericElement
public void testValidateCascadingIndexedGenericElement() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
-
testValidateCascadingPropertyWithMultipleGroupsIgnoresSiblingProperties
public void testValidateCascadingPropertyWithMultipleGroupsIgnoresSiblingProperties()
-
testMetadataAPI
public void testMetadataAPI()
-
testKeyedMetadata
public void testKeyedMetadata()
-
testGenericKeyedMetadata
public void testGenericKeyedMetadata()
-
testIndexedMetadata
public void testIndexedMetadata()
-
testGenericIndexedMetadata
public void testGenericIndexedMetadata()
-
testValidateClassImplementingCloneable
public void testValidateClassImplementingCloneable()
-
testValidatePrimitiveBooleanPropertyNameIssue149
public void testValidatePrimitiveBooleanPropertyNameIssue149()
-
-