|
||||||||||
| 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.multimedia.AbstractMultimediaMacroAcceptanceTest
public abstract class AbstractMultimediaMacroAcceptanceTest
| Field Summary | |
|---|---|
protected Space |
otherSpace
|
protected Attachment |
pageAttachment
|
protected Page |
testPage
|
| Constructor Summary | |
|---|---|
AbstractMultimediaMacroAcceptanceTest(String s)
|
|
| Method Summary | |
|---|---|
protected String |
generateWikiMarkup(Space space,
ContentEntity ce,
Attachment file,
String width,
String height)
|
protected abstract Attachment |
getAttachment(ContentEntity ce)
|
protected String |
getDefaultHeight()
|
protected String |
getDefaultWidth()
|
protected String |
getEmbeddedSelector(String expectedWidth,
String expectedHeight,
String resourceType)
|
protected abstract String |
getResourceType()
|
protected void |
setUp()
|
protected void |
tearDown()
Default tearDown method. |
void |
testBlogPostAttachmentInOtherSpace()
|
void |
testBlogPostAttachmentInSameSpace()
|
void |
testDifferentSpaceAttachment()
|
void |
testSamePageAttachment()
|
void |
testSameSpaceAttachment()
|
void |
testSpecificSize()
|
| 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 |
| Field Detail |
|---|
protected Page testPage
protected Space otherSpace
protected Attachment pageAttachment
| Constructor Detail |
|---|
public AbstractMultimediaMacroAcceptanceTest(String s)
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractConfluenceAcceptanceTestException
protected void tearDown()
throws Exception
AbstractConfluenceAcceptanceTestAbstractConfluenceAcceptanceTest.filesToDelete list.
tearDown in class AbstractConfluenceAcceptanceTestExceptionprotected abstract Attachment getAttachment(ContentEntity ce)
protected abstract String getResourceType()
public void testSamePageAttachment()
public void testSameSpaceAttachment()
public void testDifferentSpaceAttachment()
public void testBlogPostAttachmentInSameSpace()
public void testBlogPostAttachmentInOtherSpace()
public void testSpecificSize()
protected String getEmbeddedSelector(String expectedWidth,
String expectedHeight,
String resourceType)
protected String generateWikiMarkup(Space space,
ContentEntity ce,
Attachment file,
String width,
String height)
protected String getDefaultHeight()
protected String getDefaultWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||