org.kuali.rice.kew.server
Class WorkflowUtilityTest
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.server.WorkflowUtilityTest
- All Implemented Interfaces:
- MethodAware
public class WorkflowUtilityTest
- 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, setUpAfterDataLoad |
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 |
WorkflowUtilityTest
public WorkflowUtilityTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
testGetDocumentDetailByAppId
public void testGetDocumentDetailByAppId()
throws WorkflowException
- Throws:
WorkflowException
testGetActionsRequested
public void testGetActionsRequested()
throws Exception
- Throws:
Exception
assertActionsRequested
protected void assertActionsRequested(String principalName,
String documentId)
throws Exception
- Throws:
Exception
testIsUserInRouteLog
public void testIsUserInRouteLog()
throws Exception
- Throws:
Exception
testIsUserInRouteLogAfterReturnToPrevious
public void testIsUserInRouteLogAfterReturnToPrevious()
throws Exception
- Throws:
Exception
testIsUserInRouteLogWithSplits
public void testIsUserInRouteLogWithSplits()
throws Exception
- Throws:
Exception
testDocumentWillHaveApproveOrCompleteRequestAtNode_DocumentId
public void testDocumentWillHaveApproveOrCompleteRequestAtNode_DocumentId()
throws Exception
- Throws:
Exception
testDocumentWillHaveApproveOrCompleteRequestAtNode_XmlContent
public void testDocumentWillHaveApproveOrCompleteRequestAtNode_XmlContent()
throws Exception
- Throws:
Exception
testDocumentWillHaveApproveOrCompleteRequestAtNode_ForceAction_DocumentId
public void testDocumentWillHaveApproveOrCompleteRequestAtNode_ForceAction_DocumentId()
throws Exception
- Throws:
Exception
testDocumentWillHaveApproveOrCompleteRequestAtNode_ForceAction_XmlContent
public void testDocumentWillHaveApproveOrCompleteRequestAtNode_ForceAction_XmlContent()
throws Exception
- Throws:
Exception
testIsLastApprover
public void testIsLastApprover()
throws Exception
- Throws:
Exception
testIsLastApproverActivation
public void testIsLastApproverActivation()
throws Exception
- This method tests how the isLastApproverAtNode method deals with force action requests, there is an app constant
with the value specified in KewApiConstants.IS_LAST_APPROVER_ACTIVATE_FIRST which dictates whether or not to simulate
activation of initialized requests before running the method.
Tests the fix to issue http://fms.dfa.cornell.edu:8080/browse/KULWF-366
- Throws:
Exception
testIsFinalApprover
public void testIsFinalApprover()
throws Exception
- Throws:
Exception
testIsFinalApproverChild
public void testIsFinalApproverChild()
throws Exception
- Throws:
Exception
testGetPrincipalIdsInRouteLog
public void testGetPrincipalIdsInRouteLog()
throws Exception
- Throws:
Exception
testRoutingReportOnDocumentType
public void testRoutingReportOnDocumentType()
throws Exception
- Throws:
Exception
testRoutingReportOnDocumentId
public void testRoutingReportOnDocumentId()
throws Exception
- Throws:
Exception
verifyEmptyArray
protected void verifyEmptyArray(String qualifier,
Object[] array)
testRuleReportGeneralFunction
public void testRuleReportGeneralFunction()
throws Exception
- Throws:
Exception
testRuleReportOrgReviewTest
public void testRuleReportOrgReviewTest()
throws Exception
- Tests specific rule scenario relating to standard org review routing
- Throws:
Exception
testGetUserActionItemCount
public void testGetUserActionItemCount()
throws Exception
- Throws:
Exception
testGetActionItems
public void testGetActionItems()
throws Exception
- Throws:
Exception
testGetActionItems_ActionRequestCodes
public void testGetActionItems_ActionRequestCodes()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_WithUser_CustomThreshold
public void testPerformDocumentSearch_WithUser_CustomThreshold()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_NoUser_CustomThreshold
public void testPerformDocumentSearch_NoUser_CustomThreshold()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_WithUser_BasicCriteria
public void testPerformDocumentSearch_WithUser_BasicCriteria()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_NoUser_BasicCriteria
public void testPerformDocumentSearch_NoUser_BasicCriteria()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_WithUser_RouteNodeSearch
public void testPerformDocumentSearch_WithUser_RouteNodeSearch()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_NoUser_RouteNodeSearch
public void testPerformDocumentSearch_NoUser_RouteNodeSearch()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_RouteNodeSpecial
public void testPerformDocumentSearch_RouteNodeSpecial()
throws RemoteException,
WorkflowException
- Throws:
RemoteException
WorkflowException
testPerformDocumentSearch_WithUser_SearchAttributes
public void testPerformDocumentSearch_WithUser_SearchAttributes()
throws Exception
- Throws:
Exception
testPerformDocumentSearch_NoUser_SearchAttributes
public void testPerformDocumentSearch_NoUser_SearchAttributes()
throws Exception
- Throws:
Exception
testGetSearchableAttributeDateTimeValuesByKey
public void testGetSearchableAttributeDateTimeValuesByKey()
throws Exception
- Throws:
Exception
verifyTimestampToSecond
protected void verifyTimestampToSecond(Long originalTimeInMillis,
Long testTimeInMillis)
throws Exception
- Throws:
Exception
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.