|
||||||||||
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.selenium.AbstractSeleniumTest com.atlassian.confluence.selenium.AbstractMoveDialogTester com.atlassian.confluence.selenium.MoveEditedPageTest
public class MoveEditedPageTest
Test the move page mechanism when you are editing an existing page.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.selenium.AbstractMoveDialogTester |
---|
menus, monkeySpace |
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe |
Constructor Summary | |
---|---|
MoveEditedPageTest(java.lang.String s)
|
Method Summary | |
---|---|
protected void |
assertDuplicatePageError(MovePageDialog dialog)
|
protected void |
clickDialogSubmitButton(MovePageDialog dialog)
|
protected java.lang.String |
getDialogTitle()
|
protected void |
navigateToDialogLaunchPoint(Page page)
Navigate the client to the point in Confluence where the dialog would be launched from but do not actually display the dialog. |
protected MovePageDialog |
openDialog()
|
protected void |
setUp()
|
protected void |
submitMove(MovePageDialog dialog)
|
void |
testChangePageLocation()
|
void |
testChangeThenCancelledChange()
When you make a move, then open the dialog to change this move but cancel, the original move should be remembered and not the original page location. |
void |
testMoveToTopLevelOfSpace()
|
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, 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 |
Constructor Detail |
---|
public MoveEditedPageTest(java.lang.String s)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class AbstractMoveDialogTester
java.lang.Exception
protected void navigateToDialogLaunchPoint(Page page)
AbstractMoveDialogTester
navigateToDialogLaunchPoint
in class AbstractMoveDialogTester
page
- the launch point for the dialog or null if there is no pageprotected MovePageDialog openDialog()
openDialog
in class AbstractMoveDialogTester
protected java.lang.String getDialogTitle()
getDialogTitle
in class AbstractMoveDialogTester
protected void submitMove(MovePageDialog dialog)
submitMove
in class AbstractMoveDialogTester
protected void clickDialogSubmitButton(MovePageDialog dialog)
clickDialogSubmitButton
in class AbstractMoveDialogTester
protected void assertDuplicatePageError(MovePageDialog dialog)
public void testChangePageLocation() throws java.lang.Exception
java.lang.Exception
public void testMoveToTopLevelOfSpace() throws java.lang.Exception
java.lang.Exception
public void testChangeThenCancelledChange() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |