org.kuali.rice.kew.notification
Class NotificationServiceTest
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.notification.NotificationServiceTest
- All Implemented Interfaces:
- MethodAware
public class NotificationServiceTest
- extends KEWTestCase
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, 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 |
NotificationServiceTest
public NotificationServiceTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
testNoDuplicateEmails
public void testNoDuplicateEmails()
throws Exception
- Tests that when a user is routed to twice at the same time that only email is sent to them.
- Throws:
Exception
testEmailPreferences
public void testEmailPreferences()
throws Exception
- Tests that the notification preferences for emails work properly. There are four different preferences:
1) Email notification type (none, immediate, daily, weekly) - defaults to immediate
2) Send primary delegation notifications - defaults to true
3) Send secondary delegation notifications - defaults to false
- Throws:
Exception
testIndDocTypeEmailPreferences
public void testIndDocTypeEmailPreferences()
throws Exception
- Tests email for individual document type
- Throws:
Exception
testDocumentTypeNotificationFromAddress
public void testDocumentTypeNotificationFromAddress()
throws Exception
- Tests that the fromNotificationAddress on the document type works properly. Used to test implementation of KULWF-628.
- Throws:
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.