|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.AttachmentAcceptanceTest
public class AttachmentAcceptanceTest
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 | |
---|---|
AttachmentAcceptanceTest()
|
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 AttachmentAcceptanceTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
protected void tearDown() throws java.lang.Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public void testAttachmentProperlyAttributedOnDashboard() throws java.lang.Exception
java.lang.Exception
public void testAttachmentIconAndCountDisplayedAsPageMetaData() throws java.lang.Exception
java.lang.Exception
public void testAddAttachmentWithCaptchaEnabledAndWrongCaptcha()
public void testMaxAttachmentSizeRespected()
public void testAttachMultipleFiles()
public void testAttachFileWithInvalidCharacters()
public void testAttachmentWithSimilarNameButDifferentCaseIsAddedAsHistoricalVersion()
public void testRemoveAttachmentAndAllPreviousVersions()
public void testFilterByFileExtension()
public void testFilterByFileExtensionWithPagination()
public void testFilterByDifferentCasedFileExtension()
public void testListSpaceAttachmentsMoreThanMaxResults() throws java.lang.Exception
java.lang.Exception
public void testDownloadAllAttachmentsOnPageLink() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void testDownloadSingleAttachment() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public void testDownloadAllAttachments()
public void testDownloadAllAttachmentsAsAnonymousUser() throws java.lang.Exception
java.lang.Exception
public void testDownloadAttachmentWithSpacesHasCorrectHeadersForIe() throws java.io.IOException
java.io.IOException
public void testFileNameIsRequired()
public void testMoveFileToAnotherPage()
public void testCannotMoveFileToAnotherPageThatDoesNotExist()
public void testMoveAttachmentToAnotherPageAndBack()
public void testMoveFileToAnotherSpace()
public void testNotAbleToRenameFileToExistingFileNameInOtherSpace()
public void testNotAbleToRenameFileToEmptyFileNameInOtherSpace()
public void testNotAbleToRenameFileToExistingFileName()
public void testMovingAttachmentUpdatesLinksOnOriginalOwner() throws java.lang.Exception
Exception,
- because it's a test.
java.lang.Exception
public void testMovingAttachmentSimplifiesLinksInNewOwner() throws java.lang.Exception
Exception,
- because it's a test.
java.lang.Exception
public void testMovingAttachmentUpdatesLinksWithPagePrefix() throws java.lang.Exception
Exception,
- because it's a test.
java.lang.Exception
public void testMovingAttachmentDoesNotUpdateLinksWithoutAttachments() throws java.lang.Exception
java.lang.Exception
public void testMovingAttachmentDoesNotBreakLinkToOtherAttachmentsWithSameName() throws java.lang.Exception
Exception,
- because it's a test.
java.lang.Exception
public void testLargeAttachmentNotTruncated() throws java.lang.Exception
java.lang.Exception
public void testHtmlAttachmentsAreNotServedInline()
public void testAttachmentVersioning() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void testInvalidDownloadUrlReturnsFourOhFour() throws java.lang.Exception
java.lang.Exception
public void testUploaderOfNewAttachmentVersionIsAcknowledgedAsCreator()
public void testCommenterOnAttachmentIsRecordedAsLastModifier()
public void testPersonMakingChangeToMetaAttachmentDataIsRecordedAsLastModifierEvenIfTheyAreCreator()
public void testRemoveCommentOnAttachment()
public void testPersonPerformingAttachmentMoveIsRecordedAsLastModifier()
public void testMovingAttachmentToPageWithoutViewPermissions()
public void testMoveAttachmentToUnpermittedPage()
public void testAttachmentAuthorshipPreservedOnAttachmentMoveAndComment() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |