|
||||||||||
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.multimedia.AbstractMultimediaMacroAcceptanceTest
public abstract class AbstractMultimediaMacroAcceptanceTest
Field Summary | |
---|---|
protected Space |
otherSpace
|
protected Attachment |
pageAttachment
|
protected Page |
testPage
|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
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 |
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 AbstractConfluenceAcceptanceTest
Exception
protected void tearDown() throws Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
Exception
protected 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 |