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.AbstractRestAcceptanceTest
                  extended by com.atlassian.confluence.rest.RestAttachmentAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class RestAttachmentAcceptanceTest
extends AbstractRestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
baseUrl, client, I18N_PATH, name, rootResource, rpc, serverStateManager, SPACE_PATH, TEST_PAGE, TEST_SPACE, testHelper, 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.it.rest.AbstractRestAcceptanceTest
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
 
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 AbstractRestAcceptanceTest
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


Copyright © 2003-2014 Atlassian. All Rights Reserved.