org.kuali.rice.krms.test
Class RuleManagementPropositionDefinitionTest
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.AbstractBoTest
org.kuali.rice.krms.test.AbstractAgendaBoTest
org.kuali.rice.krms.test.RuleManagementBaseTest
org.kuali.rice.krms.test.RuleManagementPropositionDefinitionTest
- All Implemented Interfaces:
- MethodAware
public class RuleManagementPropositionDefinitionTest
- extends RuleManagementBaseTest
RuleManagementPropositionDefinitionTest is to test the methods of ruleManagementServiceImpl relating to PropositionDefinitions
Each test focuses on one of the methods.
Method Summary |
void |
setClassDiscriminator()
setClassDiscriminator needs to be run before tests to ensure uniqueness of test objects within a class
Should be overridden by each class which extends this 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 |
testUpdateProposition()
Test testUpdateProposition()
This test focuses specifically on the RuleManagementServiceImpl .updateProposition(PropositionDefinition) method |
Methods inherited from class org.kuali.rice.krms.test.RuleManagementBaseTest |
buildAgenda, buildComplexAgenda, buildComplexAgenda, buildReferenceObjectBinding, buildReferenceObjectBinding, buildTestContext, buildTestNaturalLanguageTemplate, buildTestNaturalLanguageUsage, createKrmsTypeDefinition, createTestActions, createTestKrmsAttribute, createTestPropositionForRule, createTestRule, createTestSimpleProposition, createTestTermSpecification, newTestAgendaItemDefinition, newTestRuleDefinition, setup |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleManagementPropositionDefinitionTest
public RuleManagementPropositionDefinitionTest()
setClassDiscriminator
public void setClassDiscriminator()
- Description copied from class:
RuleManagementBaseTest
- setClassDiscriminator needs to be run before tests to ensure uniqueness of test objects within a class
Should be overridden by each class which extends this class
Test object naming is comprised of class, test and object uniqueness discriminators.
The Class Discriminator needs to be set before any tests.
The Test Discriminator needs to be set at the start of each test. ex: setTestObjectNames(testDiscriminator)
The Object Discriminators are Sequential (object0, OBJECT1 ...)
- Overrides:
setClassDiscriminator
in class RuleManagementBaseTest
testCreateProposition
public void testCreateProposition()
- Test testCreateProposition()
This test focuses specifically on the RuleManagementServiceImpl .createProposition(PropositionDefinition) method
testCompoundCreateProposition
public void testCompoundCreateProposition()
- Test testCompoundCreateProposition()
This test focuses specifically on the RuleManagementServiceImpl .createProposition(PropositionDefinition) method
testGetProposition
public void testGetProposition()
- Test testGetProposition()
This test focuses specifically on the RuleManagementServiceImpl .getProposition("proposition id") method
testGetPropositionsByType
public void testGetPropositionsByType()
- Test testGetPropositionsByType()
This test focuses specifically on the RuleManagementServiceImpl .getPropositionsByType("proposition type id") method
testGetPropositionsByRule
public void testGetPropositionsByRule()
- Test testGetPropositionsByRule()
This test focuses specifically on the RuleManagementServiceImpl .getPropositionsByRule("rule id") method
testUpdateProposition
public void testUpdateProposition()
- Test testUpdateProposition()
This test focuses specifically on the RuleManagementServiceImpl .updateProposition(PropositionDefinition) method
testDeleteProposition
public void testDeleteProposition()
- Test testDeleteProposition()
This test focuses specifically on the RuleManagementServiceImpl .deleteProposition("proposition id") method
testFindPropositionIds
public void testFindPropositionIds()
- Test testFindPropositionIds()
This test focuses specifically on the RuleManagementServiceImpl .findPropositionIds(QueryByCriteria) method
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.