public class

LinkTypeAcceptanceTest

extends AbstractConfluenceAcceptanceTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ThreadLocalWebTestCase
         ↳ com.atlassian.confluence.AbstractAtlassianWebTestCase
           ↳ com.atlassian.confluence.AbstractConfluenceAcceptanceTest
             ↳ com.atlassian.confluence.LinkTypeAcceptanceTest

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
[Expand]
Inherited Fields
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
Public Constructors
LinkTypeAcceptanceTest()
Public Methods
void testAttachmentLink()
void testAttachmentLinkInBlogPost()
void testAttachmentLinkInBlogPostToPage()
void testAttachmentLinkInBlogPostToPageInDifferentSpace()
void testAttachmentLinkInComment()
void testAttachmentLinkOnCurrentPage()
void testAttachmentLinkToNonexistentAttachment()
void testAttachmentLinkToUnpermittedPage()
void testAttachmentLinkToUnpermittedSpace()
void testBlogPostAttachmentLinks()
void testBlogPostLink()
void testBlogPostLinkToNonexistentPost()
void testBlogPostLinkToUnpermittedSpace()
void testContentLink()
void testContentLinkToNonexistentMail()
void testContentLinkToUnpermittedSpace()
void testExternalLink()
void testExternalLinkToNonexistentDomain()
void testFileShortcutLink()
void testNewShortcutLink()
void testPageAnchorLink()
void testPageAnchorLinkOnCurrentPage()
void testPageAnchorLinkToNonexistentAnchor()
void testPageLink()
void testPageLinkToNonexistentSpaceAsAdminUser()
void testPageLinkToUnpermittedSpace()
void testPageLinkWithCustomTitle()
void testPageLinkWithUppercaseOmega()
test for CONF-7815
void testShortcutLink()
void testShortcutLinkToNonexistentShortcut()
void testShortcutLinksEncoding()
void testSpaceKeyLink()
void testSpaceKeyLinkToNonexistentPageOnSpaceAsAdminUser()
void testSpaceKeyLinkToNonexistentPageOnSpaceAsNormalUser()
void testSpaceKeyLinkToNonexistentSpace()
void testSpaceKeyLinkToPageOnNonexistentSpace()
void testSpaceKeyLinkToUnpermittedSpace()
void testUrlLinkWithNonHardcodedProtocol()
void testUserProfileLink()
void testUserProfileLinkToNonexistentUser()
void testUserProfileLinkWithUTF8Characters()
Protected Methods
void setUp()
void tearDown()
Default tearDown method.
[Expand]
Inherited Methods
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
From class com.atlassian.confluence.ThreadLocalWebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public LinkTypeAcceptanceTest ()

Public Methods

public void testAttachmentLink ()

Throws
Exception

public void testAttachmentLinkInBlogPost ()

Throws
Exception

public void testAttachmentLinkInBlogPostToPage ()

Throws
Exception

public void testAttachmentLinkInBlogPostToPageInDifferentSpace ()

Throws
Exception

public void testAttachmentLinkInComment ()

public void testAttachmentLinkOnCurrentPage ()

public void testAttachmentLinkToNonexistentAttachment ()

public void testAttachmentLinkToUnpermittedPage ()

Throws
Exception

public void testAttachmentLinkToUnpermittedSpace ()

Throws
Exception

public void testBlogPostAttachmentLinks ()

Throws
Exception

public void testBlogPostLink ()

Throws
Exception

public void testBlogPostLinkToNonexistentPost ()

Throws
Exception

public void testBlogPostLinkToUnpermittedSpace ()

Throws
Exception

public void testContentLink ()

Throws
Exception

public void testContentLinkToNonexistentMail ()

Throws
Exception

public void testContentLinkToUnpermittedSpace ()

Throws
Exception

public void testExternalLink ()

public void testExternalLinkToNonexistentDomain ()

public void testFileShortcutLink ()

public void testNewShortcutLink ()

public void testPageAnchorLink ()

Throws
Exception

public void testPageAnchorLinkOnCurrentPage ()

public void testPageAnchorLinkToNonexistentAnchor ()

Throws
Exception

public void testPageLink ()

Throws
Exception

public void testPageLinkToNonexistentSpaceAsAdminUser ()

public void testPageLinkToUnpermittedSpace ()

Throws
Exception

public void testPageLinkWithCustomTitle ()

Throws
Exception

public void testPageLinkWithUppercaseOmega ()

test for CONF-7815

Throws
Exception

public void testShortcutLink ()

public void testShortcutLinkToNonexistentShortcut ()

public void testShortcutLinksEncoding ()

public void testSpaceKeyLink ()

public void testSpaceKeyLinkToNonexistentPageOnSpaceAsAdminUser ()

Throws
Exception

public void testSpaceKeyLinkToNonexistentPageOnSpaceAsNormalUser ()

Throws
Exception

public void testSpaceKeyLinkToNonexistentSpace ()

public void testSpaceKeyLinkToPageOnNonexistentSpace ()

public void testSpaceKeyLinkToUnpermittedSpace ()

Throws
Exception

public void testUrlLinkWithNonHardcodedProtocol ()

Throws
Exception

public void testUserProfileLink ()

Throws
Exception

public void testUserProfileLinkToNonexistentUser ()

public void testUserProfileLinkWithUTF8Characters ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Default tearDown method. Removes any files which were added to the filesToDelete list.

Throws
Exception