public class RuleManagementPropositionDefinitionTest 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 |
---|
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, 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 RuleManagementPropositionDefinitionTest()
public void setClassDiscriminator()
RuleManagementBaseTest
setClassDiscriminator
in class RuleManagementBaseTest
public 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–2016 The Kuali Foundation. All rights reserved.