Class ConstraintGroupModelTest
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.ConstraintGroupModelTest
- All Implemented Interfaces:
JaloSessionHolder
-
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, validationServiceFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.validation.model.constraints.jsr303.AbstractConstraintTest
assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithEvaluatedMessage, assertModelSavingExceptionWithMessageKey, assertModelSavingExceptionWithMessageKey, assertTrimmedException, calculateFractionPrecision, checkException, checkException, checkException, getDefaultMessage, resetConstraints, unloadEngineMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ConstraintGroupModelTest
public ConstraintGroupModelTest()
-
-
Method Details
-
testDefaultGroup
public void testDefaultGroup() -
testCreateRemoveCreateGroup
public void testCreateRemoveCreateGroup() -
testCreateRemoveCreateGroup2
public void testCreateRemoveCreateGroup2() -
testRemoveDefaultConstraintGroup
public void testRemoveDefaultConstraintGroup() -
testChangeDefaultConstraintGroup1
public void testChangeDefaultConstraintGroup1() -
testChangeDefaultConstraintGroup2
public void testChangeDefaultConstraintGroup2() -
testCreateAnotherDefaultGroup
public void testCreateAnotherDefaultGroup() -
testSwapDefaultConstraintGroup
public void testSwapDefaultConstraintGroup() -
testConstraintsAndDefaultConstraintGroup
public void testConstraintsAndDefaultConstraintGroup() -
testSetDefaultConstraintGroupToAConstraint
public void testSetDefaultConstraintGroupToAConstraint() -
testSetAConstraintToTheDefaultConstraintGroup
public void testSetAConstraintToTheDefaultConstraintGroup() -
testInvalidInterfaceNames
public void testInvalidInterfaceNames() -
testGroupCheckOk1
public void testGroupCheckOk1() -
testGroupCheckFails1
public void testGroupCheckFails1() -
testGroupsInSessionFails1
public void testGroupsInSessionFails1() -
testGroupsInSessionFails2
public void testGroupsInSessionFails2() -
cannotCreateConstraintGroupWithSameIDandWithoutInterface
public void cannotCreateConstraintGroupWithSameIDandWithoutInterface() -
canCreateConstraintGroupWithSameIDbutDifferentInterfaces
public void canCreateConstraintGroupWithSameIDbutDifferentInterfaces()
-