|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.test.BaseRiceTestCase org.kuali.rice.test.RiceTestCase org.kuali.rice.test.RiceInternalSuiteDataTestCase org.kuali.rice.test.BaseModuleTestCase org.kuali.rice.test.BaselineTestCase org.kuali.rice.krms.test.KRMSTestCase org.kuali.rice.krms.test.RuleManagementBaseTest org.kuali.rice.krms.test.RuleManagementPropositionDefinitionTest
public class RuleManagementPropositionDefinitionTest
RuleManagementPropositionDefinitionTest is to test the methods of ruleManagementServiceImpl relating to PropositionDefinitions Each test focuses on one of the methods.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase |
---|
BaselineTestCase.BaselineMode, BaselineTestCase.Mode |
Field Summary |
---|
Fields inherited from class org.kuali.rice.krms.test.RuleManagementBaseTest |
---|
actionBoService, agendaBoService, CLASS_DISCRIMINATOR, contextRepository, functionBoService, krmsAttributeDefinitionService, krmsTypeRepository, ruleBoService, ruleManagementService, termBoService |
Fields inherited from class org.kuali.rice.test.BaselineTestCase |
---|
dirty |
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase |
---|
LOG, moduleName |
Fields inherited from class org.kuali.rice.test.RiceTestCase |
---|
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles |
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
log, method |
Constructor Summary | |
---|---|
RuleManagementPropositionDefinitionTest()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.kuali.rice.krms.test.KRMSTestCase |
---|
getLoadApplicationLifecycle, getModuleName, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaselineTestCase |
---|
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
---|
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleManagementPropositionDefinitionTest()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |