|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.ThreadLocalWebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.AbstractPermissionsAcceptanceTest
com.atlassian.confluence.SpacePermissionsAcceptanceTest
public class SpacePermissionsAcceptanceTest
1. test user, user of group, anon. with basic permissions: (browseable) 1.1 can't view all (links for perm.s) 1.2 increment perm. can only view the assigned perm. ... 1.x
| Field Summary | |
|---|---|
boolean |
onLastTest
|
| Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
|---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
| Constructor Summary | |
|---|---|
SpacePermissionsAcceptanceTest()
|
|
| 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 |
| Field Detail |
|---|
public boolean onLastTest
| Constructor Detail |
|---|
public SpacePermissionsAcceptanceTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractConfluenceAcceptanceTestException
public void runBare()
throws Throwable
runBare in class ThreadLocalWebTestCaseThrowablepublic void testViewSpacePermissions()
protected void grantUseConfluenceToTestUser()
public void testGrantViewOnUserForSpace()
throws Exception
Exception
public void testCreatePageForUser()
throws Exception
Exception
public void testRemovePageForUser()
throws Exception
Exception
public void testCreateBlogForUser()
throws Exception
Exception
public void testRemoveBlogForUser()
throws Exception
Exceptionpublic void testRemoveBlogLinkOnEditPageOnlyAppearsIfHavePermission()
public void testCreateCommentForUser()
throws Exception
Exception
public void testRemoveCommentForUser()
throws Exception
Exception
public void testCreateAttachmentForUser()
throws Exception
Exception
public void testRemoveAttachmentForUser()
throws Exception
Exception
public void testExportSpaceForUser()
throws Exception
Exception
public void testAdminSpaceForUser()
throws Exception
Exception
public void testNoAnonymousPermsInSharedMode()
throws Exception
Exception
public void testSetPagePermissionsForUser()
throws Exception
Exception
public void testInconsistentAnonymousPermissionsWarning()
throws Exception
Exception
public void testAnonymousPermissionsTurnedOffInSharedMode()
throws IOException,
org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcExceptionpublic void testCanNotAccessGlobalPermissions()
public void testCannotEditSpacePermissionsOnNonExistantSpace()
public void testRegisteredUserCanSeeContentSeenByAnonymousUser()
throws IOException,
org.apache.xmlrpc.XmlRpcException,
SAXException
IOException
org.apache.xmlrpc.XmlRpcException
SAXExceptionpublic void testPermissionsForDeletedSpaceNotCached()
public void testEditSpacePermissionDoesntLooseAnonymousPermission()
protected void tearDown()
throws Exception
AbstractConfluenceAcceptanceTestAbstractConfluenceAcceptanceTest.filesToDelete list.
tearDown in class AbstractConfluenceAcceptanceTestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||