ConfluenceStatelessRestTestRunner
, or a
JUnit4-style test with its own set of fields as required.@Deprecated public abstract class AbstractRestAcceptanceTest extends com.atlassian.confluence.junit3.JUnit3TimingTestCase
Modifier and Type | Field and 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 - Use
TestCase.getName() in JUnit3 tests |
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.
|
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 and Description |
---|
AbstractRestAcceptanceTest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setUp()
Deprecated.
|
protected void |
tearDown()
Deprecated.
|
runBare, setExceptionTransformer
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
protected static final String SPACE_PATH
protected static final String CONTENT_PATH
protected static final String I18N_PATH
protected static final Space TEST_SPACE
protected static final Page TEST_PAGE
protected AcceptanceTestHelper testHelper
@Deprecated public org.junit.rules.TestName name
TestCase.getName()
in JUnit3 testsprotected ConfluenceRpc rpc
protected String baseUrl
protected com.sun.jersey.api.client.Client client
protected ServerStateManager serverStateManager
protected UserManagementHelper userHelper
@Deprecated protected com.sun.jersey.api.client.WebResource rootResource
Copyright © 2003–2017 Atlassian. All rights reserved.