|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class AttachedImagesJsonAcceptanceTest
Acceptance test of the AttachedImagesAction
used by the JS "Insert Image" dialog.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
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 |
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 java.lang.Exception
setUp
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public void testPageWithNoAttachments() throws JSONException
JSONException
public void testPageWithOneImageAttachment() throws JSONException
JSONException
public void testPageWithMixedAttachments() throws JSONException
JSONException
public void testImageDetailsForExistingAttachment() throws java.lang.Exception
java.lang.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 |