public abstract class AbstractHybrisNumberValidatorTest<T extends java.lang.Number,A extends java.lang.annotation.Annotation>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ConstraintValidatorContext |
ctx |
protected <any> |
validator |
| Constructor and Description |
|---|
AbstractHybrisNumberValidatorTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertIsNotValidValue(T value) |
protected void |
assertIsValidValue(T value) |
void |
clearClassAfterTest() |
protected abstract T |
getBorderCaseMax()
Value has to exact the used bean definition annotation value
|
protected abstract T |
getBorderCaseMin()
Value has to exact the used bean definition annotation value
|
protected abstract T |
getValueAboveGivenMax(T borderValue) |
protected abstract T |
getValueAboveGivenMin(T borderValue) |
protected abstract T |
getValueBelowGivenMax(T borderValue) |
protected abstract T |
getValueBelowGivenMin(T borderValue) |
protected A |
prepareMaxAnnotationInstance() |
protected A |
prepareMinAnnotationInstance() |
protected abstract T getBorderCaseMin()
protected abstract T getBorderCaseMax()
protected void assertIsNotValidValue(T value)
protected void assertIsValidValue(T value)
protected A prepareMinAnnotationInstance()
protected A prepareMaxAnnotationInstance()
public void clearClassAfterTest()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionCopyright © 2018 SAP SE. All Rights Reserved.