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