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 Details

  • Constructor Details

    • AbstractRelationModifictionContextIntegrationTest

      public AbstractRelationModifictionContextIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws ConsistencyCheckException
      Throws:
      ConsistencyCheckException
    • instantiateContext

      protected abstract RelationModifictionContext instantiateContext(Date now)
    • shouldTouchItemWhenOptimisticLockingIsDisabled

      public void shouldTouchItemWhenOptimisticLockingIsDisabled() throws Exception
      Throws:
      Exception
    • isFlushSupposedToHappenInCurrentTx

      protected boolean isFlushSupposedToHappenInCurrentTx(long pkValue)
    • shouldCreateNewLinkWhenOptimisticLockingIsDisabled

      public void shouldCreateNewLinkWhenOptimisticLockingIsDisabled() throws Exception
      Throws:
      Exception
    • shouldShiftExistingLinkWhenOptimisticLockingIsDisabled

      public void shouldShiftExistingLinkWhenOptimisticLockingIsDisabled() throws Exception
      Throws:
      Exception
    • shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled

      public void shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled() throws Exception
      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