Package de.hybris.deltadetection.impl
Class ChangeDetectionResetStreamTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.deltadetection.impl.ChangeDetectionResetStreamTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class ChangeDetectionResetStreamTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ChangeDetectionResetStreamTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deletedItemChangeConsumptionShouldChangeStatusToDeleted()
void
deleteStreamShouldDeleteAllVersionMarkers()
void
ivmWithDeletedStatusShouldBeRestoredInCaseOfSameNewItem()
void
prepare()
void
resetShouldReactiveIvmWithDeletedStatus()
void
resetStreamEndToEndTest()
More comprehensive end-to-end reset test: - ivm actual with timestamp matching item -> back to epoch - ivm with timestamp before item modifications -> back to epoch - ivm deleted before -> activatevoid
resetStreamShouldChangeIvmTimestamp()
void
shouldNotRevertValueInCaseOfDeletion()
void
shouldRevertVersionToNull()
void
shouldRevertVersionToPreviousValue()
-
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
-
prepare
public void prepare()
-
deletedItemChangeConsumptionShouldChangeStatusToDeleted
public void deletedItemChangeConsumptionShouldChangeStatusToDeleted()
-
ivmWithDeletedStatusShouldBeRestoredInCaseOfSameNewItem
public void ivmWithDeletedStatusShouldBeRestoredInCaseOfSameNewItem()
-
resetStreamShouldChangeIvmTimestamp
public void resetStreamShouldChangeIvmTimestamp()
-
shouldRevertVersionToNull
public void shouldRevertVersionToNull()
-
shouldRevertVersionToPreviousValue
public void shouldRevertVersionToPreviousValue()
-
shouldNotRevertValueInCaseOfDeletion
public void shouldNotRevertValueInCaseOfDeletion()
-
resetShouldReactiveIvmWithDeletedStatus
public void resetShouldReactiveIvmWithDeletedStatus()
-
resetStreamEndToEndTest
public void resetStreamEndToEndTest()
More comprehensive end-to-end reset test: - ivm actual with timestamp matching item -> back to epoch - ivm with timestamp before item modifications -> back to epoch - ivm deleted before -> activate
-
deleteStreamShouldDeleteAllVersionMarkers
public void deleteStreamShouldDeleteAllVersionMarkers()
-
-