com.atlassian.confluence.rest
Class RestAttachmentAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.it.rest.AbstractJUnit3RestAcceptanceTest
                  extended by com.atlassian.confluence.rest.RestAttachmentAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class RestAttachmentAcceptanceTest
extends AbstractJUnit3RestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractJUnit3RestAcceptanceTest
TEST_PAGE, TEST_SPACE
 
Constructor Summary
RestAttachmentAcceptanceTest()
           
 
Method Summary
protected  void setUp()
           
 void testAnonymousUserCanGetAllowedAttachment()
           
 void testAnonymousUserCanNotGetAttachment()
           
 void testAttachmentCorruptImageOnPage()
           
 void testAttachmentElementContent()
           
 void testAttachmentOnBlogs()
           
 void testAttachmentOnDrafts()
           
 void testAttachmentOnPage()
           
 void testInvalidAttachment()
           
 
Methods inherited from class com.atlassian.confluence.it.rest.AbstractJUnit3RestAcceptanceTest
baseUrl, configuredBaseUrl, createTestUser, restClient, rpc, serverState, tearDown, users
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestAttachmentAcceptanceTest

public RestAttachmentAcceptanceTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractJUnit3RestAcceptanceTest
Throws:
java.lang.Exception

testAttachmentOnPage

public void testAttachmentOnPage()

testAttachmentOnBlogs

public void testAttachmentOnBlogs()

testAttachmentOnDrafts

public void testAttachmentOnDrafts()

testAnonymousUserCanNotGetAttachment

public void testAnonymousUserCanNotGetAttachment()

testAnonymousUserCanGetAllowedAttachment

public void testAnonymousUserCanGetAllowedAttachment()

testInvalidAttachment

public void testInvalidAttachment()

testAttachmentElementContent

public void testAttachmentElementContent()
                                  throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

testAttachmentCorruptImageOnPage

public void testAttachmentCorruptImageOnPage()


Copyright © 2003-2014 Atlassian. All Rights Reserved.