|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.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.AbstractPermissionsAcceptanceTest |
---|
ADMIN_GROUP_PERMISSION, CONF_USERS_PERMISSION |
Constructor Summary | |
---|---|
SpacePermissionsAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
Default tearDown method. |
void |
testAdminSpaceForUser()
|
void |
testCanNotAccessGlobalPermissions()
|
void |
testCannotEditSpacePermissionsOnNonExistantSpace()
|
void |
testCreateAttachmentForUser()
|
void |
testCreateBlogForUser()
|
void |
testCreateCommentForUser()
|
void |
testCreatePageForUser()
|
void |
testEditSpacePermissionDoesntLooseAnonymousPermission()
|
void |
testExportSpaceForUser()
|
void |
testGrantViewOnUserForSpace()
|
void |
testInconsistentAnonymousPermissionsWarning()
|
void |
testPermissionsForDeletedSpaceNotCached()
|
void |
testRegisteredUserCanSeeContentSeenByAnonymousUser()
|
void |
testRemoveAttachmentForUser()
|
void |
testRemoveBlogForUser()
|
void |
testRemoveCommentForUser()
|
void |
testRemovePageForUser()
|
void |
testSetPagePermissionsForUser()
|
void |
testViewSpacePermissions()
|
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, failNotEquals, failNotSame, failSame, format |
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 AbstractConfluenceAcceptanceTest
Exception
public void testViewSpacePermissions()
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
Exception
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 testSetPagePermissionsForUser() throws Exception
Exception
public void testInconsistentAnonymousPermissionsWarning() throws Exception
Exception
public void testCanNotAccessGlobalPermissions()
public void testCannotEditSpacePermissionsOnNonExistantSpace()
public void testRegisteredUserCanSeeContentSeenByAnonymousUser() throws IOException, org.apache.xmlrpc.XmlRpcException, SAXException
IOException
org.apache.xmlrpc.XmlRpcException
SAXException
public void testPermissionsForDeletedSpaceNotCached()
public void testEditSpacePermissionDoesntLooseAnonymousPermission()
protected void tearDown() throws Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |