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.Mode
Enum of "baselining" modes that this test case supports
|
Modifier and Type | Field and Description |
---|---|
protected static boolean |
dirty
Whether the test environment is in a "dirty" state.
|
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, 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
|
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
protected 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 RiceTestCase
Exception
RiceTestCase.setUp()
protected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles
in class RiceTestCase
protected List<Lifecycle> getClearDbPerTestLifecycles()
protected List<String> getPerTestTablesToClear()
protected List<String> getPerTestTablesNotToClear()
protected List<Lifecycle> getRollbackClearDbPerTestLifecycles()
protected List<Lifecycle> getRollbackTestLifecycles()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.