public abstract class OjbBeanTestCase extends KEWTestCase
KEWTestCase.ClearCacheLifecycle
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 |
---|
OjbBeanTestCase() |
Modifier and Type | Method and Description |
---|---|
protected org.springmodules.orm.ojb.PersistenceBrokerTemplate |
getPersistenceBrokerTemplate() |
protected abstract boolean |
isOptimisticallyLocked() |
protected abstract Object |
loadBean() |
protected abstract void |
modifyBean(Object bean) |
void |
testOptimisticLocking() |
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
public OjbBeanTestCase()
public void testOptimisticLocking() throws Exception
Exception
protected abstract void modifyBean(Object bean) throws Exception
Exception
protected abstract boolean isOptimisticallyLocked()
protected org.springmodules.orm.ojb.PersistenceBrokerTemplate getPersistenceBrokerTemplate()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.