Class DefaultRAOActionTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.droolsruleengineservices.impl.AbstractRuleEngineServicesTest
de.hybris.platform.promotionengineservices.commerce.DefaultRAOActionTest
- All Implemented Interfaces:
JaloSessionHolder
Tests the RAOActions.
-
Field Summary
Fields inherited from class de.hybris.platform.droolsruleengineservices.impl.AbstractRuleEngineServicesTest
RULE_ENGINGE_CONTEXT_NAME, RULE_ENGINGE_KBASE_JUNIT, RULE_ENGINGE_KMODULE_JUNITFields 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 OrderEntryRAOcreateOrderEntryRAO(String basePrice, String currencyIso, int quantity, int entryNumber, CartRAO cart, String productCode) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.droolsruleengineservices.impl.AbstractRuleEngineServicesTest
buildCartWithCodeAndCurrency, buildNotEmptyCartWithCodeAndCurrency, buildRAOsForCartWithCode, buildRAOsForNotEmptyCartWithCode, createCartRAO, createDeliveryModeRAO, createOrderEntryRAO, createOrderEntryRAO, evaluate, evaluateAndFailOnError, getCommerceRuleEngineService, getDroolsKIEBaseDao, getEngineRuleDao, getKieBase, getKieBaseOrCreateNew, getMediaService, getModelService, getPlatformRuleEngineService, getReleaseId, getRuleEngineCalculationService, getRuleEngineContextDao, getRuleForFile, getRuleForFile, getRulesModuleDao, getTestRulesModule, initializeRuleEngine, initializeRuleEngine, prepareContext, provideRAOs, readRuleFile, setMethods 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
-
DefaultRAOActionTest
public DefaultRAOActionTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
testAddOrderLevelDiscountAbsolute
- Throws:
IOException
-
testChangeDeliveryModeFreeShipping
- Throws:
IOException
-
testChangeDeliveryModeFreeOvernightShipping
- Throws:
IOException
-
testAddProductDiscount
- Throws:
IOException
-
testAddFixedPriceProductDiscount
- Throws:
IOException
-
testAddFixedPriceProductDiscountConsumedEntries
- Throws:
IOException
-
testTwoEntryRulesWithAvailableQuantityCondition
- Throws:
IOException
-
testRuleForMoreEntriesAllConsumed
- Throws:
IOException
-
testRuleEvaluation
- Throws:
IOException
-
createOrderEntryRAO
protected OrderEntryRAO createOrderEntryRAO(String basePrice, String currencyIso, int quantity, int entryNumber, CartRAO cart, String productCode) -
addFacts
-