Skip navigation links
A B C D F G I M O P R S T 

A

afterClass() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
afterClass() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 

B

before() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
Ran before each test.
before() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Ran before each test.
beforeClass() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
beforeClass() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
 
beforeStartServer() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
Allows some initialization to be run once the Guice context is created, but before the server is started.
bindTestConfig() - Method in class org.spincast.testing.core.SpincastTestModule
 

C

clearHttpClientData() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
clearRoutes() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
 
configure() - Method in class org.spincast.testing.core.SpincastTestModule
 
createInjector() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
The test class must implement this method to create the Guice injector.
createInjector() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
 
createInjector() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedTestBase
 
createTestingFilePath(String) - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
Create a temporary test file, using the given relative path.
createTestingFilePath() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
Create a temporary test file.
createTestUrl(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates an URL to test the HTTP server.
createTestUrl(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates an URL to test the HTTP server.

D

deleteTempDir() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
dummyRouteHandler - Static variable in class org.spincast.testing.core.utils.SpincastTestUtils
 

F

findFreePort() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Finds a free port.

G

generateTempClassFile(File) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
 
get(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, Map<String, String>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, Map<String, String>, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, RequestConfig, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, Map<String, String>, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
get(String, Map<String, String>, RequestConfig, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given path (will be appended to the base test URL).
getContent() - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getContentType() - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getCookie(String) - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getCookieEncoding() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getCookieFactory() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getCookies() - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getCookieStore() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getHeader(String) - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getHeaderFirst(String) - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getHeaders() - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getHttpClient() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates the HTTPClient with a cookies store.
getHttpServerPort() - Method in class org.spincast.testing.core.SpincastTestConfig
We use a free port.
getInjector() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
getRawResponse(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL and returns the raw, unparsed HttpClient's HttpResponse.
getRawResponse(String, Map<String, String>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL and returns the raw, unparsed HttpClient's HttpResponse.
getRawResponse(String, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL and returns the raw, unparsed HttpClient's HttpResponse.
getRawResponse(String, Map<String, String>, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL and returns the raw, unparsed HttpClient's HttpResponse.
getRouter() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getServer() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getServerHost() - Method in class org.spincast.testing.core.SpincastTestConfig
 
getSpincastConfig() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
getStatus() - Method in class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
getTestingModule() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
The testing module to use.
getTestingModule() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedTestBase
The testing module to use.
getTestingWritableDir() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
getTestingWritableDirBasePath() - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
getThisClassFileInputStream() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
 
getWithUrl(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL.
getWithUrl(String, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL.
getWithUrl(String, Map<String, String>, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL.
getWithUrl(String, Map<String, String>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a GET request, using the given full URL.

I

isDebugEnabled() - Method in class org.spincast.testing.core.SpincastTestConfig
We do not run in "debug" mode.
isRoutesCaseSensitive() - Method in class org.spincast.testing.core.SpincastTestConfig
 

M

methodWithUrl(HttpMethod, String, Map<String, String>, RequestConfig) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a request of a custom HTTP method, using the given full URL.
methodWithUrl(HttpMethod, String, Map<String, String>, RequestConfig, List<NameValuePair>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a request of a custom HTTP method, using the given full URL.

O

org.spincast.testing.core - package org.spincast.testing.core
 
org.spincast.testing.core.utils - package org.spincast.testing.core.utils
 

P

postJson(String, String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a POST request using the given path (will be appended to the base test URL) and by sending the "json" Json string and the Json content-type.
postStringEntity(String, String, String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a POST request using the given path (will be appended to the base test URL) and by sending the "str" String as the entity with the specified "contentType" content-type.
postWithHeaders(String, Map<String, String>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a POST request using the given path (will be appended to the base test URL) and the specified headers.
postWithParams(String, List<NameValuePair>) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a POST request using the given path (will be appended to the base test URL).

R

request(HttpMethod, String, Map<String, String>, RequestConfig, List<NameValuePair>, String, String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a request of a custom HTTP method, using the given full URL.
requestRaw(HttpMethod, String, Map<String, String>, RequestConfig, List<NameValuePair>, String, String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Launches a request of a custom HTTP method, using the given full URL.

S

setSpincastConfig(ISpincastConfig) - Method in class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
SpincastGuiceBasedTestBase - Class in org.spincast.testing.core
Base class for Spincast test classes.
SpincastGuiceBasedTestBase() - Constructor for class org.spincast.testing.core.SpincastGuiceBasedTestBase
 
SpincastGuiceModuleBasedIntegrationTestBase<R extends IRequestContext<?>> - Class in org.spincast.testing.core
Base class for Spincast tests which creates the Guice injector using a specified module.
SpincastGuiceModuleBasedIntegrationTestBase() - Constructor for class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
 
SpincastGuiceModuleBasedTestBase - Class in org.spincast.testing.core
Base class for Spincast tests which creates the Guice injector using a specified module.
SpincastGuiceModuleBasedTestBase() - Constructor for class org.spincast.testing.core.SpincastGuiceModuleBasedTestBase
 
SpincastIntegrationTestBase<R extends IRequestContext<?>> - Class in org.spincast.testing.core
Base class for Spincast integration tests.
SpincastIntegrationTestBase() - Constructor for class org.spincast.testing.core.SpincastIntegrationTestBase
 
SpincastTestConfig - Class in org.spincast.testing.core
Default configurations for Spincast tests.
SpincastTestConfig() - Constructor for class org.spincast.testing.core.SpincastTestConfig
 
SpincastTestHttpResponse - Class in org.spincast.testing.core.utils
Uses by Spincast tests to represent the response from a call made to a server.
SpincastTestHttpResponse(int, String, String, Map<String, List<String>>, Map<String, ICookie>) - Constructor for class org.spincast.testing.core.utils.SpincastTestHttpResponse
 
SpincastTestModule - Class in org.spincast.testing.core
Default module for Spincast tests.
SpincastTestModule() - Constructor for class org.spincast.testing.core.SpincastTestModule
 
SpincastTestUtils - Class in org.spincast.testing.core.utils
Spincast tests utilities.
SpincastTestUtils() - Constructor for class org.spincast.testing.core.utils.SpincastTestUtils
 
startServer() - Method in class org.spincast.testing.core.SpincastGuiceModuleBasedIntegrationTestBase
 
stopServer() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 

T

TEST_STRING - Static variable in class org.spincast.testing.core.utils.SpincastTestUtils
 
TEST_STRING_LONG - Static variable in class org.spincast.testing.core.utils.SpincastTestUtils
 
A B C D F G I M O P R S T 
Skip navigation links

Copyright © 2016. All rights reserved.