public class

TestEditPageAction

extends AbstractPageActionTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.core.AbstractXWorkTest
           ↳ com.atlassian.confluence.pages.actions.AbstractPageActionTest
             ↳ com.atlassian.confluence.pages.actions.TestEditPageAction

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.AbstractPageActionTest
From class com.atlassian.confluence.core.AbstractXWorkTest
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestEditPageAction()
Public Methods
void setUp()
void tearDown()
void testCannotChildPageAsParent()
void testCannotMoveToSpaceWithoutPermission()
void testCannotSetSelfAsParentPage()
void testEditAnOutdatedVersionOfPage()
void testEditPageNoContentChange()
void testEditPageNothingModified()
void testEditPageWithNonExistingParentPage()
void testPermitChangingCaseOfTitle()
void testRenameToEmptyTitle()
void testRenameToExistingTitle()
void testRenameToExistingTitleInNewSpace()
void testRenameToWhitespaceTitle()
Protected Methods
Action getAction()
List<String> getPermissionTypes()
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.AbstractPageActionTest
From class com.atlassian.confluence.core.AbstractXWorkTest
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestEditPageAction ()

Public Methods

public void setUp ()

Throws
Exception

public void tearDown ()

Throws
Exception

public void testCannotChildPageAsParent ()

public void testCannotMoveToSpaceWithoutPermission ()

public void testCannotSetSelfAsParentPage ()

public void testEditAnOutdatedVersionOfPage ()

Throws
Exception

public void testEditPageNoContentChange ()

Throws
Exception

public void testEditPageNothingModified ()

Throws
Throwable

public void testEditPageWithNonExistingParentPage ()

Throws
Exception

public void testPermitChangingCaseOfTitle ()

public void testRenameToEmptyTitle ()

public void testRenameToExistingTitle ()

public void testRenameToExistingTitleInNewSpace ()

public void testRenameToWhitespaceTitle ()

Protected Methods

protected Action getAction ()

protected List<String> getPermissionTypes ()