Class HybrisDecimalMaxValidatorForLongTest
- java.lang.Object
-
- de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
- de.hybris.platform.validation.validators.HybrisDecimalMaxValidatorForLongTest
-
@UnitTest public class HybrisDecimalMaxValidatorForLongTest extends AbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.validation.validators.AbstractHybrisNumberValidatorTest
ctx, validator
-
-
Constructor Summary
Constructors Constructor Description HybrisDecimalMaxValidatorForLongTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.LonggetBorderCaseMax()Value has to exact the used bean definition annotation valueprotected java.lang.LonggetBorderCaseMin()Value has to exact the used bean definition annotation valueprotected java.lang.LonggetValueAboveGivenMax(java.lang.Long borderValueMax)protected java.lang.LonggetValueAboveGivenMin(java.lang.Long borderValueMax)protected java.lang.LonggetValueBelowGivenMax(java.lang.Long borderValueMax)protected java.lang.LonggetValueBelowGivenMin(java.lang.Long 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.lang.Long getValueAboveGivenMin(java.lang.Long borderValueMax)
- Specified by:
getValueAboveGivenMinin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
getValueBelowGivenMin
protected java.lang.Long getValueBelowGivenMin(java.lang.Long borderValueMax)
- Specified by:
getValueBelowGivenMinin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
getBorderCaseMin
protected java.lang.Long getBorderCaseMin()
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMinin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
testCheckUpperBorderCaseGreater
public void testCheckUpperBorderCaseGreater()
-
testCheckUpperBorderCaseLower
public void testCheckUpperBorderCaseLower()
-
testCheckUpperBorderCaseEqual
public void testCheckUpperBorderCaseEqual()
-
getValueAboveGivenMax
protected java.lang.Long getValueAboveGivenMax(java.lang.Long borderValueMax)
- Specified by:
getValueAboveGivenMaxin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
getValueBelowGivenMax
protected java.lang.Long getValueBelowGivenMax(java.lang.Long borderValueMax)
- Specified by:
getValueBelowGivenMaxin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
getBorderCaseMax
protected java.lang.Long getBorderCaseMax()
Description copied from class:AbstractHybrisNumberValidatorTestValue has to exact the used bean definition annotation value- Specified by:
getBorderCaseMaxin classAbstractHybrisNumberValidatorTest<java.lang.Long,HybrisDecimalMax>
-
-