Class ImpExEmptyUpdateTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.impex.ImpExEmptyUpdateTest
-
- All Implemented Interfaces:
JaloSessionHolder
public class ImpExEmptyUpdateTest extends ServicelayerBaseTest
ECP-595
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ImpExEmptyUpdateTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
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()
-
testOptimisticLockingStillWorksTX
public void testOptimisticLockingStillWorksTX() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateTX()
-
testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX
public void testOptimisticLockingStillWorksAndDetectsConcurrentUpdateToSameValueTX() throws java.lang.Exception
- Throws:
java.lang.Exception
-
withOptimisticLocking
protected void withOptimisticLocking(java.lang.Runnable r)
-
inTransaction
protected void inTransaction(java.lang.Runnable r)
-
inTransactionWhichFails
protected void inTransactionWhichFails(java.lang.Runnable r)
-
createModel
protected CountryModel createModel()
-
simulateConcurrentUpdateToSameValueMustFail
protected void simulateConcurrentUpdateToSameValueMustFail(CountryModel model, Country jaloItem, boolean mustFailImmediately)
-
simulateConcurrentUpdateMustFail
protected void simulateConcurrentUpdateMustFail(CountryModel model, Country jaloItem, boolean mustFailImmediately)
-
simulateJaloWritesGetTrackedCorrectly
protected void simulateJaloWritesGetTrackedCorrectly(CountryModel model, Country jaloItem)
-
changeInOtherThread
protected long changeInOtherThread(PK itemPK, java.lang.String property, java.lang.Object value)
-
testEmptyUpdateImpl
protected void testEmptyUpdateImpl(boolean legacyMode, int threads)
-
-