public class

TestThumbnailInfo

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.pages.thumbnail.TestThumbnailInfo

Class Overview

This only tests the "new" implementation of ThumbnailInfo, not the implementation provided by the deprecated constructor ThumbnailInfo(Attachment, InputStream, String).

Summary

Public Constructors
TestThumbnailInfo()
Public Methods
void testGetThumbnailSize()
void testGetThumbnailSizeDoesNotExpandImage()
void testGetThumbnailSizeIsProportional()
void testGetUrlPath()
void testGetUrlPathWithEncoding()
void testGetUrlPathWithModificationDate()
void testGetUrlPathWithNull()
[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 TestThumbnailInfo ()

Public Methods

public void testGetThumbnailSize ()

Throws
Exception

public void testGetThumbnailSizeDoesNotExpandImage ()

Throws
Exception

public void testGetThumbnailSizeIsProportional ()

Throws
Exception

public void testGetUrlPath ()

public void testGetUrlPathWithEncoding ()

public void testGetUrlPathWithModificationDate ()

public void testGetUrlPathWithNull ()