@UnitTest public class HybrisDecimalMaxValidatorForDoubleTest extends AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>
Double comparisonctx, validator| Constructor and Description |
|---|
HybrisDecimalMaxValidatorForDoubleTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
getBorderCaseMax()
Value has to exact the used bean definition annotation value
|
protected Double |
getBorderCaseMin()
Value has to exact the used bean definition annotation value
|
protected Double |
getValueAboveGivenMax(Double borderValueMax) |
protected Double |
getValueAboveGivenMin(Double borderValueMax) |
protected Double |
getValueBelowGivenMax(Double borderValueMax) |
protected Double |
getValueBelowGivenMin(Double borderValueMax) |
void |
init() |
void |
testCheckLowerBorderCaseEqual() |
void |
testCheckLowerBorderCaseGreater() |
void |
testCheckLowerBorderCaseLower() |
void |
testCheckUpperBorderCaseEqual() |
void |
testCheckUpperBorderCaseGreater() |
void |
testCheckUpperBorderCaseLower() |
assertIsNotValidValue, assertIsValidValue, clearClassAfterTest, prepareMaxAnnotationInstance, prepareMinAnnotationInstancepublic HybrisDecimalMaxValidatorForDoubleTest()
public void init()
public void testCheckLowerBorderCaseGreater()
public void testCheckLowerBorderCaseLower()
public void testCheckLowerBorderCaseEqual()
protected Double getValueAboveGivenMin(Double borderValueMax)
getValueAboveGivenMin in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>protected Double getValueBelowGivenMin(Double borderValueMax)
getValueBelowGivenMin in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>protected Double getBorderCaseMin()
AbstractHybrisNumberValidatorTestgetBorderCaseMin in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>public void testCheckUpperBorderCaseGreater()
public void testCheckUpperBorderCaseLower()
public void testCheckUpperBorderCaseEqual()
protected Double getValueAboveGivenMax(Double borderValueMax)
getValueAboveGivenMax in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>protected Double getValueBelowGivenMax(Double borderValueMax)
getValueBelowGivenMax in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>protected Double getBorderCaseMax()
AbstractHybrisNumberValidatorTestgetBorderCaseMax in class AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMax>Copyright © 2017 SAP SE. All Rights Reserved.