org.kuali.rice.kew.clientapp
Class WorkflowInfoTest

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

public class WorkflowInfoTest
extends KEWTestCase

This is a description of what this class does - ewestfal don't forget to fill this in.

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
WorkflowInfoTest()
           
 
Method Summary
protected  void loadTestData()
           
 void testBlanketApproverSubmitted()
          test for issue KFSMI-2979 This method verifies that workflowInfo.getRoutedByPrincipalIdByDocumentId returns the blanket approver for a document that was put onroute by that person (the blanket approver)
 void testGetAppDocId()
           
 void testGetAppDocStatus()
           
 void testGetDocumentStatus()
           
 void testGetRouteHeader()
          Tests the loading of a RouteHeaderVO using the WorkflowInfo.
 
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

WorkflowInfoTest

public WorkflowInfoTest()
Method Detail

loadTestData

protected void loadTestData()
Overrides:
loadTestData in class KEWTestCase

testGetRouteHeader

public void testGetRouteHeader()
                        throws Exception
Tests the loading of a RouteHeaderVO using the WorkflowInfo. Verifies that an NPE no longer occurrs as mentioned in KULRICE-765.

Throws:
Exception

testGetDocumentStatus

public void testGetDocumentStatus()
                           throws Exception
Throws:
Exception

testBlanketApproverSubmitted

public void testBlanketApproverSubmitted()
                                  throws WorkflowException
test for issue KFSMI-2979 This method verifies that workflowInfo.getRoutedByPrincipalIdByDocumentId returns the blanket approver for a document that was put onroute by that person (the blanket approver)

Throws:
WorkflowException

testGetAppDocId

public void testGetAppDocId()
                     throws Exception
Throws:
Exception

testGetAppDocStatus

public void testGetAppDocStatus()
                         throws Exception
Throws:
Exception


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