|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.ThreadLocalWebTestCase
com.atlassian.confluence.AbstractAtlassianWebTestCase
com.atlassian.confluence.AbstractConfluenceAcceptanceTest
com.atlassian.confluence.AttachedImagesJsonAcceptanceTest
public class AttachedImagesJsonAcceptanceTest
Acceptance test of the AttachedImagesAction used by the JS "Insert Image" dialog.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AttachedImagesJsonAcceptanceTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
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()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttachedImagesJsonAcceptanceTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractConfluenceAcceptanceTestException
public void testPageWithNoAttachments()
throws JSONException
JSONException
public void testPageWithOneImageAttachment()
throws JSONException
JSONException
public void testPageWithMixedAttachments()
throws JSONException
JSONException
public void testImageDetailsForExistingAttachment()
throws Exception
Exception
public void testDraftWithNoAttachments()
throws JSONException
JSONException
public void testDraftWithOneImageAttachment()
throws JSONException
JSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||