public class RuleManagementPropositionDefinitionTest extends RuleManagementBaseTest
KRMSTestCase.BootstrapTestBaselineTestCase.BaselineMode, BaselineTestCase.ModeactionBoService, agendaBoService, CLASS_DISCRIMINATOR, contextRepository, dataObjectService, 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 |
|---|
RuleManagementPropositionDefinitionTest() |
| 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 |
testCompoundCreateProposition()
Test testCompoundCreateProposition()
This test focuses specifically on the RuleManagementServiceImpl .createProposition(PropositionDefinition) method
|
void |
testCreateProposition()
Test testCreateProposition()
This test focuses specifically on the RuleManagementServiceImpl .createProposition(PropositionDefinition) method
|
void |
testDeleteProposition()
Test testDeleteProposition()
This test focuses specifically on the RuleManagementServiceImpl .deleteProposition("proposition id") method
|
void |
testFindPropositionIds()
Test testFindPropositionIds()
This test focuses specifically on the RuleManagementServiceImpl .findPropositionIds(QueryByCriteria) method
|
void |
testGetProposition()
Test testGetProposition()
This test focuses specifically on the RuleManagementServiceImpl .getProposition("proposition id") method
|
void |
testGetPropositionsByRule()
Test testGetPropositionsByRule()
This test focuses specifically on the RuleManagementServiceImpl .getPropositionsByRule("rule id") method
|
void |
testGetPropositionsByType()
Test testGetPropositionsByType()
This test focuses specifically on the RuleManagementServiceImpl .getPropositionsByType("proposition type id") method
|
void |
testPropositionCacheEvict()
Tests whether the
PropositionDefinition cache is being evicted properly by checking the status the
dependent objects before and after creating an PropositionDefinition (and consequently emptying the cache). |
void |
testUpdateProposition()
Test testUpdateProposition()
This test focuses specifically on the RuleManagementServiceImpl .updateProposition(PropositionDefinition) 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, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic RuleManagementPropositionDefinitionTest()
public void setClassDiscriminator()
RuleManagementBaseTestsetClassDiscriminator in class RuleManagementBaseTestpublic void testCreateProposition()
public void testCompoundCreateProposition()
public void testGetProposition()
public void testGetPropositionsByType()
public void testGetPropositionsByRule()
public void testUpdateProposition()
public void testDeleteProposition()
public void testFindPropositionIds()
public void testPropositionCacheEvict()
PropositionDefinition cache is being evicted properly by checking the status the
dependent objects before and after creating an PropositionDefinition (and consequently emptying the cache).
The following object caches are affected:
PropositionDefinition, RuleDefinition
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.