org.kuali.rice.kew.actions
Class FutureRequestsTest

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.actions.FutureRequestsTest
All Implemented Interfaces:
MethodAware

public class FutureRequestsTest
extends KEWTestCase

Tests users requesting to see all future requests, not seeing any future requests on documents and the clearing of those statuses on documents.

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
FutureRequestsTest()
           
 
Method Summary
 void testFutureRequestsWithDuplicateNodesSplit()
          This method tests future action request with duplicate nodes.
 void testFutureRequestsWithDuplicateNodesStraight()
           
 void testFutureRequestsWithRouting()
          Tests future requests work with routing and force action rules
 void testFutureRequestsWithRoutingAndWorkflowInfoActionRequestCheck()
          Tests future requests operation
 void testSavingFutureRequestsStatuses()
          Verify future requests status are being preserved on DocumentRouteHeaderValue objects when set from the WorkflowDocumentFactory
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, 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

FutureRequestsTest

public FutureRequestsTest()
Method Detail

testSavingFutureRequestsStatuses

public void testSavingFutureRequestsStatuses()
                                      throws Exception
Verify future requests status are being preserved on DocumentRouteHeaderValue objects when set from the WorkflowDocumentFactory

Throws:
Exception

testFutureRequestsWithRouting

public void testFutureRequestsWithRouting()
                                   throws Exception
Tests future requests work with routing and force action rules

Throws:
Exception

testFutureRequestsWithRoutingAndWorkflowInfoActionRequestCheck

public void testFutureRequestsWithRoutingAndWorkflowInfoActionRequestCheck()
                                                                    throws Exception
Tests future requests operation

Throws:
Exception

testFutureRequestsWithDuplicateNodesSplit

public void testFutureRequestsWithDuplicateNodesSplit()
                                               throws Exception
This method tests future action request with duplicate nodes. Both on a straight path and a split path. This test was written because of KULRICE-4074. Branch data was not being save when we call saveRoutingData.

Throws:
Exception

testFutureRequestsWithDuplicateNodesStraight

public void testFutureRequestsWithDuplicateNodesStraight()
                                                  throws Exception
Throws:
Exception


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