org.kuali.rice.kew.actions
Class SaveActionEventTest
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.actions.SaveActionEventTest
- All Implemented Interfaces:
- MethodAware
public class SaveActionEventTest
- 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, setUpAfterDataLoad |
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 |
DOCUMENT_TYPE_NAME
public static final String DOCUMENT_TYPE_NAME
- See Also:
- Constant Field Values
DOCUMENT_TYPE_NAME_NON_INITIATOR
public static final String DOCUMENT_TYPE_NAME_NON_INITIATOR
- See Also:
- Constant Field Values
ADHOC_NODE
public static final String ADHOC_NODE
- See Also:
- Constant Field Values
WORKFLOW_DOCUMENT_NODE
public static final String WORKFLOW_DOCUMENT_NODE
- See Also:
- Constant Field Values
SaveActionEventTest
public SaveActionEventTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
testSaveActionEvent
public void testSaveActionEvent()
throws Exception
- Throws:
Exception
testDefaultInitiatorMustSavePolicy
public void testDefaultInitiatorMustSavePolicy()
throws Exception
- Tests for when INITIATOR_MUST_SAVE policy is equal to true (default value). In this case if non-initiator user
attempts a save of a document with this policy an exception should be thrown
- Throws:
Exception
testFalseInitiatorMustSavePolicy
public void testFalseInitiatorMustSavePolicy()
throws Exception
- Tests for when INITIATOR_MUST_SAVE policy is equal to false. In this case if non-initiator user
attempts a save of a document with this policy an exception should NOT be thrown
- Throws:
Exception
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.