Package org.apache.bval.jsr
Class ValidatorResolutionTest
- java.lang.Object
-
- org.apache.bval.jsr.ValidationTestBase
-
- org.apache.bval.jsr.ValidatorResolutionTest
-
public class ValidatorResolutionTest extends ValidationTestBase
Checks the correct behavior of the validator resolution algorithm.- Author:
- Carlos Vara
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidatorResolutionTest.InvalidPersonNameValidator
static class
ValidatorResolutionTest.Person
static interface
ValidatorResolutionTest.PersonName
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.ValidationTestBase
factory, validator
-
-
Constructor Summary
Constructors Constructor Description ValidatorResolutionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testInvalidValidator()
Check that aConstraintDefinitionException
is thrown when the only available validator is associated with a different annotation type.-
Methods inherited from class org.apache.bval.jsr.ValidationTestBase
createValidator, setUp, setupValidatorFactory
-
-