Class DefaultDroolsEngineServiceTest
- 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.droolsruleengineservices.impl.DefaultDroolsEngineServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultDroolsEngineServiceTest extends AbstractRuleEngineServicesTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.droolsruleengineservices.impl.AbstractRuleEngineServicesTest
RULE_ENGINGE_CONTEXT_NAME, RULE_ENGINGE_KBASE_JUNIT, RULE_ENGINGE_KMODULE_JUNIT
-
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 DefaultDroolsEngineServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
restore()
void
setUp()
void
testRuleEngineInitializedEvent()
void
testRuleEvaluation()
void
testRuleInitializationError()
void
testSingleRuleLoopDetection()
void
testTwoRulesLoopDetection()
-
Methods 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, set
-
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
-
setUp
public void setUp() throws ImpExException
- Throws:
ImpExException
-
restore
public void restore()
-
testRuleEngineInitializedEvent
public void testRuleEngineInitializedEvent() throws java.io.IOException
- Throws:
java.io.IOException
-
testRuleInitializationError
public void testRuleInitializationError() throws java.io.IOException
- Throws:
java.io.IOException
-
testSingleRuleLoopDetection
public void testSingleRuleLoopDetection() throws java.io.IOException
- Throws:
java.io.IOException
-
testTwoRulesLoopDetection
public void testTwoRulesLoopDetection() throws java.io.IOException
- Throws:
java.io.IOException
-
testRuleEvaluation
public void testRuleEvaluation() throws java.io.IOException
- Throws:
java.io.IOException
-
-