|
||||||||||
| 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.AddPageAcceptanceTest
public class AddPageAcceptanceTest
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AddPageAcceptanceTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
Default tearDown method. |
void |
testAddChildeToPageWithColon()
|
void |
testAddPageAsAnonymousUser()
|
void |
testAddPageWithExistingPageWithPagePermissions()
|
void |
testAddPageWithExistingTitle()
|
void |
testAddPageWithViewRestrictionsCorrectlySetsOwner()
|
void |
testCreatePageWithNameAsSinglePeriod()
|
void |
testCreatePageWithTitleEndingInLetter()
|
void |
testCreatePageWithTitleEndingInPunctuation()
|
void |
testCreatePageWithValidationErrorPreservesDraft()
|
void |
testXhtmlSecurityScanningHappens()
This is a bit redundant since BodyContentCleaningIntegrationTest should enforce cleaning, but leave it as a safey net in case the mechanism is ever changed in the future. |
| 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 AddPageAcceptanceTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractConfluenceAcceptanceTestException
protected void tearDown()
throws Exception
AbstractConfluenceAcceptanceTestAbstractConfluenceAcceptanceTest.filesToDelete list.
tearDown in class AbstractConfluenceAcceptanceTestException
public void testAddPageWithExistingTitle()
throws Exception
Exception
public void testAddPageWithExistingPageWithPagePermissions()
throws Exception
Exception
public void testAddPageWithViewRestrictionsCorrectlySetsOwner()
throws Exception
Exception
public void testCreatePageWithNameAsSinglePeriod()
throws Exception
Exception
public void testCreatePageWithValidationErrorPreservesDraft()
throws Exception
Exceptionpublic void testAddPageAsAnonymousUser()
public void testXhtmlSecurityScanningHappens()
throws Exception
Exceptionpublic void testAddChildeToPageWithColon()
public void testCreatePageWithTitleEndingInPunctuation()
throws UnsupportedEncodingException
UnsupportedEncodingException
public void testCreatePageWithTitleEndingInLetter()
throws UnsupportedEncodingException
UnsupportedEncodingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||