public class

NetworkNotificationsAcceptanceTest

extends AbstractNotificationsAcceptanceTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ThreadLocalWebTestCase
         ↳ com.atlassian.confluence.AbstractAtlassianWebTestCase
           ↳ com.atlassian.confluence.AbstractConfluenceAcceptanceTest
             ↳ com.atlassian.confluence.AbstractNotificationsAcceptanceTest
               ↳ com.atlassian.confluence.NetworkNotificationsAcceptanceTest

Class Overview

Tests watches on the network feed.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
[Expand]
Inherited Fields
From class com.atlassian.confluence.AbstractNotificationsAcceptanceTest
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
Public Constructors
NetworkNotificationsAcceptanceTest()
Public Methods
void testHtmlStatusEmail()
Tests the format of html user status messages.
void testManyOperationsForNetwork()
Tests that vaguely appropriate messages are generated for all operations.
void testNoNotificationsAfterCeasingToFollow()
Tests that once a user stops following somebody, they no longer get notifications sent from that user's actions.
void testNotificationNotSentWhenUserWatchingCreatorOfPageThatIsMoved()
void testNotificationSentWhenUserWatchesMover()
void testStatusEmailsRespectPermissions()
Protected Methods
void setUp()
[Expand]
Inherited Methods
From class com.atlassian.confluence.AbstractNotificationsAcceptanceTest
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
From class com.atlassian.confluence.ThreadLocalWebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public NetworkNotificationsAcceptanceTest ()

Public Methods

public void testHtmlStatusEmail ()

Tests the format of html user status messages.

Throws
Exception

public void testManyOperationsForNetwork ()

Tests that vaguely appropriate messages are generated for all operations. Saves up the asserting till the end to limit the number of time-consuming waits/flushes that need to happen.

Throws
Exception if there is an unexpected ptroblem.

public void testNoNotificationsAfterCeasingToFollow ()

Tests that once a user stops following somebody, they no longer get notifications sent from that user's actions. (Testing that emails are sent while users are followed is tested by testHtmlStatusEmail().

Throws
Exception

public void testNotificationNotSentWhenUserWatchingCreatorOfPageThatIsMoved ()

Throws
Exception

public void testNotificationSentWhenUserWatchesMover ()

Throws
Exception

public void testStatusEmailsRespectPermissions ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception