Class ImpExEmptyUpdateTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class ImpExEmptyUpdateTest extends ServicelayerBaseTest
ECP-595
  • Constructor Details

    • ImpExEmptyUpdateTest

      public ImpExEmptyUpdateTest()
  • Method Details

    • testEmptyUpdateMultiThreadedServiceLayer

      public void testEmptyUpdateMultiThreadedServiceLayer()
    • testEmptyUpdateMultiThreadedJalo

      public void testEmptyUpdateMultiThreadedJalo()
    • testEmptyUpdateSingleThreadedServiceLayer

      public void testEmptyUpdateSingleThreadedServiceLayer()
    • testEmptyUpdateSingleThreadedJalo

      public void testEmptyUpdateSingleThreadedJalo()
    • testOptimisticLockingStillWorks

      public void testOptimisticLockingStillWorks()
    • testOptimisticLockingStillWorksAndDetectsConcurrentUpdate

      public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdate()
    • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue

      public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValue()
    • testOptimisticLockingIsBlacklistedForConfiguredCountryType

      public void testOptimisticLockingIsBlacklistedForConfiguredCountryType()
    • testOptimisticLockingIsBlacklistedForConfiguredCountryTypeButWorksForTitleType

      public void testOptimisticLockingIsBlacklistedForConfiguredCountryTypeButWorksForTitleType()
    • testOptimisticLockingIsBlacklistedForConfiguredCountryAndTitleType

      public void testOptimisticLockingIsBlacklistedForConfiguredCountryAndTitleType()
    • testOptimisticLockingWhereCountryTypeIsConfiguredAsBlacklistedInOneThreadAndNotConfiguredInAnotherThread

      public void testOptimisticLockingWhereCountryTypeIsConfiguredAsBlacklistedInOneThreadAndNotConfiguredInAnotherThread()
    • testOptimisticLockingStillWorksTX

      public void testOptimisticLockingStillWorksTX() throws Exception
      Throws:
      Exception
    • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX

      public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX()
    • testOptimisticLockingEnabledButNotDetectsConcurrentUpdateTXForBlacklistedType

      public void testOptimisticLockingEnabledButNotDetectsConcurrentUpdateTXForBlacklistedType()
    • testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX

      public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX() throws Exception
      Throws:
      Exception
    • withOptimisticLocking

      protected void withOptimisticLocking(Runnable r)
    • withOptimisticLockingDisabledForType

      protected void withOptimisticLockingDisabledForType(Runnable r, String typeToSet)
    • inTransaction

      protected void inTransaction(Runnable r)
    • inTransactionWhichFails

      protected void inTransactionWhichFails(Runnable r)
    • createModel

      protected CountryModel createModel(String suffixName)
    • createTitleModel

      protected TitleModel createTitleModel(String suffixName)
    • simulateConcurrentUpdateToSameValueMustFail

      protected void simulateConcurrentUpdateToSameValueMustFail(CountryModel model, Country jaloItem, boolean mustFailImmediately)
    • simulateConcurrentUpdateToSameValueMustNotFail

      protected void simulateConcurrentUpdateToSameValueMustNotFail(ItemModel model, ExtensibleItem jaloItem)
    • simulateConcurrentUpdateMustFail

      protected void simulateConcurrentUpdateMustFail(ItemModel model, ExtensibleItem jaloItem, boolean mustFailImmediately)
    • simulateJaloWritesGetTrackedCorrectly

      protected void simulateJaloWritesGetTrackedCorrectly(ItemModel model, ExtensibleItem jaloItem)
    • changeInOtherThread

      protected long changeInOtherThread(PK itemPK, String property, Object value)
    • testEmptyUpdateImpl

      protected void testEmptyUpdateImpl(boolean legacyMode, int threads)