org.kuali.rice.kew.useroptions
Class UserOptionsServiceTest
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.useroptions.UserOptionsServiceTest
- All Implemented Interfaces:
- MethodAware
public class UserOptionsServiceTest
- extends KEWTestCase
Test class for {link@ UserOptionsServiceImpl}
Note not all methods for UserOptionsServiceImpl are tested in this test class, some methods are tested within the
PreferencesServiceTest
test class
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase |
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, 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 |
UserOptionsServiceTest
public UserOptionsServiceTest()
testUserOptionsSaveWithPrincipalIdOptionIdOptionVal
public void testUserOptionsSaveWithPrincipalIdOptionIdOptionVal()
throws Exception
- Test save method when a principal id, option id, and option value are given
- Throws:
Exception
- if errors while validating save method.
testUserOptionsSaveWithOptionMap
public void testUserOptionsSaveWithOptionMap()
throws Exception
- Test save method when a principal id and a
Map
keyed by option ids and option values as the mapped value
- Throws:
Exception
- if errors while validating save method.
testFindByUserQualified
public void testFindByUserQualified()
throws Exception
- Test to ensure findByUserQualified method is filtering results with the given principal id and likeString.
- Throws:
Exception
- if errors while validating findByUserQualified method
testRetrieveEmailPreferenceUserOptions
public void testRetrieveEmailPreferenceUserOptions()
throws Exception
- Test retrieveEmailPreferenceUserOptions method is filtering results with the given principal id and email setting
- Throws:
Exception
- if errors while validating retrieveEmailPreferenceUserOptions method
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.