Package de.hybris.deltadetection.impl
Class ChangeDetectionIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.deltadetection.impl.ChangeDetectionIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ChangeDetectionIntegrationTest extends ServicelayerBaseTest
Integration tests for change detection feature
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ChangeDetectionIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<ItemVersionMarkerModel>lookupChangeFor(PK pk)voidsetUp()voidshouldTreatItemVersionMarkerAsSLDSafeForWriting()voidtestConsumeChangesConcurrently()voidtestConsumeChangesForDifferentChangeTypesAndDifferentItemTypes()voidtestConsumeChangesForOneNewItem()voidtestFindChangeForRemovedItem()voidtestFindChangesByType()voidtestFindChangesByTypeStreamAware()voidtestFindChangesForModifiedItem()voidtestFindChangesForModifiedItemStreamAware()voidtestFindChangesForNewItem()voidtestFindChangesForNewItemStreamAware()voidtestFindChangesForNotChangedItem()voidtestFindChangesForRemovedItems()voidtestFindChangesForRemovedItemStreamAware()-
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
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldTreatItemVersionMarkerAsSLDSafeForWriting
public void shouldTreatItemVersionMarkerAsSLDSafeForWriting()
-
testFindChangesForNewItem
public void testFindChangesForNewItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForModifiedItem
public void testFindChangesForModifiedItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForNotChangedItem
public void testFindChangesForNotChangedItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangeForRemovedItem
public void testFindChangeForRemovedItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForRemovedItems
public void testFindChangesForRemovedItems() throws java.lang.Exception- Throws:
java.lang.Exception
-
testConsumeChangesForOneNewItem
public void testConsumeChangesForOneNewItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testConsumeChangesConcurrently
public void testConsumeChangesConcurrently() throws java.lang.Exception- Throws:
java.lang.Exception
-
lookupChangeFor
protected java.util.List<ItemVersionMarkerModel> lookupChangeFor(PK pk)
-
testConsumeChangesForDifferentChangeTypesAndDifferentItemTypes
public void testConsumeChangesForDifferentChangeTypesAndDifferentItemTypes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesByType
public void testFindChangesByType() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForNewItemStreamAware
public void testFindChangesForNewItemStreamAware() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForRemovedItemStreamAware
public void testFindChangesForRemovedItemStreamAware() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesForModifiedItemStreamAware
public void testFindChangesForModifiedItemStreamAware() throws java.lang.Exception- Throws:
java.lang.Exception
-
testFindChangesByTypeStreamAware
public void testFindChangesByTypeStreamAware() throws java.lang.Exception- Throws:
java.lang.Exception
-
-