[hibernate/hibernate-validator] 6d8c28: HV-270 Add verification for annotation parameters ...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 6d8c2825016d0a1f5ce26524825151a48dcd4067
https://github.com/hibernate/hibernate-validator/commit/6d8c2825016d0a1f5...
Author: marko.bekhta <markob(a)prykladna.lviv.ua>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M annotation-processor/src/main/java/org/hibernate/validator/ap/checks/ConstraintCheckFactory.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersAbstractCheck.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersDecimalMinMaxCheck.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersDigitsCheck.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersPatternCheck.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersScriptAssertCheck.java
A annotation-processor/src/main/java/org/hibernate/validator/ap/checks/annotationparameters/AnnotationParametersSizeLengthCheck.java
M annotation-processor/src/main/resources/org/hibernate/validator/ap/ValidationProcessorMessages.properties
A annotation-processor/src/test/java/org/hibernate/validator/ap/AnnotationParametersValidationTest.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidDecimalMinMaxParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidDigitsParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidLengthParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidPatternParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidScriptAssertParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/InvalidSizeParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidDecimalMinMaxParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidDigitsParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidLengthParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidPatternParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidScriptAssertParameters.java
A annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidSizeParameters.java
M annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/customconstraints/HibernateValidatorProvidedCustomConstraints.java
Log Message:
-----------
HV-270 Add verification for annotation parameters and corresponding tests:
@DecimalMax, @DecimalMin should have a valid BigDecimal representation
@Digits should have integer >= 0 and fraction >= 0
@Length should have min >= 0, max >= 0 and min <= max
@Pattern should have a valid regular expression
@Size should have min >=0, max >= 0 and min <= max
@ScriptAssert should have script, lang and alias with a length > 0
Commit: 2e715a37da09c19209dc74759f90f2eb49d06ac9
https://github.com/hibernate/hibernate-validator/commit/2e715a37da09c1920...
Author: marko.bekhta <markob(a)prykladna.lviv.ua>
Date: 2016-09-30 (Fri, 30 Sep 2016)
Changed paths:
M documentation/src/main/asciidoc/ch12.asciidoc
Log Message:
-----------
HV-270 Add annotation parameter validity to features in documentation
Compare: https://github.com/hibernate/hibernate-validator/compare/e90fea5f5704...2...
8 years, 2 months