org.kuali.rice.kns.document
Class AccountManagerMaintenanceDocumentTest

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.krad.test.KRADTestCase
                          extended by org.kuali.rice.krad.test.BaseMaintenanceDocumentTest
                              extended by org.kuali.rice.kns.document.AccountManagerMaintenanceDocumentTest
All Implemented Interfaces:
MethodAware

public class AccountManagerMaintenanceDocumentTest
extends BaseMaintenanceDocumentTest

AccountManagerMaintenanceDocumentTest tests some maintenance document operations on the document type 'AccountManagerMaintenanceDocument'

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.krad.test.KRADTestCase
dd
 
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
AccountManagerMaintenanceDocumentTest()
           
 
Method Summary
protected  String getDocumentTypeName()
          Override this method to provide different value
protected  String getInitiatorPrincipalName()
          Override this method to provide different initiator
protected  Object getNewMaintainableObject()
           
protected  Object getOldMaintainableObject()
           
 void testRouteNewDoc()
           
 
Methods inherited from class org.kuali.rice.krad.test.BaseMaintenanceDocumentTest
getDocument, setDocument, setUp, setUpBeforeTest, setupEditAccountMaintDoc, setupNewAccountMaintDoc, test_CopyDoc, test_EditDoc, test_NewDoc, test_SaveNewDoc
 
Methods inherited from class org.kuali.rice.krad.test.KRADTestCase
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternal
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
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, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, 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

AccountManagerMaintenanceDocumentTest

public AccountManagerMaintenanceDocumentTest()
Method Detail

getNewMaintainableObject

protected Object getNewMaintainableObject()
Specified by:
getNewMaintainableObject in class BaseMaintenanceDocumentTest
Returns:
an object to set as the new maintainable object

getDocumentTypeName

protected String getDocumentTypeName()
Description copied from class: BaseMaintenanceDocumentTest
Override this method to provide different value

Overrides:
getDocumentTypeName in class BaseMaintenanceDocumentTest
Returns:
the document type name to use

getInitiatorPrincipalName

protected String getInitiatorPrincipalName()
Description copied from class: BaseMaintenanceDocumentTest
Override this method to provide different initiator

Overrides:
getInitiatorPrincipalName in class BaseMaintenanceDocumentTest
Returns:
the principal name to use as the initiator for the specified document type

getOldMaintainableObject

protected Object getOldMaintainableObject()
Specified by:
getOldMaintainableObject in class BaseMaintenanceDocumentTest
Returns:
an object to set as the old maintainable object

testRouteNewDoc

public void testRouteNewDoc()
                     throws WorkflowException
Throws:
WorkflowException


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