Class HybrisDecimalMaxValidatorForBigDecimalTest
- java.lang.Object
-
- de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
- de.hybris.platform.validation.validators.HybrisDecimalMaxValidatorForBigDecimalTest
-
@UnitTest public class HybrisDecimalMaxValidatorForBigDecimalTest extends AbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest
ctx, validator
-
-
Constructor Summary
Constructors Constructor Description HybrisDecimalMaxValidatorForBigDecimalTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.math.BigDecimalgetBorderCaseMax()Value has to exact the used bean definition annotation valueprotected java.math.BigDecimalgetBorderCaseMin()Value has to exact the used bean definition annotation valueprotected java.math.BigDecimalgetValueAboveGivenMax(java.math.BigDecimal borderValueMax)protected java.math.BigDecimalgetValueAboveGivenMin(java.math.BigDecimal borderValueMax)protected java.math.BigDecimalgetValueBelowGivenMax(java.math.BigDecimal borderValueMax)protected java.math.BigDecimalgetValueBelowGivenMin(java.math.BigDecimal borderValueMax)voidinit()voidtestCheckLowerBorderCaseEqual()voidtestCheckLowerBorderCaseGreater()voidtestCheckLowerBorderCaseLower()voidtestCheckUpperBorderCaseEqual()voidtestCheckUpperBorderCaseGreater()voidtestCheckUpperBorderCaseLower()-
Methods inherited from class de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest
assertIsNotValidValue, assertIsValidValue, clearClassAfterTest, prepareMaxAnnotationInstance, prepareMinAnnotationInstance
-
-
-
-
Method Detail
-
init
public void init()
-
testCheckLowerBorderCaseGreater
public void testCheckLowerBorderCaseGreater()
-
testCheckLowerBorderCaseLower
public void testCheckLowerBorderCaseLower()
-
testCheckLowerBorderCaseEqual
public void testCheckLowerBorderCaseEqual()
-
getValueAboveGivenMin
protected java.math.BigDecimal getValueAboveGivenMin(java.math.BigDecimal borderValueMax)
- Specified by:
getValueAboveGivenMinin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
getValueBelowGivenMin
protected java.math.BigDecimal getValueBelowGivenMin(java.math.BigDecimal borderValueMax)
- Specified by:
getValueBelowGivenMinin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
getBorderCaseMin
protected java.math.BigDecimal getBorderCaseMin()
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMinin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
testCheckUpperBorderCaseGreater
public void testCheckUpperBorderCaseGreater()
-
testCheckUpperBorderCaseLower
public void testCheckUpperBorderCaseLower()
-
testCheckUpperBorderCaseEqual
public void testCheckUpperBorderCaseEqual()
-
getValueAboveGivenMax
protected java.math.BigDecimal getValueAboveGivenMax(java.math.BigDecimal borderValueMax)
- Specified by:
getValueAboveGivenMaxin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
getValueBelowGivenMax
protected java.math.BigDecimal getValueBelowGivenMax(java.math.BigDecimal borderValueMax)
- Specified by:
getValueBelowGivenMaxin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
getBorderCaseMax
protected java.math.BigDecimal getBorderCaseMax()
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMaxin classAbstractHybrisNumberValidatorTest<java.math.BigDecimal,HybrisDecimalMax>
-
-