public abstract class KEWTestCase extends BaselineTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
KEWTestCase.BootstrapTest |
class |
KEWTestCase.ClearCacheLifecycle
Flushes the KEW cache(s)
|
BaselineTestCase.BaselineMode, BaselineTestCase.ModedirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
KEWTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearCacheManagers(org.springframework.cache.CacheManager... cacheManagers) |
protected String |
getGroupIdForName(String namespace,
String groupName) |
protected Lifecycle |
getLoadApplicationLifecycle() |
protected Long |
getNextSequenceLongValue(String sequenceName) |
protected String |
getNextSequenceStringValue(String sequenceName) |
protected List<Lifecycle> |
getPerTestLifecycles()
Override the standard per-test lifecycles to prepend
ClearDatabaseLifecycle and ClearCacheLifecycle
|
protected List<String> |
getPerTestTablesNotToClear() |
protected List<String> |
getPerTestTablesToClear()
Returns the List of tables that should be cleared on every test run.
|
protected String |
getPrincipalIdForName(String principalName) |
protected String |
getPrincipalNameForId(String principalId) |
protected String |
getRoleIdForName(String namespace,
String roleName) |
protected List<Lifecycle> |
getSuiteLifecycles() |
protected org.springframework.transaction.support.TransactionTemplate |
getTransactionTemplate() |
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 |
loadSuiteTestData() |
protected void |
loadTestData() |
protected void |
loadXmlFile(Class clazz,
String fileName) |
protected void |
loadXmlFile(String fileName) |
protected void |
loadXmlFileFromFileSystem(String fileName) |
protected void |
loadXmlStream(InputStream xmlStream) |
protected void |
setUpAfterDataLoad()
Default implementation does nothing.
|
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, 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, setTestMethodpublic KEWTestCase()
protected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles in class RiceTestCaseprotected void loadSuiteTestData() throws Exception
loadSuiteTestData in class RiceInternalSuiteDataTestCaseExceptionprotected void loadDefaultTestData() throws Exception
Exceptionprotected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle in class RiceTestCaseprotected void setUpAfterDataLoad() throws Exception
Exceptionprotected void loadTestData() throws Exception
Exceptionprotected org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
protected void loadPerTestData() throws Exception
loadPerTestData in class RiceTestCaseExceptionprotected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles in class BaselineTestCaseRiceTestCase.getPerTestLifecycles()protected void clearCacheManagers(org.springframework.cache.CacheManager... cacheManagers)
protected List<String> getPerTestTablesToClear()
getPerTestTablesToClear in class BaselineTestCaseprotected List<String> getPerTestTablesNotToClear()
getPerTestTablesNotToClear in class BaselineTestCaseprotected void loadXmlFile(String fileName)
protected void loadXmlFile(Class clazz, String fileName)
protected void loadXmlFileFromFileSystem(String fileName)
protected void loadXmlStream(InputStream xmlStream)
protected String getPrincipalIdForName(String principalName)
protected String getPrincipalNameForId(String principalId)
protected String getGroupIdForName(String namespace, String groupName)
protected Long getNextSequenceLongValue(String sequenceName)
protected String getNextSequenceStringValue(String sequenceName)
protected String getRoleIdForName(String namespace, String roleName)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.