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
@IntegrationTest public class ConstraintGroupModelTest extends AbstractConstraintTest
-
-
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 ConstraintGroupModelTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
canCreateConstraintGroupWithSameIDbutDifferentInterfaces()
void
cannotCreateConstraintGroupWithSameIDandWithoutInterface()
void
testChangeDefaultConstraintGroup1()
void
testChangeDefaultConstraintGroup2()
void
testConstraintsAndDefaultConstraintGroup()
void
testCreateAnotherDefaultGroup()
void
testCreateRemoveCreateGroup()
void
testCreateRemoveCreateGroup2()
void
testDefaultGroup()
void
testGroupCheckFails1()
void
testGroupCheckOk1()
void
testGroupsInSessionFails1()
void
testGroupsInSessionFails2()
void
testInvalidInterfaceNames()
void
testRemoveDefaultConstraintGroup()
void
testSetAConstraintToTheDefaultConstraintGroup()
void
testSetDefaultConstraintGroupToAConstraint()
void
testSwapDefaultConstraintGroup()
-
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
-
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()
-
-