com.atlassian.confluence
Class UserStatusAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.AbstractConfluenceAcceptanceTest
                  extended by com.atlassian.confluence.UserStatusAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class UserStatusAcceptanceTest
extends AbstractConfluenceAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
DASHBOARD_RECENT_UPDATES_URL, logAdjuster, rpc, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, webTester, wikiMarkupRpc
 
Constructor Summary
UserStatusAcceptanceTest()
           
 
Method Summary
protected  void setUp()
          Default setUp method.
 void testAdminCanDeleteAnyStatus()
           
 void testAnonymousSearch()
           
 void testAnonymousUserCantSeeNetworkMacro()
           
 void testAnonymousUserCantSeeProfileMacro()
           
 void testAnonymousUserCantSeeStatusListMacro()
           
 void testCanDeleteOwnStatus()
           
 void testCanNavigateToHighlightedStatus()
           
 void testCantDeleteOthersStatus()
           
 void testClearCurrentStatus()
           
 void testClearStatusLeavesDate()
           
 void testClearStatusXSRF()
           
 void testCurrentStatusHasClearLink()
           
 void testDeleteStatusXSRF()
           
 void testDeleteUserDeletesAllStatuses()
           
 void testDisablePluginHidesStatus()
           
 void testPagination()
           
 void testRemoveCurrentStatus()
           
 void testRemoveOlderStatus()
           
 void testRenderedStatusHtmlInJsonActions()
           
 void testRenderedStatusInProfile()
           
 void testRenderedStatusInStatusList()
           
 void testSearchByContent()
           
 void testSetStatusShowsOnMyStatusUpdatesPage()
           
 void testSetStatusShowsOnPopup()
           
 void testSetStatusShowsOnProfile()
           
 void testSetStatusUpdatesNewStatusOnly()
           
 void testSetStatusXSRF()
           
 void testSetStatusXSS()
           
 void testSidebarHasCurrentStatusOnlyForCurrentUser()
           
 void testStatusContainingHashtag()
           
 void testStatusMessageLength()
           
 void testStatusUpdatesXss()
           
 void testUpdateStatusWithoutPermission()
           
 void testUpdateStatusWithPermission()
           
 void testUserStatusAuthorNotAnonymous()
           
 void testUserStatusCannotContainLinebreaks()
           
 
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
adminConsole, attachments, baseUrlSelector, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, goToBlogCollector, logins, logout, pages, plugins, rebuildIndex, setUpTestNG, substituteForNodeBaseUrl, tearDown, tearDownTestNG, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPath
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserStatusAcceptanceTest

public UserStatusAcceptanceTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: AbstractConfluenceAcceptanceTest
Default setUp method. Establishes XML-RPC connection and sets the base URL. Also configures LDAP repository.

Overrides:
setUp in class AbstractConfluenceAcceptanceTest
Throws:
java.lang.Exception - from super

testSetStatusShowsOnProfile

public void testSetStatusShowsOnProfile()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSetStatusShowsOnMyStatusUpdatesPage

public void testSetStatusShowsOnMyStatusUpdatesPage()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testSetStatusShowsOnPopup

public void testSetStatusShowsOnPopup()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testUserStatusCannotContainLinebreaks

public void testUserStatusCannotContainLinebreaks()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testSetStatusXSRF

public void testSetStatusXSRF()

testClearStatusXSRF

public void testClearStatusXSRF()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteStatusXSRF

public void testDeleteStatusXSRF()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetStatusXSS

public void testSetStatusXSS()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testStatusUpdatesXss

public void testStatusUpdatesXss()

testCanDeleteOwnStatus

public void testCanDeleteOwnStatus()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testCantDeleteOthersStatus

public void testCantDeleteOthersStatus()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testAdminCanDeleteAnyStatus

public void testAdminCanDeleteAnyStatus()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCanNavigateToHighlightedStatus

public void testCanNavigateToHighlightedStatus()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteUserDeletesAllStatuses

public void testDeleteUserDeletesAllStatuses()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testRenderedStatusHtmlInJsonActions

public void testRenderedStatusHtmlInJsonActions()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testSidebarHasCurrentStatusOnlyForCurrentUser

public void testSidebarHasCurrentStatusOnlyForCurrentUser()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRenderedStatusInProfile

public void testRenderedStatusInProfile()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testRenderedStatusInStatusList

public void testRenderedStatusInStatusList()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testAnonymousSearch

public void testAnonymousSearch()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testSearchByContent

public void testSearchByContent()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testClearCurrentStatus

public void testClearCurrentStatus()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveCurrentStatus

public void testRemoveCurrentStatus()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveOlderStatus

public void testRemoveOlderStatus()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testClearStatusLeavesDate

public void testClearStatusLeavesDate()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testSetStatusUpdatesNewStatusOnly

public void testSetStatusUpdatesNewStatusOnly()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testPagination

public void testPagination()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testDisablePluginHidesStatus

public void testDisablePluginHidesStatus()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCurrentStatusHasClearLink

public void testCurrentStatusHasClearLink()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateStatusWithoutPermission

public void testUpdateStatusWithoutPermission()

testUpdateStatusWithPermission

public void testUpdateStatusWithPermission()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testAnonymousUserCantSeeProfileMacro

public void testAnonymousUserCantSeeProfileMacro()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testStatusContainingHashtag

public void testStatusContainingHashtag()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testAnonymousUserCantSeeNetworkMacro

public void testAnonymousUserCantSeeNetworkMacro()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testAnonymousUserCantSeeStatusListMacro

public void testAnonymousUserCantSeeStatusListMacro()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testStatusMessageLength

public void testStatusMessageLength()

testUserStatusAuthorNotAnonymous

public void testUserStatusAuthorNotAnonymous()
                                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.