|
||||||||||
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.junit3.JUnit3TimingTestCase com.atlassian.confluence.rest.AbstractRestAcceptanceTest com.atlassian.confluence.rest.RestAttachmentAcceptanceTest
public class RestAttachmentAcceptanceTest
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest |
---|
adminRootResource, baseUrl, client, loginHelper, propertiesManager, rootResource, rpc, serverStateManager, testData, userHelper |
Constructor Summary | |
---|---|
RestAttachmentAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testAnonymousUserCanGetAllowedAttachment()
|
void |
testAnonymousUserCanNotGetAttachment()
|
void |
testAttachmentElementContent()
|
void |
testAttachmentOnBlogs()
|
void |
testAttachmentOnDrafts()
|
void |
testAttachmentOnPage()
|
void |
testInvalidAttachment()
|
Methods inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest |
---|
assertLink, doGet, doGet, doPost, doPut, expand, expandWithIndexes, getContentWithId, getResource, getRootResource, getTester, tearDown |
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
---|
runBare, setExceptionTransformer |
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 RestAttachmentAcceptanceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractRestAcceptanceTest
Exception
public void testAttachmentOnPage()
public void testAttachmentOnBlogs()
public void testAttachmentOnDrafts()
public void testAnonymousUserCanNotGetAttachment()
public void testAnonymousUserCanGetAllowedAttachment()
public void testInvalidAttachment()
public void testAttachmentElementContent() throws URISyntaxException
URISyntaxException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |