org.kuali.rice.kew.preferences
Class PreferencesServiceTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.kew.test.KEWTestCase
org.kuali.rice.kew.preferences.PreferencesServiceTest
- All Implemented Interfaces:
- MethodAware
public class PreferencesServiceTest
- extends KEWTestCase
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase |
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferencesServiceTest
public PreferencesServiceTest()
testPreferencesDefaultSave
public void testPreferencesDefaultSave()
throws Exception
- Test that the preferences are saved by default when going through the preferences service. This
means that the preferences service will persist any user option that was not in the db when it went
to fetch that preferences.
- Throws:
Exception
testPreferencesMarshallingWithInvalidJson
public void testPreferencesMarshallingWithInvalidJson()
testPreferencesConcurrentDefaultSave
public void testPreferencesConcurrentDefaultSave()
throws Throwable
- Tests default saving concurrently which can cause a race condition on startup
that leads to constraint violations
- Throws:
Throwable
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.