@UnitTest public class HybrisDecimalMaxValidatorForDoubleTest extends AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>
Double comparisonctx, validator| Constructor and Description |
|---|
HybrisDecimalMaxValidatorForDoubleTest() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Double |
getBorderCaseMax()
Value has to exact the used bean definition annotation value
|
protected java.lang.Double |
getBorderCaseMin()
Value has to exact the used bean definition annotation value
|
protected java.lang.Double |
getValueAboveGivenMax(java.lang.Double borderValueMax) |
protected java.lang.Double |
getValueAboveGivenMin(java.lang.Double borderValueMax) |
protected java.lang.Double |
getValueBelowGivenMax(java.lang.Double borderValueMax) |
protected java.lang.Double |
getValueBelowGivenMin(java.lang.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 java.lang.Double getValueAboveGivenMin(java.lang.Double borderValueMax)
getValueAboveGivenMin in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>protected java.lang.Double getValueBelowGivenMin(java.lang.Double borderValueMax)
getValueBelowGivenMin in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>protected java.lang.Double getBorderCaseMin()
AbstractHybrisNumberValidatorTestgetBorderCaseMin in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>public void testCheckUpperBorderCaseGreater()
public void testCheckUpperBorderCaseLower()
public void testCheckUpperBorderCaseEqual()
protected java.lang.Double getValueAboveGivenMax(java.lang.Double borderValueMax)
getValueAboveGivenMax in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>protected java.lang.Double getValueBelowGivenMax(java.lang.Double borderValueMax)
getValueBelowGivenMax in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>protected java.lang.Double getBorderCaseMax()
AbstractHybrisNumberValidatorTestgetBorderCaseMax in class AbstractHybrisNumberValidatorTest<java.lang.Double,HybrisDecimalMax>Copyright © 2018 SAP SE. All Rights Reserved.