Class SizeConstraintTest
- 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.validation.model.constraints.jsr303.SizeConstraintTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SizeConstraintTest extends AbstractConstraintTest
Testing size Constraint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
AbstractConstraintTest.Constraint
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
constraintDao, flexibleSearchService, i18nService, modelService, typeService, validationService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SizeConstraintTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createFallbackLangs()
need additional sample data for the collection testvoid
testSizeFailFallBackLanguagesAndIsoCode1()
void
testSizeFailIsoCode1()
void
testSizeFailIsoCode2()
void
testSizeOk1()
void
testSizeOk2()
-
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
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
createFallbackLangs
public void createFallbackLangs()
need additional sample data for the collection test
-
testSizeOk1
public void testSizeOk1()
-
testSizeOk2
public void testSizeOk2()
-
testSizeFailIsoCode1
public void testSizeFailIsoCode1()
-
testSizeFailIsoCode2
public void testSizeFailIsoCode2()
-
testSizeFailFallBackLanguagesAndIsoCode1
public void testSizeFailFallBackLanguagesAndIsoCode1()
-
-