public class

IntegrationTestWikiToXhtmlMigration

extends AbstractConfluenceSingleContextSpringPersistenceTest
java.lang.Object
   ↳ AbstractTransactionalDataSourceSpringContextTests
     ↳ com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
       ↳ com.atlassian.integrationtest.confluence.content.render.xhtml.IntegrationTestWikiToXhtmlMigration

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
Public Constructors
IntegrationTestWikiToXhtmlMigration()
Public Methods
void testEmbedImageOnAnotherBlogPost()
void testEmbedImageOnAnotherPage()
void testEmbeddedExternalImage()
void testEmbeddedImageReferenceConvertedToRelative()
void testHeader()
void testIdLinkToContextPage()
void testIdLinkToNonContextPage()
void testInlineBlockBodyMacroAfterLineBreak1()
void testInlineBlockBodyMacroAfterLineBreak2()
void testInlineBlockBodyMacroAfterParagraph()
void testInlineBlockBodyMacroAtEnd()
void testInlineBlockBodyMacroAtEndOfParagraph()
void testInlineBlockBodyMacroAtStart()
void testInlineBlockBodyMacroAtStartOfParagraph()
void testInlineBlockBodyMacroWithSurroundingSpace()
void testLinkExternalUrl()
void testLinkExternalUrlWithNonHttpScheme()
void testLinkInBodyMacro()
void testLinkWithEmbeddedImage()
void testLinkWithFormattedText()
void testLinkWithInlineMacroInBody()
void testLinkWithUrlImage()
void testMigrateBlockBodyMacroWithoutUpgrade()
void testMigrateBlockMacroWithNestedMacro()
void testMigrateBodylessUserMacro()
void testMigrateCamelCaseLink()
void testMigrateEmptyBlockBodyMacroWithoutUpgrade()
void testMigrateInlineBlockBodyMacroWhereOpenAndClosingMacroTagsAdjoinAnotherMacroTag()
e.g.
void testMigrateInlineBlockBodyMacroWithoutUpgrade()
void testMigrateInlineBodyMacroWithoutUpgrade()
void testMigrateInlineMacroWithNestedMacro()
void testMigrateUnknownMacro()
Whole block of wiki markup that contains the macro should be wrapped in unmigrated-wiki-markup macro.
void testMigrateUserMacroWithBodyTypeRendered()
void testMigrateUserMacroWithNestedMacro()
Since all user macros are inline (see getOutputType() - the occurence of any macro in the body will cause the user macro to be migrated as an unmigrated inline wiki markup macro.
void testPageLink()
void testPageLinkNoAlias()
void testRelativeAttachmentLink()
void testRelativeEmbeddedBlogPostImage()
void testRelativeEmbeddedPageImage()
void testShortcutLink()
void testSoloAnchorInContextOfPage()
void testSoloAnchorToNonContextPage()
void testSoloInlineBlockBodyMacro()
void testTableMigration()
void testTablesWithExtendedEntityContent()
This test is used to confirm assumptions about the input expected in TestTableBlockRendererWrapper#testExtendedEntitiesRemainUnchanged().
void testTablesWithPredefinedEntityContent()
This test is used to confirm assumptions about the input expected in TestTableBlockRendererWrapper#testPredefinedEntitiesRemainUnchanged().
void testUnconvertedLink()
void testUrlLink()
void testUserProfileLink()
void testWeirdLinkText()
Test for CONFDEV-998 to narrow down where the problem is.
Protected Methods
void onSetUp()
void onTearDown()
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.AbstractConfluenceSingleContextSpringPersistenceTest
From class java.lang.Object

Public Constructors

public IntegrationTestWikiToXhtmlMigration ()

Public Methods

public void testEmbedImageOnAnotherBlogPost ()

Throws
Exception

public void testEmbedImageOnAnotherPage ()

Throws
Exception

public void testEmbeddedExternalImage ()

Throws
Exception

public void testEmbeddedImageReferenceConvertedToRelative ()

Throws
Exception

public void testHeader ()

Throws
Exception

public void testIdLinkToContextPage ()

Throws
Exception

public void testIdLinkToNonContextPage ()

Throws
Exception

public void testInlineBlockBodyMacroAfterLineBreak1 ()

Throws
Exception

public void testInlineBlockBodyMacroAfterLineBreak2 ()

Throws
Exception

public void testInlineBlockBodyMacroAfterParagraph ()

Throws
Exception

public void testInlineBlockBodyMacroAtEnd ()

Throws
Exception

public void testInlineBlockBodyMacroAtEndOfParagraph ()

Throws
Exception

public void testInlineBlockBodyMacroAtStart ()

Throws
Exception

public void testInlineBlockBodyMacroAtStartOfParagraph ()

Throws
Exception

public void testInlineBlockBodyMacroWithSurroundingSpace ()

Throws
Exception

public void testLinkExternalUrl ()

Throws
Exception

public void testLinkExternalUrlWithNonHttpScheme ()

Throws
Exception

public void testLinkInBodyMacro ()

Throws
Exception

public void testLinkWithEmbeddedImage ()

Throws
Exception

public void testLinkWithFormattedText ()

Throws
Exception

public void testLinkWithInlineMacroInBody ()

Throws
Exception

public void testLinkWithUrlImage ()

Throws
Exception

public void testMigrateBlockBodyMacroWithoutUpgrade ()

Throws
Exception

public void testMigrateBlockMacroWithNestedMacro ()

Throws
Exception

public void testMigrateBodylessUserMacro ()

Throws
Exception

public void testMigrateCamelCaseLink ()

Throws
Exception

public void testMigrateEmptyBlockBodyMacroWithoutUpgrade ()

Throws
Exception

public void testMigrateInlineBlockBodyMacroWhereOpenAndClosingMacroTagsAdjoinAnotherMacroTag ()

e.g. {foo}{bar}\ncheese\n{bar}{foo}

Throws
Exception

public void testMigrateInlineBlockBodyMacroWithoutUpgrade ()

Throws
Exception

public void testMigrateInlineBodyMacroWithoutUpgrade ()

Throws
Exception

public void testMigrateInlineMacroWithNestedMacro ()

Throws
Exception

public void testMigrateUnknownMacro ()

Whole block of wiki markup that contains the macro should be wrapped in unmigrated-wiki-markup macro. An unknown macro makes parsing beyond the macro difficult because we do not know whether to parse what comes after as the macro body or otherwise.

Throws
Exception

public void testMigrateUserMacroWithBodyTypeRendered ()

Throws
Exception

public void testMigrateUserMacroWithNestedMacro ()

Since all user macros are inline (see getOutputType() - the occurence of any macro in the body will cause the user macro to be migrated as an unmigrated inline wiki markup macro.

Throws
Exception

public void testPageLink ()

Throws
Exception

public void testPageLinkNoAlias ()

Throws
Exception

public void testRelativeAttachmentLink ()

Throws
Exception

public void testRelativeEmbeddedBlogPostImage ()

Throws
Exception

public void testRelativeEmbeddedPageImage ()

Throws
Exception

public void testShortcutLink ()

Throws
Exception

public void testSoloAnchorInContextOfPage ()

Throws
Exception

public void testSoloAnchorToNonContextPage ()

Throws
Exception

public void testSoloInlineBlockBodyMacro ()

Throws
Exception

public void testTableMigration ()

Throws
Exception

public void testTablesWithExtendedEntityContent ()

This test is used to confirm assumptions about the input expected in TestTableBlockRendererWrapper#testExtendedEntitiesRemainUnchanged().

Throws
Exception

public void testTablesWithPredefinedEntityContent ()

This test is used to confirm assumptions about the input expected in TestTableBlockRendererWrapper#testPredefinedEntitiesRemainUnchanged().

Throws
Exception

public void testUnconvertedLink ()

Throws
Exception

public void testUrlLink ()

Throws
Exception

public void testUserProfileLink ()

Throws
Exception

public void testWeirdLinkText ()

Test for CONFDEV-998 to narrow down where the problem is.

Throws
Exception

Protected Methods

protected void onSetUp ()

Throws
Exception

protected void onTearDown ()

Throws
Exception