public class RuleManagementActionDefinitionTest extends RuleManagementBaseTest
KRMSTestCase.BootstrapTest
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
actionBoService, agendaBoService, CLASS_DISCRIMINATOR, contextRepository, dataObjectService, functionBoService, krmsAttributeDefinitionService, krmsTypeRepository, ruleBoService, ruleManagementService, termBoService
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
RuleManagementActionDefinitionTest() |
Modifier and Type | Method and Description |
---|---|
void |
setClassDiscriminator()
Extending test classes can override setClassDiscriminator method and set a unique value for the class
The override method should be called @before tests to ensure a unique discriminator for the class
Test object naming is comprised of class, test and object uniqueness discriminators.
|
void |
testActionCacheEvict()
Tests whether the
ActionDefinition cache is being evicted properly by checking the status the
dependent objects before and after creating an ActionDefinition (and consequently emptying the cache). |
void |
testCreateAction()
Test testCreateAction()
This test focuses specifically on the RuleManagementServiceImpl .createAction(ActionDefinition) method
|
void |
testDeleteAction()
Test testDeleteAction()
This test focuses specifically on the RuleManagementServiceImpl .testDeleteAction(ActionDefinition) method
|
void |
testFindActionIds()
Test testFindActionIds()
This test focuses specifically on the RuleManagementServiceImpl .testFindActionIds(QueryByCriteria) method
|
void |
testGetAction()
Test testGetAction()
This test focuses specifically on the RuleManagementServiceImpl .testGetAction(Action_Id) method
|
void |
testGetActions()
Test testGetActions()
This test focuses specifically on the RuleManagementServiceImpl .testGetActions(List
|
void |
testUpdateAction()
Test testUpdateAction()
This test focuses specifically on the RuleManagementServiceImpl .testUpdateAction(ActionDefinition) method
|
buildComplexAgenda, buildTestActionDefinition, buildTestActionDefinition, buildTestAgendaItemDefinition, buildTestContext, buildTestNaturalLanguageUsage, buildTestRuleDefinition, createComplexAgenda, createKrmsActionTypeDefinition, createKrmsTypeDefinition, createKrmsTypeDefinition, createReferenceObjectBinding, createTestAgenda, createTestAgenda, createTestCompoundProposition, createTestKrmsAttribute, createTestNaturalLanguageTemplate, createTestNaturalLanguageTemplate, createTestPropositionForRule, createTestPropositionForTranslation, createTestReferenceObjectBinding, createTestSimpleProposition, createTestTermSpecification, getPerTestTablesNotToClear, setup
getLoadApplicationLifecycle, getModuleName, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestData
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public RuleManagementActionDefinitionTest()
public void setClassDiscriminator()
RuleManagementBaseTest
setClassDiscriminator
in class RuleManagementBaseTest
public void testCreateAction()
public void testUpdateAction()
public void testDeleteAction()
public void testGetAction()
public void testGetActions()
public void testFindActionIds()
public void testActionCacheEvict()
ActionDefinition
cache is being evicted properly by checking the status the
dependent objects before and after creating an ActionDefinition
(and consequently emptying the cache).
The following object caches are affected:
ActionDefinition
, RuleDefinition
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.