public class AbstractTests extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LANGUAGE_DEFAULT |
protected static String |
LANGUAGE_ENGLISH |
protected static String |
LANGUAGE_RUSSIAN |
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
AbstractTests() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T extends AppendToResponseMethod> |
appendToResponseBuilder(Class<T> methodClass)
Build up a full list of the AppendToResponse methods into a string for
use in the URL
|
protected static void |
doConfiguration()
Do the initial configuration for the test cases
|
protected static int |
getAccountId()
Get the Account information
|
protected static String |
getApiKey()
Get the API Key
|
protected static String |
getGuestSession()
Get the Guest Session ID
|
protected static org.apache.http.client.HttpClient |
getHttpClient()
get the Http Client
|
protected static HttpTools |
getHttpTools()
Get the Http Tools
|
protected static String |
getPassword()
Get the Account password
|
protected static String |
getProperty(String property)
Get the named property
|
protected static String |
getSessionId()
get the Session ID
|
protected static String |
getUsername()
Get the Account username
|
protected static final org.slf4j.Logger LOG
protected static final String LANGUAGE_DEFAULT
protected static final String LANGUAGE_ENGLISH
protected static final String LANGUAGE_RUSSIAN
protected static final void doConfiguration()
throws MovieDbException
MovieDbExceptionprotected static final String getSessionId() throws MovieDbException
MovieDbExceptionprotected static final int getAccountId()
throws MovieDbException
MovieDbExceptionprotected static org.apache.http.client.HttpClient getHttpClient()
protected static HttpTools getHttpTools()
protected static String getApiKey()
protected static String getUsername()
protected static String getPassword()
protected static String getGuestSession()
protected static String getProperty(String property)
property - Copyright © 2012–2017. All rights reserved.