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 |
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, 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, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
protected SpringNotificationServiceLocator services
protected org.springframework.transaction.PlatformTransactionManager transactionManager
public KENTestCase()
protected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles
in class RiceTestCase
protected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle
in class RiceTestCase
protected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles
in class BaselineTestCase
protected List<Lifecycle> getNotificationPerTestLifecycles()
protected void loadDefaultTestData() throws Exception
Exception
protected List<String> getPerTestTablesToClear()
getPerTestTablesToClear
in class BaselineTestCase
protected void setUpAfterDataLoad() throws Exception
Exception
protected void loadPerTestData() throws Exception
loadPerTestData
in class RiceTestCase
Exception
protected void disableQuartzJobs() throws org.quartz.SchedulerException
org.quartz.SchedulerException
protected void enableQuartzJobs() throws org.quartz.SchedulerException
org.quartz.SchedulerException
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.