org.kuali.rice.kew.routemanager
Class ExceptionRoutingTest
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.routemanager.ExceptionRoutingTest
- All Implemented Interfaces:
- MethodAware
public class ExceptionRoutingTest
- 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 |
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 |
ExceptionRoutingTest
public ExceptionRoutingTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
setUpAfterDataLoad
protected void setUpAfterDataLoad()
throws Exception
- Description copied from class:
KEWTestCase
- Default implementation does nothing. Subclasses should override this
method if they want to perform setup work inside of a database
transaction.
- Overrides:
setUpAfterDataLoad
in class KEWTestCase
- Throws:
Exception
testSequentialExceptionRouting
public void testSequentialExceptionRouting()
throws Exception
- Throws:
Exception
testInvalidActionsInExceptionRouting
public void testInvalidActionsInExceptionRouting()
throws Exception
- This tests the solution for KULRICE-4493. Essentially, the problem was that when the workflow engine
would transition the document to exception status it would invoke the post processor. If invoking
the post processor raised an exception, that would cause the transaction to get rolled back and the
document would get "stuck" in the ENROUTE state with no pending requests.
- Throws:
Exception
testParallelExceptionRouting
public void testParallelExceptionRouting()
throws Exception
- Throws:
Exception
testExceptionInTransitionFromStart
public void testExceptionInTransitionFromStart()
throws Exception
- this tests that the document appropriately gets to exception routing if there is a
problem when transitioning out of first node
- Throws:
Exception
testRequeueOfExceptionDocument
public void testRequeueOfExceptionDocument()
throws Exception
- Test to verify the fix for KULWF-669.
This tests that if we requeue an exception document (through the RouteQueueService) that it doesn't transition
out of exception routing. Then check that, if we complete it, it properly transitions out of exception routing.
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.