public abstract class BusinessObjectPersistenceTestCaseBase extends BusinessObjectDaoTestCaseBase
KENTestCase.ClearCacheLifecycleBaselineTestCase.BaselineMode, BaselineTestCase.ModebusinessObjectDaoservices, transactionManagerdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
BusinessObjectPersistenceTestCaseBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
delete()
This method must be implemented to return true if a record
was properly delted from the database.
|
protected abstract boolean |
insert()
This method must be implemented to return true if a record
was properly inserted into the database.
|
protected abstract boolean |
retrieve()
This method must be implemented to return true if a record
was properly retreived from the database.
|
protected void |
setup()
This method should be overridden and implemented to perform a setup of any dependent objects that
business object may need to reference.
|
void |
testBasicPersistence()
This method is responsible for testing the basic persistence of a business object.
|
protected abstract boolean |
update()
This method must be implemented to return true if a record
was properly updated in the database.
|
protected abstract boolean |
validateChanges()
This method should be implemented to retrieve the objects that were just updated, and validate
that their changes took effect.
|
setUpdisableQuartzJobs, enableQuartzJobs, getLoadApplicationLifecycle, getNotificationPerTestLifecycles, getPerTestLifecycles, getPerTestTablesToClear, getSuiteLifecycles, loadDefaultTestData, loadPerTestData, setUpAfterDataLoadgetClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestDataconfigureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethodpublic BusinessObjectPersistenceTestCaseBase()
public void testBasicPersistence()
protected void setup()
protected abstract boolean insert()
protected abstract boolean retrieve()
protected abstract boolean update()
protected abstract boolean validateChanges()
protected abstract boolean delete()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.