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 |
dirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, 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, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodprotected 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 BaselineTestCaseExceptionpublic void tearDown() throws Exception
tearDown in class RiceTestCaseExceptionprotected void setUpLegacyContext()
protected void tearDownLegacyContext()
protected void setUpInternal() throws Exception
setUpInternal in class RiceTestCaseExceptionprotected Object getTestDictionaryObject(String id)
id - - id of the bean definitionprotected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles in class RiceTestCaseprotected List<String> getPerTestTablesNotToClear()
getPerTestTablesNotToClear in class BaselineTestCaseprotected void loadSuiteTestData() throws Exception
loadSuiteTestData in class RiceInternalSuiteDataTestCaseExceptionprotected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle in class RiceTestCaseCopyright © 2005–2014 The Kuali Foundation. All rights reserved.