public abstract class AbstractRelationModifictionContextIntegrationTest extends ServicelayerBaseTest
| Modifier and Type | Field and Description |
|---|---|
protected CacheInvalidator |
cacheInvalidator |
protected static java.lang.String |
RELATION_CODE |
protected WritePersistenceGateway |
writePersistenceGateway |
defaultLanguage, jaloSession| Constructor and Description |
|---|
AbstractRelationModifictionContextIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract RelationModifictionContext |
instantiateContext(java.util.Date now) |
protected boolean |
isFlushSupposedToHappenInCurrentTx(long pkValue) |
void |
setUp() |
void |
shouldCreateNewLinkWhenOptimisticLockingIsDisabled() |
void |
shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch() |
void |
shouldNotFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch() |
void |
shouldNotFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch() |
void |
shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch() |
void |
shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled() |
void |
shouldShiftExistingLinkWhenOptimisticLockingIsDisabled() |
void |
shouldTouchItemWhenOptimisticLockingIsDisabled() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected static final java.lang.String RELATION_CODE
protected WritePersistenceGateway writePersistenceGateway
protected CacheInvalidator cacheInvalidator
public AbstractRelationModifictionContextIntegrationTest()
public void setUp()
throws ConsistencyCheckException
ConsistencyCheckExceptionprotected abstract RelationModifictionContext instantiateContext(java.util.Date now)
public void shouldTouchItemWhenOptimisticLockingIsDisabled()
throws java.lang.Exception
java.lang.Exceptionprotected boolean isFlushSupposedToHappenInCurrentTx(long pkValue)
public void shouldCreateNewLinkWhenOptimisticLockingIsDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldShiftExistingLinkWhenOptimisticLockingIsDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2017 SAP SE. All Rights Reserved.