public class CxPromotionActionIntegrationTest extends ServicelayerTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
CxPromotionActionIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected CxPromotionActionModel |
createAction(String code,
String promotionId) |
void |
executeTest(String promotionId,
boolean modifyPromotion,
RuleStatus expectedStatus) |
protected PromotionSourceRuleModel |
getPromotionRule(String code) |
protected CxVariationModel |
getVariation() |
protected void |
publishPromotions(String... codes) |
void |
setUp() |
void |
testInvalidPromotion() |
void |
testModifyPublishedAware() |
void |
testModifyPublishedComplex() |
void |
testModifyPublishedComplexAware() |
void |
testModifyPublishedEmpty() |
void |
testModifyUnpublishedAware() |
void |
testModifyUnpublishedComplex() |
void |
testModifyUnpublishedComplexAware() |
void |
testModifyUnpublishedEmpty() |
void |
testPublishedAware() |
void |
testPublishedComplex() |
void |
testPublishedComplexAware() |
void |
testPublishedEmpty() |
void |
testUnpublishedAware() |
void |
testUnpublishedComplex() |
void |
testUnpublishedComplexAware() |
void |
testUnpublishedEmpty() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected void publishPromotions(String... codes) throws RuleEngineServiceException
RuleEngineServiceExceptionprotected CxVariationModel getVariation()
protected PromotionSourceRuleModel getPromotionRule(String code)
protected CxPromotionActionModel createAction(String code, String promotionId)
public void executeTest(String promotionId, boolean modifyPromotion, RuleStatus expectedStatus)
public void testModifyPublishedEmpty()
public void testModifyPublishedAware()
public void testModifyPublishedComplex()
public void testModifyPublishedComplexAware()
public void testModifyUnpublishedEmpty()
public void testModifyUnpublishedAware()
public void testModifyUnpublishedComplex()
public void testModifyUnpublishedComplexAware()
public void testPublishedEmpty()
public void testPublishedAware()
public void testPublishedComplex()
public void testPublishedComplexAware()
public void testUnpublishedEmpty()
public void testUnpublishedAware()
public void testUnpublishedComplex()
public void testUnpublishedComplexAware()
public void testInvalidPromotion()
Copyright © 2017 SAP SE. All Rights Reserved.