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

A

afterClass() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
afterClass() - Method in class org.spincast.testing.core.SpincastTestBase
 
afterClassLoops() - Method in class org.spincast.testing.core.SpincastTestBase
 
afterTest() - Method in class org.spincast.testing.core.SpincastTestBase
 

B

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

C

check() - Method in interface org.spincast.testing.core.utils.TrueChecker
 
clearRoutes() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
 
CONNECT(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a CONNECT method.
CONNECT(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a CONNECT method.
CONNECT(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a CONNECT method.
createInjector() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
 
createInjector() - Method in class org.spincast.testing.core.SpincastTestBase
The test class must implement this method to create the Guice injector.
createTestingFilePath(String) - Method in class org.spincast.testing.core.SpincastTestBase
Create a temporary test file, using the given relative path.
createTestingFilePath() - Method in class org.spincast.testing.core.SpincastTestBase
Create a temporary test file.
createTestUrl(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates an URL to the started HTTP server.
createTestUrl(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates an URL to the started HTTP server.
createTestUrl(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Creates an URL to the started HTTP server.

D

DELETE(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a DELETE method.
DELETE(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a DELETE method.
DELETE(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a DELETE method.
deleteTempDir() - Method in class org.spincast.testing.core.SpincastTestBase
 
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.
formatDate(Date) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Format a date so it can be used in a HTTP header.

G

generateTempClassFile(File) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
 
GET(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a GET method.
GET(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a GET method.
GET(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a GET method.
getCookieFactory() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getDefaultOverridingModule(Type, Type) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
We make sure the Spincast HTTP Client with WebSocket support is bound since this class provides methods that use it.
getHttpClient() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
getHttpServerPort() - Method in class org.spincast.testing.core.SpincastTestConfig
We use a free port.
getInjector() - Method in class org.spincast.testing.core.SpincastTestBase
 
getMainArgsToUse() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
 
getOverridingModule() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
An overriding module to use?
getPublicServerSchemeHostPort() - Method in class org.spincast.testing.core.SpincastTestConfig
 
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.SpincastTestBase
 
getTestDateNoTime() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Get a test date without time.
getTestingModule() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
The main Guice module to use.
getTestingWritableDir() - Method in class org.spincast.testing.core.SpincastTestBase
 
getThisClassFileInputStream() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
 

H

HEAD(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a HEAD method.
HEAD(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a HEAD method.
HEAD(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a HEAD method.

I

isDebugEnabled() - Method in class org.spincast.testing.core.SpincastTestConfig
We do not run in "debug" mode.
isDisableSllCetificateErrors() - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
By default, for the tests, by disable the SSL certificate errors.
isEnableCookiesValidator() - Method in class org.spincast.testing.core.SpincastTestConfig
 
isPortAvailable(String, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Is the specified port available? Note that this will be true at the time the method run, but may be false a couple of milliseconds after...
isRoutesCaseSensitive() - Method in class org.spincast.testing.core.SpincastTestConfig
 
isValidateLocalhostHost() - Method in class org.spincast.testing.core.SpincastTestConfig
 

O

OPTIONS(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a OPTIONS method.
OPTIONS(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a OPTIONS method.
OPTIONS(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a OPTIONS method.
org.spincast.testing.core - package org.spincast.testing.core
 
org.spincast.testing.core.utils - package org.spincast.testing.core.utils
 

P

parseDate(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Parse a date from a HTTP header to a Date object.
PATCH(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PATCH method.
PATCH(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PATCH method.
PATCH(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PATCH method.
POST(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a POST method.
POST(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a POST method.
POST(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a POST method.
PUT(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PUT method.
PUT(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PUT method.
PUT(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a PUT method.

R

removeSpincastRoutesToo() - Method in class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
 

S

setSpincastConfig(SpincastConfig) - Method in class org.spincast.testing.core.SpincastTestBase
 
SpincastIntegrationTestBase<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.testing.core
Base class for tests that need the HTTP/WebSocket server to be started.
SpincastIntegrationTestBase() - Constructor for class org.spincast.testing.core.SpincastIntegrationTestBase
 
SpincastNoAppIntegrationTestBase<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.testing.core
Base class for tests that needs the HTTP/WebSocket server to be started, but that are not using the boostraping process of an existing application to create the Guice context and start the server.
SpincastNoAppIntegrationTestBase() - Constructor for class org.spincast.testing.core.SpincastNoAppIntegrationTestBase
 
SpincastTestBase - Class in org.spincast.testing.core
Base class for Spincast test classes.
SpincastTestBase() - Constructor for class org.spincast.testing.core.SpincastTestBase
 
SpincastTestConfig - Class in org.spincast.testing.core
Default configurations for Spincast tests.
SpincastTestConfig() - Constructor for class org.spincast.testing.core.SpincastTestConfig
 
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.SpincastNoAppIntegrationTestBase
 
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
 
testFailure(Failure) - Method in class org.spincast.testing.core.SpincastTestBase
You can override this method to be informed when a test fails.
TRACE(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a TRACE method.
TRACE(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a TRACE method.
TRACE(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
Starts an Http Client builder for a TRACE method.
TrueChecker - Interface in org.spincast.testing.core.utils
Interface for a true checker.

W

waitForMaxSize(Collection<?>, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the size of the specified collection is under the speficied max size.
waitForMaxSize(Collection<?>, int, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the size of the specified collection is under the speficied max size.
waitForNumber(int[], int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the number of the first element of the specified int[] has reached the expected value.
waitForNumber(int[], int, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the number of the first element of the specified int[] has reached the expected value.
waitForSize(Collection<?>, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the size of the specified collection has reached the expected size.
waitForSize(Collection<?>, int, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
This method checks frequently if the size of the specified collection has reached the expected size.
waitForTrue(TrueChecker) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Since Websockets are async, it's hard to wait for a specific period of time before validating if an event occured.
waitForTrue(TrueChecker, int) - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Since Websockets are async, it's hard to wait for a specific period of time before validating if an event occured.
waitForTrueLoopInterval() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
 
websocket(String) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
websocket(String, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
websocket(String, boolean, boolean) - Method in class org.spincast.testing.core.SpincastIntegrationTestBase
 
A B C D F G H I O P R S T W 
Skip navigation links

Copyright © 2016. All rights reserved.