public abstract class KRADTestCase extends BaselineTestCase
Modifier and Type | Class and Description |
---|---|
static class |
KRADTestCase.BootstrapTest |
static interface |
KRADTestCase.Legacy
Annotation which indicates that a Legacy Context should be used for this individual test method or for all tests
in an annotated class.
|
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
Modifier and Type | Field and Description |
---|---|
protected DataDictionary |
dd |
protected static SpringResourceLoader |
kradTestHarnessSpringResourceLoader |
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
KRADTestCase() |
KRADTestCase(String moduleName)
propagate constructor
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.context.ConfigurableApplicationContext |
getKRADTestHarnessContext() |
protected Lifecycle |
getLoadApplicationLifecycle() |
protected List<String> |
getPerTestTablesNotToClear() |
protected List<Lifecycle> |
getSuiteLifecycles() |
protected Object |
getTestDictionaryObject(String id)
Returns an instance of the bean with the given id that has been configured in the test dictionary
|
protected void |
loadSuiteTestData() |
void |
setUp() |
protected void |
setUpInternal() |
protected void |
setUpLegacyContext() |
void |
tearDown() |
protected void |
tearDownLegacyContext() |
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
protected DataDictionary dd
protected static SpringResourceLoader kradTestHarnessSpringResourceLoader
public KRADTestCase()
public KRADTestCase(String moduleName)
moduleName
- - the name of the moduleprotected org.springframework.context.ConfigurableApplicationContext getKRADTestHarnessContext()
public void setUp() throws Exception
setUp
in class BaselineTestCase
Exception
public void tearDown() throws Exception
tearDown
in class RiceTestCase
Exception
protected void setUpLegacyContext()
protected void tearDownLegacyContext()
protected void setUpInternal() throws Exception
setUpInternal
in class RiceTestCase
Exception
protected Object getTestDictionaryObject(String id)
id
- - id of the bean definitionprotected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles
in class RiceTestCase
protected List<String> getPerTestTablesNotToClear()
getPerTestTablesNotToClear
in class BaselineTestCase
protected void loadSuiteTestData() throws Exception
loadSuiteTestData
in class RiceInternalSuiteDataTestCase
Exception
protected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle
in class RiceTestCase
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.