public class

TestStorageEmbeddedImageMarshaller

extends XMLTestCase
java.lang.Object
   ↳ XMLTestCase
     ↳ com.atlassian.confluence.content.render.xhtml.storage.embed.TestStorageEmbeddedImageMarshaller

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

Fields
protected XhtmlCleaner xhtmlCleaner
Public Constructors
TestStorageEmbeddedImageMarshaller()
Public Methods
void testExternalResource()
void testLocalAttachmentResource()
void testMarshallingEmbeddedImageProperties()
void testMarshallingOfAlignProperty()
void testMarshallingOfBorderProperty()
void testMarshallingOfQueryParamsProperty()
void testMarshallingOfThumbnailProperty()
void testMarshallingOfTitle()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected XhtmlCleaner xhtmlCleaner

Public Constructors

public TestStorageEmbeddedImageMarshaller ()

Public Methods

public void testExternalResource ()

Throws
Exception

public void testLocalAttachmentResource ()

Throws
Exception

public void testMarshallingEmbeddedImageProperties ()

Throws
Exception

public void testMarshallingOfAlignProperty ()

Throws
Exception

public void testMarshallingOfBorderProperty ()

Throws
Exception

public void testMarshallingOfQueryParamsProperty ()

Throws
Exception

public void testMarshallingOfThumbnailProperty ()

Throws
Exception

public void testMarshallingOfTitle ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception