@Deprecated public class AcceptanceTestHelper extends Object
Modifier and Type | Field and Description |
---|---|
static Page |
TEST_PAGE
Deprecated.
|
static Space |
TEST_SPACE
Deprecated.
|
Constructor and Description |
---|
AcceptanceTestHelper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
User |
createTestUser()
Deprecated.
|
String |
getBaseUrl()
Deprecated.
|
com.sun.jersey.api.client.Client |
getClient()
Deprecated.
since 5.6 Use
getRestClient() |
String |
getConfiguredBaseUrl()
Deprecated.
|
protected static String |
getPropertyValue(String k,
String v,
Properties p)
Deprecated.
Retrieves a property value, replacing values like ${token} using the Properties to look them up.
|
com.sun.jersey.api.client.WebResource |
getResource(String uri,
User user)
Deprecated.
|
com.sun.jersey.api.client.Client |
getRestClient()
Deprecated.
|
ConfluenceRpc |
getRpc()
Deprecated.
|
ServerStateManager |
getServerStateManager()
Deprecated.
|
static File |
getTempDirectory()
Deprecated.
|
static File |
getTempFileDir()
Deprecated.
|
TestData |
getTestData()
Deprecated.
|
UserManagementHelper |
getUserHelper()
Deprecated.
|
net.sourceforge.jwebunit.junit.WebTester |
getWebTester()
Deprecated.
|
static Properties |
loadProperties(String fileName)
Deprecated.
|
static AcceptanceTestHelper |
make()
Deprecated.
since 5.6. Use
make(boolean) to explicitly specify whether User.TEST should be auto-created. |
static AcceptanceTestHelper |
make(boolean autoCreateUsers)
Deprecated.
|
void |
setUp(Class testClass,
String testName)
Deprecated.
|
void |
setUp(Class testClass,
String testName,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated.
|
void |
setUp(Class testClass,
String testName,
net.sourceforge.jwebunit.junit.WebTester webTester,
com.sun.jersey.api.client.Client restClient)
Deprecated.
|
void |
setUp(Class testClass,
org.junit.rules.TestName testName)
Deprecated.
|
void |
setUp(Class testClass,
org.junit.rules.TestName testName,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated.
|
void |
setUp(Class testClass,
org.junit.rules.TestName testName,
net.sourceforge.jwebunit.junit.WebTester webTester,
com.sun.jersey.api.client.Client restClient)
Deprecated.
|
void |
tearDown()
Deprecated.
|
public static final Space TEST_SPACE
public static final Page TEST_PAGE
@Deprecated public AcceptanceTestHelper()
make(boolean)
public void setUp(Class testClass, org.junit.rules.TestName testName) throws Exception
Exception
public void setUp(Class testClass, String testName) throws Exception
Exception
public void setUp(Class testClass, org.junit.rules.TestName testName, net.sourceforge.jwebunit.junit.WebTester webTester, com.sun.jersey.api.client.Client restClient) throws IOException
IOException
public void setUp(Class testClass, String testName, net.sourceforge.jwebunit.junit.WebTester webTester, com.sun.jersey.api.client.Client restClient) throws IOException
IOException
public void setUp(Class testClass, String testName, net.sourceforge.jwebunit.junit.WebTester webTester) throws IOException
IOException
public void setUp(Class testClass, org.junit.rules.TestName testName, net.sourceforge.jwebunit.junit.WebTester webTester) throws IOException
IOException
public net.sourceforge.jwebunit.junit.WebTester getWebTester()
public ConfluenceRpc getRpc()
public TestData getTestData()
@Deprecated public com.sun.jersey.api.client.Client getClient()
getRestClient()
public com.sun.jersey.api.client.Client getRestClient()
public ServerStateManager getServerStateManager()
public static File getTempFileDir()
public static File getTempDirectory()
public UserManagementHelper getUserHelper()
public static Properties loadProperties(String fileName)
protected static String getPropertyValue(String k, String v, Properties p)
public com.sun.jersey.api.client.WebResource getResource(String uri, User user)
@Deprecated public static AcceptanceTestHelper make()
make(boolean)
to explicitly specify whether User.TEST should be auto-created.public static AcceptanceTestHelper make(boolean autoCreateUsers)
public String getBaseUrl()
public String getConfiguredBaseUrl()
public User createTestUser()
Copyright © 2003–2015 Atlassian. All rights reserved.