com.atlassian.confluence.links
Class WikiMarkupLinkAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.AbstractConfluenceAcceptanceTest
                  extended by com.atlassian.confluence.links.WikiMarkupLinkAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class WikiMarkupLinkAcceptanceTest
extends AbstractConfluenceAcceptanceTest

https://jira.atlassian.com/browse/CONF-33319.


Field Summary
 
Fields inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
DASHBOARD_RECENT_UPDATES_URL, logAdjuster, rpc, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, webTester, wikiMarkupRpc
 
Constructor Summary
WikiMarkupLinkAcceptanceTest()
           
 
Method Summary
protected  Attachment getAttachment(ContentEntity ce, String attachmentName)
           
 void testABlogpost()
           
 void testABlogpostForWholeDay()
           
 void testABlogpostForWholeDayInASpace()
           
 void testABlogpostInOtherSpace()
           
 void testABlogpostTitleHasMacro()
           
 void testALinkToAFileAttached()
           
 void testALinkToPageTitle()
           
 void testALinkToPageTitleHasMacro()
           
 void testAnAnchorOnAPageInOtherSpace()
           
 void testAnAnchorOnOtherPage()
           
 void testAnAttachmentOnOtherPage()
           
 void testAnAttachmentOnOtherPageInOtherSpace()
           
 void testAnchorLink()
           
 void testAnchorLinkHasMacro()
           
 void testAnchorTitleLinkHasMacro()
           
 void testAPageInOtherSpace()
           
 void testASpace()
           
 void testAttachmentLink()
           
 void testAttachmentLinkHasMacro()
           
 void testAttachmentTitleLinkHasMacro()
           
 void testFileSystemHasMacro()
           
 void testFileSystemLink()
           
 void testFileSystemLinkHasMacro()
           
 void testFileSystemTitleLinkHasMacro()
           
 void testLinkTipsHasMacro()
           
 void testMailToLink()
           
 void testMailToTitleLinkHasMacro()
           
 void testPageHasManyWikiLinks()
           
 void testUsermentionBodyLinkHasMacro()
           
 void testUsermentionLink()
           
 void testUsermentionTitleLinkHasMacro()
           
 void testWikiLinkContent()
           
 void testWikiLinkContentBodyHasMacro()
           
 void testWikiLinkContentHasHalfMacro()
           
 void testWikiLinkContentHasMacro()
           
 void testWikiLinkContentHasMorePipe()
           
 void testWikiLinkContentTitleHasHalfMacro()
           
 void testWikiLinkContentTitleHasMacro()
           
 
Methods inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
adminConsole, attachments, baseUrlSelector, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, goToBlogCollector, logins, logout, pages, plugins, rebuildIndex, setUp, setUpTestNG, substituteForNodeBaseUrl, tearDown, tearDownTestNG, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPath
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
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

WikiMarkupLinkAcceptanceTest

public WikiMarkupLinkAcceptanceTest()
Method Detail

getAttachment

protected Attachment getAttachment(ContentEntity ce,
                                   String attachmentName)

testWikiLinkContent

public void testWikiLinkContent()
                         throws IOException
Throws:
IOException

testWikiLinkContentHasMorePipe

public void testWikiLinkContentHasMorePipe()
                                    throws IOException
Throws:
IOException

testWikiLinkContentBodyHasMacro

public void testWikiLinkContentBodyHasMacro()
                                     throws IOException
Throws:
IOException

testWikiLinkContentTitleHasMacro

public void testWikiLinkContentTitleHasMacro()
                                      throws IOException
Throws:
IOException

testPageHasManyWikiLinks

public void testPageHasManyWikiLinks()
                              throws IOException
Throws:
IOException

testWikiLinkContentTitleHasHalfMacro

public void testWikiLinkContentTitleHasHalfMacro()
                                          throws IOException
Throws:
IOException

testWikiLinkContentHasHalfMacro

public void testWikiLinkContentHasHalfMacro()
                                     throws IOException
Throws:
IOException

testLinkTipsHasMacro

public void testLinkTipsHasMacro()
                          throws IOException
Throws:
IOException

testWikiLinkContentHasMacro

public void testWikiLinkContentHasMacro()
                                 throws IOException
Throws:
IOException

testAnchorLink

public void testAnchorLink()
                    throws IOException
Throws:
IOException

testAnchorLinkHasMacro

public void testAnchorLinkHasMacro()
                            throws IOException
Throws:
IOException

testAnchorTitleLinkHasMacro

public void testAnchorTitleLinkHasMacro()
                                 throws IOException
Throws:
IOException

testALinkToAFileAttached

public void testALinkToAFileAttached()
                              throws IOException
Throws:
IOException

testALinkToPageTitle

public void testALinkToPageTitle()
                          throws IOException
Throws:
IOException

testALinkToPageTitleHasMacro

public void testALinkToPageTitleHasMacro()
                                  throws IOException
Throws:
IOException

testAnAnchorOnOtherPage

public void testAnAnchorOnOtherPage()
                             throws IOException
Throws:
IOException

testAnAttachmentOnOtherPage

public void testAnAttachmentOnOtherPage()
                                 throws IOException
Throws:
IOException

testAPageInOtherSpace

public void testAPageInOtherSpace()
                           throws IOException
Throws:
IOException

testAnAnchorOnAPageInOtherSpace

public void testAnAnchorOnAPageInOtherSpace()
                                     throws IOException
Throws:
IOException

testAnAttachmentOnOtherPageInOtherSpace

public void testAnAttachmentOnOtherPageInOtherSpace()
                                             throws IOException
Throws:
IOException

testABlogpost

public void testABlogpost()
                   throws IOException
Throws:
IOException

testABlogpostTitleHasMacro

public void testABlogpostTitleHasMacro()
                                throws IOException
Throws:
IOException

testABlogpostInOtherSpace

public void testABlogpostInOtherSpace()
                               throws IOException
Throws:
IOException

testABlogpostForWholeDay

public void testABlogpostForWholeDay()
                              throws IOException
Throws:
IOException

testABlogpostForWholeDayInASpace

public void testABlogpostForWholeDayInASpace()
                                      throws IOException
Throws:
IOException

testASpace

public void testASpace()
                throws IOException
Throws:
IOException

testAttachmentLink

public void testAttachmentLink()
                        throws IOException
Throws:
IOException

testAttachmentTitleLinkHasMacro

public void testAttachmentTitleLinkHasMacro()
                                     throws IOException
Throws:
IOException

testAttachmentLinkHasMacro

public void testAttachmentLinkHasMacro()
                                throws IOException
Throws:
IOException

testMailToLink

public void testMailToLink()
                    throws IOException
Throws:
IOException

testMailToTitleLinkHasMacro

public void testMailToTitleLinkHasMacro()
                                 throws IOException
Throws:
IOException

testFileSystemLink

public void testFileSystemLink()
                        throws IOException
Throws:
IOException

testFileSystemTitleLinkHasMacro

public void testFileSystemTitleLinkHasMacro()
                                     throws IOException
Throws:
IOException

testFileSystemLinkHasMacro

public void testFileSystemLinkHasMacro()
                                throws IOException
Throws:
IOException

testFileSystemHasMacro

public void testFileSystemHasMacro()
                            throws IOException
Throws:
IOException

testUsermentionLink

public void testUsermentionLink()
                         throws IOException
Throws:
IOException

testUsermentionTitleLinkHasMacro

public void testUsermentionTitleLinkHasMacro()
                                      throws IOException
Throws:
IOException

testUsermentionBodyLinkHasMacro

public void testUsermentionBodyLinkHasMacro()
                                     throws IOException
Throws:
IOException


Copyright © 2003–2015 Atlassian. All rights reserved.