public abstract class BaseMaintenanceDocumentTest extends KRADTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
BaseMaintenanceDocumentTest() |
Modifier and Type | Method and Description |
---|---|
MaintenanceDocument |
getDocument() |
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) |
void |
setUp() |
void |
setUpBeforeTest() |
protected void |
setupEditAccountMaintDoc(MaintenanceDocument document)
populate maintenance document with objects for editing
|
protected void |
setupNewAccountMaintDoc(MaintenanceDocument document) |
void |
test_CopyDoc() |
void |
test_EditDoc() |
void |
test_NewDoc() |
void |
test_SaveNewDoc() |
getLoadApplicationLifecycle, getSuiteLifecycles, loadSuiteTestData
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
public BaseMaintenanceDocumentTest()
public void setUp() throws Exception
setUp
in class BaselineTestCase
Exception
public void setUpBeforeTest()
protected String getDocumentTypeName()
protected String getInitiatorPrincipalName()
protected void setupNewAccountMaintDoc(MaintenanceDocument document)
protected 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
WorkflowException
public MaintenanceDocument getDocument()
public void setDocument(MaintenanceDocument document)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.