public class

IntegrationTestCommentPermissionsDelegate

extends AbstractConfluenceSingleContextSpringPersistenceTest
java.lang.Object
   ↳ AbstractTransactionalDataSourceSpringContextTests
     ↳ com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
       ↳ com.atlassian.integrationtest.confluence.security.delegate.IntegrationTestCommentPermissionsDelegate

Class Overview

Testing CommentPermissionsDelegate

Date: Jan 25, 2007 - 10:44:52 AM

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
Public Constructors
IntegrationTestCommentPermissionsDelegate()
Public Methods
void testCanEditAsAnonymousUser()
Anonymous user should not be allowed to edit comment at any time
void testCanEditAsCommentAuthor()
Comment author should be able to edit comment
void testCanEditAsNotCommentAuthor()
Only comment author should be able to edit comment
void testCanEditAsSiteAdministrator()
Protected Methods
void onSetUp()
void onTearDown()
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
From class java.lang.Object

Public Constructors

public IntegrationTestCommentPermissionsDelegate ()

Public Methods

public void testCanEditAsAnonymousUser ()

Anonymous user should not be allowed to edit comment at any time

public void testCanEditAsCommentAuthor ()

Comment author should be able to edit comment

public void testCanEditAsNotCommentAuthor ()

Only comment author should be able to edit comment

public void testCanEditAsSiteAdministrator ()

Protected Methods

protected void onSetUp ()

Throws
Exception

protected void onTearDown ()

Throws
Exception