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