org.kuali.rice.krms.test
Class RuleManagementReferenceObjectBindingTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.krms.test.KRMSTestCase
                          extended by org.kuali.rice.krms.test.RuleManagementBaseTest
                              extended by org.kuali.rice.krms.test.RuleManagementReferenceObjectBindingTest
All Implemented Interfaces:
MethodAware

public class RuleManagementReferenceObjectBindingTest
extends RuleManagementBaseTest

RuleManagementReferenceObjectBindingTest is to test the methods of ruleManagementServiceImpl relating to ReferenceObjectBindings 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, businessObjectService, 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
RuleManagementReferenceObjectBindingTest()
           
 
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 testCreateReferenceObjectBinding()
          Test testCreateReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .createTestReferenceObjectBinding(ReferenceObjectBinding) method
 void testDeleteReferenceObjectBinding()
          Test testDeleteReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .deleteReferenceObjectBinding("referenceObjectBinding id") method
 void testFindReferenceObjectBindingIds()
          Test testFindReferenceObjectBindingIds() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingIds(QueryByCriteria) method
 void testFindReferenceObjectBindingsByKrmsDiscriminatorType()
          Test testFindReferenceObjectBindingsByKrmsDiscriminatorType() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByKrmsDiscriminatorType("KrmsDiscriminatorType") method
 void testFindReferenceObjectBindingsByKrmsObject()
          Test testFindReferenceObjectBindingsByKrmsObject() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByKrmsObject("KrmsObjectId") method
 void testFindReferenceObjectBindingsByReferenceDiscriminatorType()
          Test testFindReferenceObjectBindingsByReferenceDiscriminatorType() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByReferenceDiscriminatorType("ReferenceDiscriminatorType") method
 void testFindReferenceObjectBindingsByReferenceObject()
          Test testFindReferenceObjectBindingsByReferenceObject() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByReferenceObject("ReferenceObjectId") method
 void testGetReferenceObjectBinding()
          Test testGetReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .getReferenceObjectBinding("ReferenceObjectId") method
 void testGetReferenceObjectBindings()
          Test testGetReferenceObjectBindings() This test focuses specifically on the RuleManagementServiceImpl .getReferenceObjectBindings(List) method
 void testUpdateReferenceObjectBinding()
          Test testUpdateReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .updateReferenceObjectBinding(ReferenceObjectBinding) method
 
Methods inherited from class org.kuali.rice.krms.test.RuleManagementBaseTest
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
 
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.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 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

RuleManagementReferenceObjectBindingTest

public RuleManagementReferenceObjectBindingTest()
Method Detail

setClassDiscriminator

public void setClassDiscriminator()
Description copied from class: RuleManagementBaseTest
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. The Class Discriminator is set by this method A Test Discriminator may be used to set unique test names at the start of each test. ex: RuleManagementBaseTestObjectNames.setTestObjectNames(testDiscriminator) The Object Discriminators are Sequential (object0, object1 ...)

Overrides:
setClassDiscriminator in class RuleManagementBaseTest

testCreateReferenceObjectBinding

public void testCreateReferenceObjectBinding()
Test testCreateReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .createTestReferenceObjectBinding(ReferenceObjectBinding) method


testGetReferenceObjectBinding

public void testGetReferenceObjectBinding()
Test testGetReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .getReferenceObjectBinding("ReferenceObjectId") method


testGetReferenceObjectBindings

public void testGetReferenceObjectBindings()
Test testGetReferenceObjectBindings() This test focuses specifically on the RuleManagementServiceImpl .getReferenceObjectBindings(List) method


testFindReferenceObjectBindingsByReferenceObject

public void testFindReferenceObjectBindingsByReferenceObject()
Test testFindReferenceObjectBindingsByReferenceObject() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByReferenceObject("ReferenceObjectId") method


testFindReferenceObjectBindingsByReferenceDiscriminatorType

public void testFindReferenceObjectBindingsByReferenceDiscriminatorType()
Test testFindReferenceObjectBindingsByReferenceDiscriminatorType() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByReferenceDiscriminatorType("ReferenceDiscriminatorType") method


testFindReferenceObjectBindingsByKrmsDiscriminatorType

public void testFindReferenceObjectBindingsByKrmsDiscriminatorType()
Test testFindReferenceObjectBindingsByKrmsDiscriminatorType() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByKrmsDiscriminatorType("KrmsDiscriminatorType") method


testFindReferenceObjectBindingsByKrmsObject

public void testFindReferenceObjectBindingsByKrmsObject()
Test testFindReferenceObjectBindingsByKrmsObject() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingsByKrmsObject("KrmsObjectId") method


testUpdateReferenceObjectBinding

public void testUpdateReferenceObjectBinding()
Test testUpdateReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .updateReferenceObjectBinding(ReferenceObjectBinding) method


testDeleteReferenceObjectBinding

public void testDeleteReferenceObjectBinding()
Test testDeleteReferenceObjectBinding() This test focuses specifically on the RuleManagementServiceImpl .deleteReferenceObjectBinding("referenceObjectBinding id") method


testFindReferenceObjectBindingIds

public void testFindReferenceObjectBindingIds()
Test testFindReferenceObjectBindingIds() This test focuses specifically on the RuleManagementServiceImpl .findReferenceObjectBindingIds(QueryByCriteria) method



Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.