com.stratelia.silverpeas.notificationManager
Class NotificationMetaDataTest

java.lang.Object
  extended by com.stratelia.silverpeas.notificationManager.NotificationMetaDataTest

public class NotificationMetaDataTest
extends Object


Field Summary
 MockByReflectionRule reflectionRule
           
 
Constructor Summary
NotificationMetaDataTest()
           
 
Method Summary
 void displayGroupWithDisplayGroupEnabledAndThresholdNotSet()
           
 void displayGroupWithDisplayGroupNotEnabledAndHighThresholdSet()
           
 void displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupEqualsThresholdSet()
           
 void displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupGreaterThanThresholdSet()
           
 void displayGroupWithDisplayGroupNotEnabledAndThresholdNotSet()
           
 void getAllUserRecipientsButNoSenderAndNoRecipient()
           
 void getAllUserRecipientsButNoSenderAndThreeUserRecipientsAndOneGroupRecipients()
           
 void getAllUserRecipientsButNoSenderAndTwoGroupRecipients()
           
 void getAllUserRecipientsButNoSenderAndTwoUserRecipients()
           
 void getAllUserRecipientsInSendContextForVerifyingExclusionWithDefaultSettings()
           
 void getAllUserRecipientsInSendContextForVerifyingSenderExclusion()
           
 void getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithForceKeepingSender()
           
 void getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithManualNotification()
           
 void getAllUserRecipientsWithUserSenderAndNoRecipient()
           
 void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipient()
           
 void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipientAndModifyingInternalContainer()
           
 void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcluded()
           
 void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcludedAndModifyingInternalContainer()
           
 void getAllUserRecipientsWithUserSenderAndTwoGroupRecipients()
           
 void getAllUserRecipientsWithUserSenderAndTwoUserRecipients()
           
 void isManualUserOneWithNoSender()
           
 void isManualUserOneWithNoSenderAndNotManualOne()
           
 void isManualUserOneWithSender()
           
 void isManualUserOneWithSenderAndNotManualOne()
           
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reflectionRule

public MockByReflectionRule reflectionRule
Constructor Detail

NotificationMetaDataTest

public NotificationMetaDataTest()
Method Detail

setup

public void setup()
           throws Exception
Throws:
Exception

displayGroupWithDisplayGroupNotEnabledAndThresholdNotSet

public void displayGroupWithDisplayGroupNotEnabledAndThresholdNotSet()

displayGroupWithDisplayGroupEnabledAndThresholdNotSet

public void displayGroupWithDisplayGroupEnabledAndThresholdNotSet()

displayGroupWithDisplayGroupNotEnabledAndHighThresholdSet

public void displayGroupWithDisplayGroupNotEnabledAndHighThresholdSet()

displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupEqualsThresholdSet

public void displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupEqualsThresholdSet()

displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupGreaterThanThresholdSet

public void displayGroupWithDisplayGroupNotEnabledAndNbUserInGroupGreaterThanThresholdSet()

getAllUserRecipientsButNoSenderAndNoRecipient

public void getAllUserRecipientsButNoSenderAndNoRecipient()
                                                   throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndNoRecipient

public void getAllUserRecipientsWithUserSenderAndNoRecipient()
                                                      throws Exception
Throws:
Exception

getAllUserRecipientsButNoSenderAndTwoUserRecipients

public void getAllUserRecipientsButNoSenderAndTwoUserRecipients()
                                                         throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndTwoUserRecipients

public void getAllUserRecipientsWithUserSenderAndTwoUserRecipients()
                                                            throws Exception
Throws:
Exception

getAllUserRecipientsButNoSenderAndTwoGroupRecipients

public void getAllUserRecipientsButNoSenderAndTwoGroupRecipients()
                                                          throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndTwoGroupRecipients

public void getAllUserRecipientsWithUserSenderAndTwoGroupRecipients()
                                                             throws Exception
Throws:
Exception

getAllUserRecipientsButNoSenderAndThreeUserRecipientsAndOneGroupRecipients

public void getAllUserRecipientsButNoSenderAndThreeUserRecipientsAndOneGroupRecipients()
                                                                                throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipient

public void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipient()
                                                                                  throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipientAndModifyingInternalContainer

public void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneGroupRecipientAndModifyingInternalContainer()
                                                                                                               throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcluded

public void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcluded()
                                                                                         throws Exception
Throws:
Exception

getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcludedAndModifyingInternalContainer

public void getAllUserRecipientsWithUserSenderAndThreeUserRecipientsAndOneUserRecipientExcludedAndModifyingInternalContainer()
                                                                                                                      throws Exception
Throws:
Exception

getAllUserRecipientsInSendContextForVerifyingExclusionWithDefaultSettings

public void getAllUserRecipientsInSendContextForVerifyingExclusionWithDefaultSettings()
                                                                               throws Exception
Throws:
Exception

getAllUserRecipientsInSendContextForVerifyingSenderExclusion

public void getAllUserRecipientsInSendContextForVerifyingSenderExclusion()
                                                                  throws Exception
Throws:
Exception

getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithForceKeepingSender

public void getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithForceKeepingSender()
                                                                                        throws Exception
Throws:
Exception

getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithManualNotification

public void getAllUserRecipientsInSendContextForVerifyingSenderExclusionWithManualNotification()
                                                                                        throws Exception
Throws:
Exception

isManualUserOneWithNoSenderAndNotManualOne

public void isManualUserOneWithNoSenderAndNotManualOne()
                                                throws Exception
Throws:
Exception

isManualUserOneWithSenderAndNotManualOne

public void isManualUserOneWithSenderAndNotManualOne()
                                              throws Exception
Throws:
Exception

isManualUserOneWithNoSender

public void isManualUserOneWithNoSender()
                                 throws Exception
Throws:
Exception

isManualUserOneWithSender

public void isManualUserOneWithSender()
                               throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.