com.silverpeas.notification.delayed
Class DelayedNotificationManagerTest

java.lang.Object
  extended by com.silverpeas.notification.delayed.DelayedNotificationManagerTest

@ContextConfiguration(locations={"/spring-delayed-notification.xml","/spring-delayed-notification-datasource.xml"})
@TransactionConfiguration(transactionManager="jpaTransactionManager")
public class DelayedNotificationManagerTest
extends Object


Constructor Summary
DelayedNotificationManagerTest()
           
 
Method Summary
 void generalSetUp()
           
static void prepareDataSet()
           
 void testDeleteDelayedNotifications()
           
 void testDeleteDelayedNotifications2()
           
 void testDeleteDelayedNotificationUserSetting()
           
 void testFindAllUsersToBeNotified()
           
 void testFindDelayedNotificationByUserIdGroupByChannel()
           
 void testFindDelayedNotificationUserSettingByUserId()
           
 void testFindUsersToBeNotified_All()
           
 void testFindUsersToBeNotified_Daily()
           
 void testFindUsersToBeNotified_Monthly()
           
 void testFindUsersToBeNotified_Weekly()
           
 void testGetDelayedNotificationUserSetting()
           
 void testGetDelayedNotificationUserSettingByUserIdAndChannelId()
           
 void testGetExistingResource()
           
 void testGetPossibleFrequencies()
           
 void testSaveDelayedNotification()
           
 void testSaveDelayedNotificationUserSetting()
           
 void testUpdateDelayedNotificationUserSetting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelayedNotificationManagerTest

public DelayedNotificationManagerTest()
Method Detail

prepareDataSet

public static void prepareDataSet()
                           throws Exception
Throws:
Exception

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

testGetPossibleFrequencies

public void testGetPossibleFrequencies()
                                throws Exception
Throws:
Exception

testGetExistingResource

public void testGetExistingResource()
                             throws Exception
Throws:
Exception

testFindAllUsersToBeNotified

public void testFindAllUsersToBeNotified()
                                  throws Exception
Throws:
Exception

testFindUsersToBeNotified_Daily

public void testFindUsersToBeNotified_Daily()
                                     throws Exception
Throws:
Exception

testFindUsersToBeNotified_Weekly

public void testFindUsersToBeNotified_Weekly()
                                      throws Exception
Throws:
Exception

testFindUsersToBeNotified_Monthly

public void testFindUsersToBeNotified_Monthly()
                                       throws Exception
Throws:
Exception

testFindUsersToBeNotified_All

public void testFindUsersToBeNotified_All()
                                   throws Exception
Throws:
Exception

testFindDelayedNotificationByUserIdGroupByChannel

public void testFindDelayedNotificationByUserIdGroupByChannel()
                                                       throws Exception
Throws:
Exception

testSaveDelayedNotification

public void testSaveDelayedNotification()
                                 throws Exception
Throws:
Exception

testDeleteDelayedNotifications

public void testDeleteDelayedNotifications()
                                    throws Exception
Throws:
Exception

testDeleteDelayedNotifications2

public void testDeleteDelayedNotifications2()
                                     throws Exception
Throws:
Exception

testFindDelayedNotificationUserSettingByUserId

public void testFindDelayedNotificationUserSettingByUserId()
                                                    throws Exception
Throws:
Exception

testGetDelayedNotificationUserSettingByUserIdAndChannelId

public void testGetDelayedNotificationUserSettingByUserIdAndChannelId()
                                                               throws Exception
Throws:
Exception

testGetDelayedNotificationUserSetting

public void testGetDelayedNotificationUserSetting()
                                           throws Exception
Throws:
Exception

testSaveDelayedNotificationUserSetting

public void testSaveDelayedNotificationUserSetting()
                                            throws Exception
Throws:
Exception

testUpdateDelayedNotificationUserSetting

public void testUpdateDelayedNotificationUserSetting()
                                              throws Exception
Throws:
Exception

testDeleteDelayedNotificationUserSetting

public void testDeleteDelayedNotificationUserSetting()
                                              throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.