org.kuali.rice.kew.actions
Class RevokeAdHocActionTest

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

public class RevokeAdHocActionTest
extends KEWTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.BootstrapTest, 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
RevokeAdHocActionTest()
           
 
Method Summary
protected  void loadTestData()
           
 void testRevokeAfterBlanketApprove()
          Tests the revocation of ad hoc requests after a blanket approve.
 void testRevokeByActionRequestId()
          Tests revoking by action request id.
 void testRevokeByNodeName()
          Tests revoking by node name.
 void testRevokeByUserAndGroup()
          Tests revoking by user and workgroup.
 void testRevokePriorToRouting()
          Tests the behavior revocation of ad hoc requests prior to the routing of the document.
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, 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, 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, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevokeAdHocActionTest

public RevokeAdHocActionTest()
Method Detail

loadTestData

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

testRevokeByActionRequestId

public void testRevokeByActionRequestId()
                                 throws Exception
Tests revoking by action request id.

Throws:
Exception

testRevokeByUserAndGroup

public void testRevokeByUserAndGroup()
                              throws Exception
Tests revoking by user and workgroup.

Throws:
Exception

testRevokeByNodeName

public void testRevokeByNodeName()
                          throws Exception
Tests revoking by node name.

Throws:
Exception

testRevokePriorToRouting

public void testRevokePriorToRouting()
                              throws Exception
Tests the behavior revocation of ad hoc requests prior to the routing of the document.

Throws:
Exception

testRevokeAfterBlanketApprove

public void testRevokeAfterBlanketApprove()
                                   throws Exception
Tests the revocation of ad hoc requests after a blanket approve. The goal of this test is to verify that revocation of ad hoc requests doesn't have any adverse effects on the notification requests

Throws:
Exception


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.