public class

AttachedImagesJsonAcceptanceTest

extends AbstractConfluenceAcceptanceTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ThreadLocalWebTestCase
         ↳ com.atlassian.confluence.AbstractAtlassianWebTestCase
           ↳ com.atlassian.confluence.AbstractConfluenceAcceptanceTest
             ↳ com.atlassian.confluence.AttachedImagesJsonAcceptanceTest

Class Overview

Acceptance test of the AttachedImagesAction used by the JS "Insert Image" dialog.

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
[Expand]
Inherited Fields
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
Public Constructors
AttachedImagesJsonAcceptanceTest()
Public Methods
void testDraftWithNoAttachments()
void testDraftWithOneImageAttachment()
void testImageDetailsForExistingAttachment()
Tests the case where image details weren't stored by event handling on attachment creation.
void testPageWithMixedAttachments()
void testPageWithNoAttachments()
void testPageWithOneImageAttachment()
Protected Methods
void setUp()
[Expand]
Inherited Methods
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
From class com.atlassian.confluence.ThreadLocalWebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public AttachedImagesJsonAcceptanceTest ()

Public Methods

public void testDraftWithNoAttachments ()

Throws
JSONException

public void testDraftWithOneImageAttachment ()

Throws
JSONException

public void testImageDetailsForExistingAttachment ()

Tests the case where image details weren't stored by event handling on attachment creation. This simulates the behaviour of images that existed before the image details functionality was introduced.

Throws
Exception

public void testPageWithMixedAttachments ()

Throws
JSONException

public void testPageWithNoAttachments ()

Throws
JSONException

public void testPageWithOneImageAttachment ()

Throws
JSONException

Protected Methods

protected void setUp ()

Throws
Exception