Class CxPromotionEvaluationIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.personalizationpromotions.action.CxPromotionEvaluationIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CxPromotionEvaluationIntegrationTest extends ServicelayerTest
-
-
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 CxPromotionEvaluationIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PromotionSourceRuleModel
getPromotionRule(java.lang.String code)
protected void
publishPromotions(java.lang.String... codes)
void
setupCoreCxData()
void
testCxPromotionForCart()
void
testCxPromotionForCheckout()
void
testNoPromotionForCart()
void
testNoPromotionForCheckout()
-
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
-
setupCoreCxData
public void setupCoreCxData() throws java.lang.Exception
- Throws:
java.lang.Exception
-
publishPromotions
protected void publishPromotions(java.lang.String... codes) throws RuleEngineServiceException
- Throws:
RuleEngineServiceException
-
getPromotionRule
protected PromotionSourceRuleModel getPromotionRule(java.lang.String code)
-
testNoPromotionForCart
public void testNoPromotionForCart() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNoPromotionForCheckout
public void testNoPromotionForCheckout() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCxPromotionForCart
public void testCxPromotionForCart() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCxPromotionForCheckout
public void testCxPromotionForCheckout() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-