@IntegrationTest public class DroolsRuleValidationTest extends AbstractRuleEngineServicesTest
RULE_ENGINGE_CONTEXT_NAME, RULE_ENGINGE_KBASE_JUNITdefaultLanguage, jaloSession| Constructor and Description |
|---|
DroolsRuleValidationTest() |
buildCartWithCodeAndCurrency, buildNotEmptyCartWithCodeAndCurrency, buildRAOsForCartWithCode, buildRAOsForNotEmptyCartWithCode, createCartRAO, createDeliveryModeRAO, createOrderEntryRAO, createOrderEntryRAO, evaluate, evaluateAndFailOnError, getCommerceRuleEngineService, getEngineRuleDao, getKieBase, getMediaService, getModelService, getPlatformRuleEngineService, getReleaseId, getRuleEngineCalculationService, getRuleEngineContextDao, getRuleForFile, getRuleForFile, getTestRulesModule, initializeRuleEngine, initializeRuleEngine, prepareContext, provideRAOs, readRuleFile, setcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws ImpExException
ImpExExceptionpublic void tearDown()
public void testDroolsRuleNameAndPackageValidateInterceptorNotTriggered()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleNameAndPackageValidateInterceptorTriggeredAfterCreate()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleNameAndPackageValidateInterceptorTriggeredDuringCreate()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleInvalidCharacterInRuleName()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleInvalidCharacterInRuleNameValidationDisabled()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleInvalidCharacterInRuleCode()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleInvalidCharacterInRuleCodeValidationDisabled()
throws ImpExException,
IOException
ImpExExceptionIOExceptionpublic void testDroolsRuleMismatchRuleCode()
throws IOException
IOExceptionpublic void testDroolsRuleWithWhiteSpacesInRuleCode()
throws IOException
IOExceptionpublic void testDroolsRuleMismatchRuleCodeValidationDisabled()
throws IOException
IOExceptionpublic void testDroolsRuleMismatchRuleName()
throws IOException
IOExceptionpublic void testDroolsRuleMismatchRuleNameValidationDisabled()
throws IOException
IOExceptionpublic void testDroolsRuleMismatchRulePackage()
throws IOException
IOExceptionpublic void testDroolsRuleMismatchRulePackageValidationDisabled()
throws IOException
IOExceptionprotected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2017 SAP SE. All Rights Reserved.