Package de.hybris.platform.retention
Class AfterRetentionCleanupItemsProviderTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.retention.AfterRetentionCleanupItemsProviderTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AfterRetentionCleanupItemsProviderTest extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected FlexibleSearchService
flexibleSearchService
protected ModelService
modelService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description AfterRetentionCleanupItemsProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanUpLockingMechanism()
void
setUp()
void
setUpLockingMechanism()
void
shouldSkipAllLockedItemsAndNotThrowException()
void
shouldSkipOnlyLockedAndRemoveUnlockedItems()
void
testRetentionTimeMultiple()
void
testRetentionTimeMultiple2()
void
testRetentionTimeSingleWithCleanup()
void
testWrongRule()
-
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
-
-
-
-
Field Detail
-
modelService
protected ModelService modelService
-
flexibleSearchService
protected FlexibleSearchService flexibleSearchService
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setUpLockingMechanism
public void setUpLockingMechanism()
-
cleanUpLockingMechanism
public void cleanUpLockingMechanism()
-
testRetentionTimeMultiple
public void testRetentionTimeMultiple()
-
testRetentionTimeMultiple2
public void testRetentionTimeMultiple2()
-
testRetentionTimeSingleWithCleanup
public void testRetentionTimeSingleWithCleanup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldSkipAllLockedItemsAndNotThrowException
public void shouldSkipAllLockedItemsAndNotThrowException()
-
shouldSkipOnlyLockedAndRemoveUnlockedItems
public void shouldSkipOnlyLockedAndRemoveUnlockedItems()
-
testWrongRule
public void testWrongRule()
-
-