Class AbstractRestAcceptanceTest

  • All Implemented Interfaces:
    junit.framework.Test

    @Deprecated
    public abstract class AbstractRestAcceptanceTest
    extends com.atlassian.confluence.junit3.JUnit3TimingTestCase
    Deprecated.
    Use com.atlassian.confluence.test.stateless.ConfluenceStatelessRestTestRunner, or a JUnit4-style test with its own set of fields as required.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void setUp()
      Deprecated.
       
      protected void tearDown()
      Deprecated.
       
      • Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase

        runBare, setExceptionTransformer
      • Methods inherited from class junit.framework.TestCase

        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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
    • Field Detail

      • TEST_SPACE

        protected static Space TEST_SPACE
        Deprecated.
      • TEST_PAGE

        protected static Page TEST_PAGE
        Deprecated.
      • name

        @Deprecated
        public org.junit.rules.TestName name
        Deprecated.
        Since 5.6 - Use TestCase.getName() in JUnit3 tests
      • baseUrl

        protected String baseUrl
        Deprecated.
      • client

        protected com.sun.jersey.api.client.Client client
        Deprecated.
      • rootResource

        @Deprecated
        protected com.sun.jersey.api.client.WebResource rootResource
        Deprecated.
        since 5.6 This is hard-coded to use User.TEST. Create your own with the appropriate user.
    • Constructor Detail

      • AbstractRestAcceptanceTest

        public AbstractRestAcceptanceTest()
        Deprecated.
    • Method Detail

      • setUp

        protected void setUp()
                      throws Exception
        Deprecated.
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        Exception
      • tearDown

        protected void tearDown()
                         throws Exception
        Deprecated.
        Overrides:
        tearDown in class junit.framework.TestCase
        Throws:
        Exception