public class BaselineTestCase extends BaseModuleTestCase
getMode() override,
 or by annotation:
 BaselineTestCase.Mode value.| Modifier and Type | Class and Description | 
|---|---|
| static interface  | BaselineTestCase.BaselineMode | 
| static class  | BaselineTestCase.ModeEnum of "baselining" modes that this test case supports | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static boolean | dirtyWhether the test environment is in a "dirty" state. | 
LOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description | 
|---|
| BaselineTestCase(String moduleName) | 
| BaselineTestCase(String moduleName,
                                BaselineTestCase.Mode mode)Adds the ability to specify Mode | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<Lifecycle> | getClearDbPerTestLifecycles() | 
| protected BaselineTestCase.Mode | getMode() | 
| protected List<Lifecycle> | getPerTestLifecycles() | 
| protected List<String> | getPerTestTablesNotToClear() | 
| protected List<String> | getPerTestTablesToClear() | 
| protected List<Lifecycle> | getRollbackClearDbPerTestLifecycles() | 
| protected List<Lifecycle> | getRollbackTestLifecycles() | 
| void | setUp()Overridden to set dirty=true each time | 
getModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodprotected static boolean dirty
TransactionalLifecycle then
 it should clear the dirty flag.  This flag can be used to perform cleanup in case a previous
 test left the test environment in a "dirty" state.public BaselineTestCase(String moduleName)
public BaselineTestCase(String moduleName, BaselineTestCase.Mode mode)
protected BaselineTestCase.Mode getMode()
public void setUp() throws Exception
setUp in class RiceTestCaseExceptionRiceTestCase.setUp()protected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles in class RiceTestCaseprotected List<Lifecycle> getClearDbPerTestLifecycles()
protected List<String> getPerTestTablesToClear()
protected List<String> getPerTestTablesNotToClear()
protected List<Lifecycle> getRollbackClearDbPerTestLifecycles()
protected List<Lifecycle> getRollbackTestLifecycles()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.