|
||||||||||
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 net.sourceforge.jwebunit.junit.WebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.PageOperationsAcceptanceTest
public class PageOperationsAcceptanceTest
Tests for complex page operations
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
tester |
Constructor Summary | |
---|---|
PageOperationsAcceptanceTest()
|
Method Summary | |
---|---|
void |
moveAttachment()
|
void |
setUp()
Default setUp method. |
void |
testAttachmentCommentsAndVersioning()
Check that attachment comments and versioning work |
void |
testCopyPage()
|
void |
testCopyPageInSameSpaceWithNoEditSpacePermission()
Test for CONF-8877, that users with only view space permission can copy a page, but not to the same space. |
void |
testCopyPageWithImage()
|
void |
testCopyPageWithLabels()
|
void |
testCreateAttachmentForUser()
Test the following operations: - login and create space - create an attachment to a page. |
void |
testDiff()
Check that the dif algorithm works: - create a new Test Page - modify the content of the page - check if history exists - check if diff detects the newly added content and marks it as div class="diffadded" |
void |
testHierarchyPanelOnPageInfo()
Check that the appropriate links are presented in the Hierarchy panel on the PageInfo view. |
void |
testInformationLinkInBreadcrumbs()
|
void |
testMoveHierarchyToDifferentSpaceDisplaysCorrectBreadcrumbs()
|
void |
testMovePageHieararchyWithDifferentCaseLinks()
|
void |
testMovePageHierarchy()
|
void |
testMovePagesWithinOneSpaceMovesChildren()
|
void |
testMovePageToDifferentSpaceAlsoMovesAttachements()
|
void |
testMovePageToDifferentSpaceWithUserProfileLink()
Move a page containing a link to a user profile to another space Make sure the user profile link does not have the space key added to it CONF-3994 |
void |
testMovePageToDifferentSpaceWithVariousLinks()
|
void |
testMovePageToSpaceWithNewParent()
|
void |
testRenameAttachment()
|
Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertImagePresent, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextPresent, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getImage, getMessage, getMessage, getPageSource, getServeurResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, runBare, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageOperationsAcceptanceTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
AbstractConfluenceAcceptanceTest
setUp
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public void testCreateAttachmentForUser()
public void testAttachmentCommentsAndVersioning()
public void testDiff() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testRenameAttachment() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void moveAttachment() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testMovePageHierarchy() throws java.lang.Exception
java.lang.Exception
public void testMovePageHieararchyWithDifferentCaseLinks() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testHierarchyPanelOnPageInfo() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testMovePageToDifferentSpaceWithUserProfileLink() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testMovePageToDifferentSpaceWithVariousLinks() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException, org.xml.sax.SAXException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
org.xml.sax.SAXException
public void testMovePageToDifferentSpaceAlsoMovesAttachements() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testMovePageToSpaceWithNewParent() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testCopyPage() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testCopyPageWithLabels() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testCopyPageWithImage() throws java.lang.Exception
java.lang.Exception
public void testCopyPageInSameSpaceWithNoEditSpacePermission() throws java.lang.Exception
java.lang.Exception
- if anything goes wrong.public void testMovePagesWithinOneSpaceMovesChildren() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testMoveHierarchyToDifferentSpaceDisplaysCorrectBreadcrumbs() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testInformationLinkInBreadcrumbs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |