Class AbstractRelationModifictionContextIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.persistence.links.jdbc.dml.context.AbstractRelationModifictionContextIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
NewTransactionContextIntegrationTest,RunningTransactionContextIntegrationTest
public abstract class AbstractRelationModifictionContextIntegrationTest
extends ServicelayerBaseTest
-
Field Summary
FieldsFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RelationModifictionContextinstantiateContext(Date now) protected booleanisFlushSupposedToHappenInCurrentTx(long pkValue) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
RELATION_CODE
- See Also:
-
writePersistenceGateway
-
-
Constructor Details
-
AbstractRelationModifictionContextIntegrationTest
public AbstractRelationModifictionContextIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
ConsistencyCheckException
-
instantiateContext
-
shouldTouchItemWhenOptimisticLockingIsDisabled
- Throws:
Exception
-
isFlushSupposedToHappenInCurrentTx
protected boolean isFlushSupposedToHappenInCurrentTx(long pkValue) -
shouldCreateNewLinkWhenOptimisticLockingIsDisabled
- Throws:
Exception
-
shouldShiftExistingLinkWhenOptimisticLockingIsDisabled
- Throws:
Exception
-
shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled
- Throws:
Exception
-
shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch
public void shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch() throws Exception- Throws:
Exception
-
shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch
public void shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch() throws Exception- Throws:
Exception
-
shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch
public void shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch() throws Exception- Throws:
Exception
-
shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch
public void shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch() throws Exception- Throws:
Exception
-