Package de.hybris.platform.retention
Class RetentionCleanupJobPerformableTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.retention.RetentionCleanupJobPerformableTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class RetentionCleanupJobPerformableTest 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 RetentionCleanupJobPerformableTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareData()
void
setUp()
void
testCalculatedParamsInFlexibleSearchRetentionRule()
void
testEveryBatchIsProcessedInSeparateTransaction()
void
testProperGetOfNextItemsForFlexibleSearchRetentionRuleModel()
void
testSimpleRemoveJobStrategyWithBatchSizeOne()
void
testSimpleRemoveJobStrategyWithBatchSizeOneHundred()
void
testSimpleRemoveJobStrategyWithBatchSizeOneHundred2()
-
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
-
testSimpleRemoveJobStrategyWithBatchSizeOneHundred2
public void testSimpleRemoveJobStrategyWithBatchSizeOneHundred2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testProperGetOfNextItemsForFlexibleSearchRetentionRuleModel
public void testProperGetOfNextItemsForFlexibleSearchRetentionRuleModel()
-
testEveryBatchIsProcessedInSeparateTransaction
public void testEveryBatchIsProcessedInSeparateTransaction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSimpleRemoveJobStrategyWithBatchSizeOneHundred
public void testSimpleRemoveJobStrategyWithBatchSizeOneHundred() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSimpleRemoveJobStrategyWithBatchSizeOne
public void testSimpleRemoveJobStrategyWithBatchSizeOne() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCalculatedParamsInFlexibleSearchRetentionRule
public void testCalculatedParamsInFlexibleSearchRetentionRule()
-
prepareData
public void prepareData()
-
-