public class CxPromotionActionIntegrationTest extends ServicelayerTest
importServicejaloSession| Constructor and Description |
|---|
CxPromotionActionIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected CxPromotionActionModel |
createAction(java.lang.String code,
java.lang.String promotionId) |
void |
executeTest(java.lang.String promotionId,
RuleStatus expectedStatus) |
protected PromotionSourceRuleModel |
getPromotionRule(java.lang.String code) |
protected CxVariationModel |
getVariation() |
protected void |
publishPromotions(java.lang.String... codes) |
void |
setUp() |
void |
testPublishedAware() |
void |
testPublishedComplex() |
void |
testPublishedComplexAware() |
void |
testPublishedEmpty() |
void |
testUnpublishedAware() |
void |
testUnpublishedComplex() |
void |
testUnpublishedComplexAware() |
void |
testUnpublishedEmpty() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionprotected void publishPromotions(java.lang.String... codes)
throws RuleEngineServiceException
RuleEngineServiceExceptionprotected CxVariationModel getVariation()
protected PromotionSourceRuleModel getPromotionRule(java.lang.String code)
protected CxPromotionActionModel createAction(java.lang.String code, java.lang.String promotionId)
public void executeTest(java.lang.String promotionId,
RuleStatus expectedStatus)
public void testPublishedEmpty()
public void testPublishedAware()
public void testPublishedComplex()
public void testPublishedComplexAware()
public void testUnpublishedEmpty()
public void testUnpublishedAware()
public void testUnpublishedComplex()
public void testUnpublishedComplexAware()
Copyright © 2018 SAP SE. All Rights Reserved.