public class

TestStorageLinkBodyMarshaller

extends XMLTestCase
java.lang.Object
   ↳ XMLTestCase
     ↳ com.atlassian.confluence.content.render.xhtml.storage.link.TestStorageLinkBodyMarshaller

Class Overview

Note that a second test has been added to each of the test methods in this class ensuring that the storage format that is marshaled to passes AntiSamy successfully. This overloading of the tests is done to reduce the number of places you may need to change test data should we change the storage format in development.

Summary

Public Constructors
TestStorageLinkBodyMarshaller()
Public Methods
void tearDown()
void testMarshalEmbeddedImage()
void testNullOrEmptyBody()
void testPlainTextBodyEncoded()
void testRichTextBodyBody()
Protected Methods
void setUp()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TestStorageLinkBodyMarshaller ()

Public Methods

public void tearDown ()

Throws
Exception

public void testMarshalEmbeddedImage ()

Throws
Exception

public void testNullOrEmptyBody ()

Throws
Exception

public void testPlainTextBodyEncoded ()

Throws
Exception

public void testRichTextBodyBody ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception