public class PreferencesServiceTest extends KEWTestCase
KEWTestCase.BootstrapTest, KEWTestCase.ClearCacheLifecycle
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
PreferencesServiceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testPreferencesConcurrentDefaultSave()
Tests default saving concurrently which can cause a race condition on startup
that leads to constraint violations.
|
void |
testPreferencesDefaultSave()
Test that the preferences are saved by default when going through the preferences service.
|
void |
testPreferencesMarshallingWithInvalidJson()
Tests preference marshalling with invalid json.
|
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
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
public PreferencesServiceTest()
public void testPreferencesDefaultSave() throws Exception
Exception
public void testPreferencesMarshallingWithInvalidJson()
public void testPreferencesConcurrentDefaultSave() throws Throwable
Throwable
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.