public class RuleManagementActionDefinitionTest extends RuleManagementBaseTest
BaselineTestCase.BaselineMode, BaselineTestCase.ModeactionBoService, agendaBoService, businessObjectService, CLASS_DISCRIMINATOR, contextRepository, functionBoService, krmsAttributeDefinitionService, krmsTypeRepository, ruleBoService, ruleManagementService, termBoServicedirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, 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  ActionDefinitioncache is being evicted properly by checking the status the
 dependent objects before and after creating anActionDefinition(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, setupgetLoadApplicationLifecycle, getModuleName, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestDatagetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethodpublic RuleManagementActionDefinitionTest()
public void setClassDiscriminator()
RuleManagementBaseTestsetClassDiscriminator in class RuleManagementBaseTestpublic 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-2015 The Kuali Foundation. All Rights Reserved.