@IntegrationTest public class PromotionResultVersioningIT extends PromotionEngineServiceBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
PromotionResultVersioningIT() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRuleEngineRuleModel |
createEmptyRule(String ruleCode,
String ruleUUID) |
protected AbstractRuleEngineRuleModel |
getRuleFromResource(String resourceName,
String ruleCode,
String ruleUUID) |
protected void |
initializeRuleEngine(AbstractRuleEngineRuleModel... rules) |
void |
setUp() |
void |
testPromotionResultVersion() |
void |
testPromotionResultVersionIsCorrectlyAligned() |
void |
testRuleBasedPromotionVersionIsCorrectlyAligned() |
configurePromotionEngineService, getPromotionEngineService, readRuleFile, setupImpexAndOverrideEngineContextcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testPromotionResultVersion()
throws Exception
Exceptionpublic void testPromotionResultVersionIsCorrectlyAligned()
throws Exception
Exceptionpublic void testRuleBasedPromotionVersionIsCorrectlyAligned()
throws Exception
Exceptionprotected AbstractRuleEngineRuleModel getRuleFromResource(String resourceName, String ruleCode, String ruleUUID) throws IOException
IOExceptionprotected AbstractRuleEngineRuleModel createEmptyRule(String ruleCode, String ruleUUID) throws IOException
IOExceptionprotected void initializeRuleEngine(AbstractRuleEngineRuleModel... rules)
Copyright © 2017 SAP SE. All Rights Reserved.