Class AverageServiceUsageUnitValidatorTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
-
- de.hybris.platform.b2ctelcoservices.constraints.AverageServiceUsageUnitValidatorTest
-
- All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder
@IntegrationTest public class AverageServiceUsageUnitValidatorTest extends de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTestIntegration Test forAverageServiceUsageUnitValidator- Since:
- 6.7
-
-
Constructor Summary
Constructors Constructor Description AverageServiceUsageUnitValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestInvalidCompatibleUnitConversion()voidtestInvalidPSCV()voidtestIsCompatibleUnitConversion()voidtestIsInvalidASUDates()voidtestIsOfNumericTypeOnly()voidtestIsSameASUDates()voidtestIsValidASU()voidtestIsValidASUDates()-
Methods inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, checkException, getDefaultMessage, resetConstraints, unloadEngine
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
-
-
-
Method Detail
-
setup
public void setup() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsInvalidASUDates
public void testIsInvalidASUDates() throws java.text.ParseException- Throws:
java.text.ParseException
-
testIsSameASUDates
public void testIsSameASUDates() throws java.text.ParseException- Throws:
java.text.ParseException
-
testIsValidASUDates
public void testIsValidASUDates() throws java.text.ParseException- Throws:
java.text.ParseException
-
testIsValidASU
public void testIsValidASU()
-
testIsCompatibleUnitConversion
public void testIsCompatibleUnitConversion()
-
testIsOfNumericTypeOnly
public void testIsOfNumericTypeOnly()
-
testInvalidPSCV
public void testInvalidPSCV()
-
testInvalidCompatibleUnitConversion
public void testInvalidCompatibleUnitConversion()
-
-