public class

TestDefaultAttachedImageResourceMarshaller

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.content.render.xhtml.view.embed.TestDefaultAttachedImageResourceMarshaller

Class Overview

Tests the DefaultAttachedImageResourceMarshaller.

Summary

Public Constructors
TestDefaultAttachedImageResourceMarshaller()
Public Methods
void setUp()
void tearDown()
void testGifImageAttachmentRenderedAsImage()
void testMarshallAttachmentOnDraftOfOtherPageForDiff()
void testMarshallAttachmentOnDraftOfPageForDiff()
void testMarshallAttachmentOnHiddenPage()
void testMarshallAttachmentOnLatestVersion()
void testMarshallAttachmentOnLatestVersionOfOtherOfOtherPage()
void testMarshallAttachmentOnMissingPage()
void testMarshallAttachmentOnVisiblePage()
void testMarshallExplicitLocalAttachment()
void testMarshallImpliedLocalAttachment()
void testMarshallLocalAttachmentForDiff()
void testMarshallLocalAttachmentOnHistoryForDiff()
void testMarshallOtherPageAttachmentForDiff()
void testMarshallOtherPageAttachmentForHistoricDiff()
void testMarshallThumbnail()
void testMarshallUnfoundAttachment()
[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 TestDefaultAttachedImageResourceMarshaller ()

Public Methods

public void setUp ()

Throws
Exception

public void tearDown ()

Throws
Exception

public void testGifImageAttachmentRenderedAsImage ()

Throws
Exception

public void testMarshallAttachmentOnDraftOfOtherPageForDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnDraftOfPageForDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnHiddenPage ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnLatestVersion ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnLatestVersionOfOtherOfOtherPage ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnMissingPage ()

Throws
XMLStreamException
XhtmlException

public void testMarshallAttachmentOnVisiblePage ()

Throws
XMLStreamException
XhtmlException

public void testMarshallExplicitLocalAttachment ()

Throws
XMLStreamException
XhtmlException

public void testMarshallImpliedLocalAttachment ()

Throws
XMLStreamException
XhtmlException

public void testMarshallLocalAttachmentForDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallLocalAttachmentOnHistoryForDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallOtherPageAttachmentForDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallOtherPageAttachmentForHistoricDiff ()

Throws
XMLStreamException
XhtmlException

public void testMarshallThumbnail ()

public void testMarshallUnfoundAttachment ()

Throws
XMLStreamException
XhtmlException