org.kuali.rice.kew.messaging.exceptionhandling
Class ExceptionRoutingServiceTest

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.messaging.exceptionhandling.ExceptionRoutingServiceTest
All Implemented Interfaces:
MethodAware

public class ExceptionRoutingServiceTest
extends KEWTestCase

This is a unit test for testing the functionality of the ExceptionRoutingService.

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
ExceptionRoutingServiceTest()
           
 
Method Summary
 void testExplicitlyPlacingDocumentInException()
          Makes sure the WorkflowDocumentService.placeInExceptionRouting(String, org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue, String) method exposed through WorkflowDocumentActionsService.placeInExceptionRouting(org.kuali.rice.kew.api.action.DocumentActionParameters) and WorkflowDocument.placeInExceptionRouting(String) at the time of this writing works when not called in the context of an exisiting message.
 void testKimExceptionRouting()
          Checks to make sure that the KIM routing is working.
 void testKimExceptionRoutingWithDocHierarchy()
          Checks to make sure that the KIM routing is working with hierarchical documents.
 void testKimExceptionRoutingWithRiceDocumentChild()
          Checks to make sure that the KIM routing is working for a RiceDocument child.
 
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

ExceptionRoutingServiceTest

public ExceptionRoutingServiceTest()
Method Detail

testKimExceptionRouting

public void testKimExceptionRouting()
                             throws Exception
Checks to make sure that the KIM routing is working. Based upon the test method org.kuali.rice.kew.doctype.DocumentTypeTest.testFinalApproverRouting()

Throws:
Exception

testKimExceptionRoutingWithDocHierarchy

public void testKimExceptionRoutingWithDocHierarchy()
                                             throws Exception
Checks to make sure that the KIM routing is working with hierarchical documents. Based upon the test method org.kuali.rice.kew.doctype.DocumentTypeTest.testFinalApproverRouting()

Throws:
Exception

testKimExceptionRoutingWithRiceDocumentChild

public void testKimExceptionRoutingWithRiceDocumentChild()
                                                  throws Exception
Checks to make sure that the KIM routing is working for a RiceDocument child. Based upon the test method org.kuali.rice.kew.doctype.DocumentTypeTest.testFinalApproverRouting()

Throws:
Exception

testExplicitlyPlacingDocumentInException

public void testExplicitlyPlacingDocumentInException()
Makes sure the WorkflowDocumentService.placeInExceptionRouting(String, org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue, String) method exposed through WorkflowDocumentActionsService.placeInExceptionRouting(org.kuali.rice.kew.api.action.DocumentActionParameters) and WorkflowDocument.placeInExceptionRouting(String) at the time of this writing works when not called in the context of an exisiting message.



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