org.kuali.rice.kew.role
Class RoleRouteModuleTest

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.kew.test.KEWTestCase
                          extended by org.kuali.rice.kew.role.RoleRouteModuleTest
All Implemented Interfaces:
MethodAware

public class RoleRouteModuleTest
extends KEWTestCase

Tests Role-based routing integration between KEW and KIM.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
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
RoleRouteModuleTest()
           
 
Method Summary
protected  void loadTestData()
           
 void testRoleDelegate()
           
 void testRoleDelegateApproval()
           
 void testRoleRouteModule_AllApprove()
           
 void testRoleRouteModule_FirstApprove()
           
 void testRoleRouteModule_RoleResponsibilityActionUpdate()
          Tests that ActionRequests are regenerated when RoleResponsibilityActions are programmatically changes via the RoleService (Must be run before tests which alter delegate configuration)
 void testRoleWithNoMembers()
           
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
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, 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

RoleRouteModuleTest

public RoleRouteModuleTest()
Method Detail

loadTestData

protected void loadTestData()
                     throws Exception
Overrides:
loadTestData in class KEWTestCase
Throws:
Exception

testRoleRouteModule_FirstApprove

public void testRoleRouteModule_FirstApprove()
                                      throws Exception
Throws:
Exception

testRoleRouteModule_AllApprove

public void testRoleRouteModule_AllApprove()
                                    throws Exception
Throws:
Exception

testRoleRouteModule_RoleResponsibilityActionUpdate

public void testRoleRouteModule_RoleResponsibilityActionUpdate()
                                                        throws Exception
Tests that ActionRequests are regenerated when RoleResponsibilityActions are programmatically changes via the RoleService (Must be run before tests which alter delegate configuration)

Throws:
Exception

testRoleDelegate

public void testRoleDelegate()
                      throws Exception
Throws:
Exception

testRoleDelegateApproval

public void testRoleDelegateApproval()
                              throws Exception
Throws:
Exception

testRoleWithNoMembers

public void testRoleWithNoMembers()
                           throws Exception
Throws:
Exception


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