Class HybrisDecimalMinValidatorForDoubleTest
java.lang.Object
de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
de.hybris.platform.validation.validators.HybrisDecimalMinValidatorForDoubleTest
@UnitTest
public class HybrisDecimalMinValidatorForDoubleTest
extends AbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
Field Summary
Fields inherited from class de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest
ctx, validator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DoubleValue has to exact the used bean definition annotation valueprotected DoubleValue has to exact the used bean definition annotation valueprotected DoublegetValueAboveGivenMax(Double borderValueMax) protected DoublegetValueAboveGivenMin(Double borderValueMax) protected DoublegetValueBelowGivenMax(Double borderValueMax) protected DoublegetValueBelowGivenMin(Double borderValueMax) voidinit()voidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest
assertIsNotValidValue, assertIsValidValue, clearClassAfterTest, prepareMaxAnnotationInstance, prepareMinAnnotationInstance
-
Constructor Details
-
HybrisDecimalMinValidatorForDoubleTest
public HybrisDecimalMinValidatorForDoubleTest()
-
-
Method Details
-
init
public void init() -
testCheckLowerBorderCaseGreater
public void testCheckLowerBorderCaseGreater() -
testCheckLowerBorderCaseLower
public void testCheckLowerBorderCaseLower() -
testCheckLowerBorderCaseEqual
public void testCheckLowerBorderCaseEqual() -
getValueAboveGivenMin
- Specified by:
getValueAboveGivenMinin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
getValueBelowGivenMin
- Specified by:
getValueBelowGivenMinin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
getBorderCaseMin
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMinin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
testCheckUpperBorderCaseGreater
public void testCheckUpperBorderCaseGreater() -
testCheckUpperBorderCaseLower
public void testCheckUpperBorderCaseLower() -
testCheckUpperBorderCaseEqual
public void testCheckUpperBorderCaseEqual() -
getValueAboveGivenMax
- Specified by:
getValueAboveGivenMaxin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
getValueBelowGivenMax
- Specified by:
getValueBelowGivenMaxin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-
getBorderCaseMax
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMaxin classAbstractHybrisNumberValidatorTest<Double,HybrisDecimalMin>
-