Package com.atlassian.confluence.it.rest
Class AbstractRestAcceptanceTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- com.atlassian.confluence.junit3.JUnit3TimingTestCase
-
- com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
-
- All Implemented Interfaces:
junit.framework.Test
@Deprecated public abstract class AbstractRestAcceptanceTest extends com.atlassian.confluence.junit3.JUnit3TimingTestCase
Deprecated.Usecom.atlassian.confluence.test.stateless.ConfluenceStatelessRestTestRunner
, or a JUnit4-style test with its own set of fields as required.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
baseUrl
Deprecated.protected com.sun.jersey.api.client.Client
client
Deprecated.protected static String
CONTENT_PATH
Deprecated.protected static String
I18N_PATH
Deprecated.org.junit.rules.TestName
name
Deprecated.Since 5.6 - UseTestCase.getName()
in JUnit3 testsprotected com.sun.jersey.api.client.WebResource
rootResource
Deprecated.since 5.6 This is hard-coded to use User.TEST.protected ConfluenceRpc
rpc
Deprecated.protected ServerStateManager
serverStateManager
Deprecated.protected static String
SPACE_PATH
Deprecated.protected static Page
TEST_PAGE
Deprecated.protected static Space
TEST_SPACE
Deprecated.protected AcceptanceTestHelper
testHelper
Deprecated.protected UserManagementHelper
userHelper
Deprecated.
-
Constructor Summary
Constructors Constructor Description AbstractRestAcceptanceTest()
Deprecated.
-
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
-
SPACE_PATH
protected static final String SPACE_PATH
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_PATH
protected static final String CONTENT_PATH
Deprecated.- See Also:
- Constant Field Values
-
I18N_PATH
protected static final String I18N_PATH
Deprecated.- See Also:
- Constant Field Values
-
TEST_SPACE
protected static Space TEST_SPACE
Deprecated.
-
TEST_PAGE
protected static Page TEST_PAGE
Deprecated.
-
testHelper
protected AcceptanceTestHelper testHelper
Deprecated.
-
name
@Deprecated public org.junit.rules.TestName name
Deprecated.Since 5.6 - UseTestCase.getName()
in JUnit3 tests
-
rpc
protected ConfluenceRpc rpc
Deprecated.
-
baseUrl
protected String baseUrl
Deprecated.
-
client
protected com.sun.jersey.api.client.Client client
Deprecated.
-
serverStateManager
protected ServerStateManager serverStateManager
Deprecated.
-
userHelper
protected UserManagementHelper userHelper
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.
-
-