Class CxPromotionActionIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.personalizationpromotions.action.CxPromotionActionIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CxPromotionActionModelcreateAction(String code, String promotionId) voidexecuteTest(String promotionId, RuleStatus expectedStatus) protected PromotionSourceRuleModelgetPromotionRule(String code) protected CxVariationModelprotected voidpublishPromotions(String... codes) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
CxPromotionActionIntegrationTest
public CxPromotionActionIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
publishPromotions
- Throws:
RuleEngineServiceException
-
getVariation
-
getPromotionRule
-
createAction
-
executeTest
-
testPublishedEmpty
public void testPublishedEmpty() -
testPublishedAware
public void testPublishedAware() -
testPublishedComplex
public void testPublishedComplex() -
testPublishedComplexAware
public void testPublishedComplexAware() -
testUnpublishedEmpty
public void testUnpublishedEmpty() -
testUnpublishedAware
public void testUnpublishedAware() -
testUnpublishedComplex
public void testUnpublishedComplex() -
testUnpublishedComplexAware
public void testUnpublishedComplexAware()
-