org.kuali.rice.kew.actionitem
Class ActionItemServiceTest
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.kew.test.KEWTestCase
org.kuali.rice.kew.actionitem.ActionItemServiceTest
- All Implemented Interfaces:
- MethodAware
public class ActionItemServiceTest
- extends KEWTestCase
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionItemServiceTest
public ActionItemServiceTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
setUpAfterDataLoad
protected void setUpAfterDataLoad()
throws Exception
- Description copied from class:
KEWTestCase
- Default implementation does nothing. Subclasses should override this
method if they want to perform setup work inside of a database
transaction.
- Overrides:
setUpAfterDataLoad
in class KEWTestCase
- Throws:
Exception
testUpdateActionItemsForWorkgroupChange
public void testUpdateActionItemsForWorkgroupChange()
throws Exception
- When workgroup membership changes all action items to that workgroup need to reflect
the new membership
- Throws:
Exception
testUpdateActionItemsForNestedGroupChange
public void testUpdateActionItemsForNestedGroupChange()
throws Exception
- When workgroup membership changes all action items to that workgroup need to reflect
the new membership even in the case of nested workgroups.
- Throws:
Exception
testWorkgroupActionItemGenerationWhenMultipleWorkgroupRequests
public void testWorkgroupActionItemGenerationWhenMultipleWorkgroupRequests()
throws Exception
- addresses the following bug http://fms.dfa.cornell.edu:8080/browse/KULWF-428
- Throws:
Exception
testMultipleActionItemGeneration
public void testMultipleActionItemGeneration()
throws Exception
- This test verifies that if someone gets more than one request routed to them then they will get
multiple Action Items but only one of them will show up in their Action List.
- Throws:
Exception
testOrphanedAcknowledgeFromBlanketApprovalFix
public void testOrphanedAcknowledgeFromBlanketApprovalFix()
throws Exception
- This tests verifies that bug KULWF-507 has been fixed:
https://test.kuali.org/jira/browse/KULWF-507
To fix this, we implemented the system so that multiple action items are generated rather then just
one which gets reassigned across multiple requests as needed.
This test verifies that after the blanket approval, there should no longer be an orphaned Acknowledge
request. The workgroup used here is the TestWorkgroup and "user1" is ewestfal with "user2" as rkirkend.
The routing is configured in the BAOrphanedRequestDocumentType.
- Throws:
Exception
getGroup
protected Group getGroup(String groupId)
- Executes a deep copy of the BaseWorkgroup
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.