@IntegrationTest public class DroolsRuleValidationTest extends AbstractRuleEngineServicesTest
RULE_ENGINGE_CONTEXT_NAME, RULE_ENGINGE_KBASE_JUNIT, RULE_ENGINGE_KMODULE_JUNITimportServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
DroolsRuleValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationService |
getConfigurationService() |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setUp() |
void |
tearDown() |
void |
testDroolsRuleInvalidCharacterInRuleCode() |
void |
testDroolsRuleInvalidCharacterInRuleCodeValidationDisabled() |
void |
testDroolsRuleInvalidCharacterInRuleName() |
void |
testDroolsRuleInvalidCharacterInRuleNameValidationDisabled() |
void |
testDroolsRuleMismatchRuleCode() |
void |
testDroolsRuleMismatchRuleCodeValidationDisabled() |
void |
testDroolsRuleMismatchRuleName() |
void |
testDroolsRuleMismatchRuleNameValidationDisabled() |
void |
testDroolsRuleMismatchRulePackage() |
void |
testDroolsRuleMismatchRulePackageValidationDisabled() |
void |
testDroolsRuleNameAndPackageValidateInterceptorNotTriggered() |
void |
testDroolsRuleNameAndPackageValidateInterceptorTriggeredDuringCreate() |
void |
testDroolsRuleWithWhiteSpacesInRuleCode() |
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, setcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws ImpExException
ImpExExceptionpublic void tearDown()
public void testDroolsRuleNameAndPackageValidateInterceptorNotTriggered()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleNameAndPackageValidateInterceptorTriggeredDuringCreate()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleInvalidCharacterInRuleName()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleInvalidCharacterInRuleNameValidationDisabled()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleInvalidCharacterInRuleCode()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleInvalidCharacterInRuleCodeValidationDisabled()
throws ImpExException,
java.io.IOException
ImpExExceptionjava.io.IOExceptionpublic void testDroolsRuleMismatchRuleCode()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleWithWhiteSpacesInRuleCode()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleMismatchRuleCodeValidationDisabled()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleMismatchRuleName()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleMismatchRuleNameValidationDisabled()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleMismatchRulePackage()
throws java.io.IOException
java.io.IOExceptionpublic void testDroolsRuleMismatchRulePackageValidationDisabled()
throws java.io.IOException
java.io.IOExceptionprotected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2018 SAP SE. All Rights Reserved.