Class PromotionResultVersioningIT
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.promotionengineservices.promotionengine.impl.PromotionEngineServiceBaseTest
-
- de.hybris.platform.promotionengineservices.versioning.PromotionResultVersioningIT
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PromotionResultVersioningIT extends PromotionEngineServiceBaseTest
Integration test suite for PromotionResult and RuleBasedPromotion versioning functionality
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description PromotionResultVersioningIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractRuleEngineRuleModel
createEmptyRule(java.lang.String ruleCode, java.lang.String ruleUUID)
protected AbstractRuleEngineRuleModel
getRuleFromResource(java.lang.String resourceName, java.lang.String ruleCode, java.lang.String ruleUUID)
protected void
initializeRuleEngine(AbstractRuleEngineRuleModel... rules)
void
setUp()
void
testPromotionResultVersion()
void
testPromotionResultVersionIsCorrectlyAligned()
void
testRuleBasedPromotionVersionIsCorrectlyAligned()
-
Methods inherited from class de.hybris.platform.promotionengineservices.promotionengine.impl.PromotionEngineServiceBaseTest
getDroolsKIEBaseDao, getKieBaseModel, getPromotionEngineService, readRuleFile
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, 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
-
testPromotionResultVersion
public void testPromotionResultVersion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPromotionResultVersionIsCorrectlyAligned
public void testPromotionResultVersionIsCorrectlyAligned() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRuleBasedPromotionVersionIsCorrectlyAligned
public void testRuleBasedPromotionVersionIsCorrectlyAligned() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getRuleFromResource
protected AbstractRuleEngineRuleModel getRuleFromResource(java.lang.String resourceName, java.lang.String ruleCode, java.lang.String ruleUUID) throws java.io.IOException
- Throws:
java.io.IOException
-
createEmptyRule
protected AbstractRuleEngineRuleModel createEmptyRule(java.lang.String ruleCode, java.lang.String ruleUUID) throws java.io.IOException
- Throws:
java.io.IOException
-
initializeRuleEngine
protected void initializeRuleEngine(AbstractRuleEngineRuleModel... rules)
-
-