public abstract class BaseMaintenanceDocumentTest extends KRADTestCase
It provides test methods for setting up, editing, saving and copying a maintenance document
BaselineTestCase.BaselineMode, BaselineTestCase.ModedddirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description | 
|---|
| BaseMaintenanceDocumentTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| MaintenanceDocument | getDocument()gets the maintenance document that is created in the constructor | 
| protected String | getDocumentTypeName()Override this method to provide different value | 
| protected String | getInitiatorPrincipalName()Override this method to provide different initiator | 
| protected abstract Object | getNewMaintainableObject() | 
| protected abstract Object | getOldMaintainableObject() | 
| void | setDocument(MaintenanceDocument document)set the maintenance document to use in the test | 
| void | setUp() | 
| void | setUpBeforeTest() | 
| protected void | setupEditAccountMaintDoc(MaintenanceDocument document)populate maintenance document with objects for editing | 
| protected void | setupNewAccountMaintDoc(MaintenanceDocument document)setup a new maintenance document | 
| void | test_CopyDoc() | 
| void | test_EditDoc() | 
| void | test_NewDoc() | 
| void | test_SaveNewDoc() | 
getLoadApplicationLifecycle, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUpInternalgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethodpublic BaseMaintenanceDocumentTest()
public void setUp() throws Exception
setUp in class BaselineTestCaseExceptionpublic void setUpBeforeTest()
protected String getDocumentTypeName()
protected String getInitiatorPrincipalName()
protected void setupNewAccountMaintDoc(MaintenanceDocument document)
document - - the maintenance document being testedprotected abstract Object getNewMaintainableObject()
protected abstract Object getOldMaintainableObject()
protected void setupEditAccountMaintDoc(MaintenanceDocument document)
document - - the maintenance document being testedpublic void test_NewDoc()
public void test_EditDoc()
public void test_CopyDoc()
public void test_SaveNewDoc() throws WorkflowException
WorkflowExceptionpublic MaintenanceDocument getDocument()
getDocumentTypeName()public void setDocument(MaintenanceDocument document)
document - - the maintenance documentCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.