public abstract class KENTestCase extends BaselineTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
KENTestCase.BootstrapTest |
class |
KENTestCase.ClearCacheLifecycle
Flushes the KEW cache(s)
|
BaselineTestCase.BaselineMode, BaselineTestCase.Mode| Modifier and Type | Field and Description |
|---|---|
protected SpringNotificationServiceLocator |
services |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
dirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
KENTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disableQuartzJobs()
This method makes sure to disable the Quartz scheduler
|
protected void |
enableQuartzJobs()
This method enables the Quartz scheduler
|
protected Lifecycle |
getLoadApplicationLifecycle() |
protected List<Lifecycle> |
getNotificationPerTestLifecycles() |
protected List<Lifecycle> |
getPerTestLifecycles() |
protected List<String> |
getPerTestTablesToClear()
Returns the List of tables that should be cleared on every test run.
|
protected List<Lifecycle> |
getSuiteLifecycles() |
protected void |
loadDefaultTestData()
By default this loads the "default" data set from the DefaultTestData.sql
and DefaultTestData.xml files.
|
protected void |
loadPerTestData()
Initiates loading of per-test data
|
protected void |
setUpAfterDataLoad() |
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodprotected SpringNotificationServiceLocator services
protected org.springframework.transaction.PlatformTransactionManager transactionManager
public KENTestCase()
protected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles in class RiceTestCaseprotected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle in class RiceTestCaseprotected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles in class BaselineTestCaseprotected List<Lifecycle> getNotificationPerTestLifecycles()
protected void loadDefaultTestData() throws Exception
Exceptionprotected List<String> getPerTestTablesToClear()
getPerTestTablesToClear in class BaselineTestCaseprotected void setUpAfterDataLoad() throws Exception
Exceptionprotected void loadPerTestData() throws Exception
loadPerTestData in class RiceTestCaseExceptionprotected void disableQuartzJobs() throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionprotected void enableQuartzJobs() throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.