public class

TestStorageRichTextLinkBodyUnmarshaller

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.content.render.xhtml.storage.link.TestStorageRichTextLinkBodyUnmarshaller

Summary

Public Constructors
TestStorageRichTextLinkBodyUnmarshaller()
Public Methods
void testDropAcElementWithBody()
void testDropAcElementWithoutBody()
void testEmbeddedImageOverridesAnyOtherLinkBody()
If an ac:image tag is found in the link body then it should be used as the body of the link and any other content ignored.
void testEntityReferencesPreservedWhenNonReplacing()
void testHandles()
void testImageBody()
void testMarkupInBody()
void testPredefinedEntityReferencesPreserved()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestStorageRichTextLinkBodyUnmarshaller ()

Public Methods

public void testDropAcElementWithBody ()

Throws
Exception

public void testDropAcElementWithoutBody ()

Throws
Exception

public void testEmbeddedImageOverridesAnyOtherLinkBody ()

If an ac:image tag is found in the link body then it should be used as the body of the link and any other content ignored. This same behaviour also ensures that we will ignore any insignificant white space within a link body containing an embedded image.

Throws
Exception

public void testEntityReferencesPreservedWhenNonReplacing ()

Throws
Exception

public void testHandles ()

Throws
Exception

public void testImageBody ()

Throws
Exception

public void testMarkupInBody ()

Throws
Exception

public void testPredefinedEntityReferencesPreserved ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception