|
||||||||||
| 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.AddPageSecurityAcceptanceTest
public class AddPageSecurityAcceptanceTest
A test class specifically intended to test Page Creation via HTTP directly, instead of through either SOAP/XMLRPC or the Web GUI. This kind of test is necessary since while you may restrict what is possible via the GUI layer, in a web GUI an 'inquisitive' user may change any parameters posted back from the browser.
Tests here are intended to exercise security at the action layer.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AddPageSecurityAcceptanceTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
Set up the test space and create a new test user who should not have create permissions for this space. |
void |
testRestrictedSpace()
Test the creation of a page in a space the test user should not have access to. |
| 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 |
| Constructor Detail |
|---|
public AddPageSecurityAcceptanceTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractConfluenceAcceptanceTestException
public void testRestrictedSpace()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||