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

A

addExtraSystemProperties() - Method in class org.spincast.testing.core.SpincastTestBase
Adds System properties as they are provided by the SpincastTestBase.getExtraSystemProperties() method.
afterClass() - Method in class org.spincast.testing.core.IntegrationTestBase
 
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
 
AppTestingConfigInfo - Interface in org.spincast.testing.core
Informations about the testing configurations to use.

B

beforeClass() - Method in class org.spincast.testing.core.IntegrationTestNoAppBase
 
beforeClass() - Method in class org.spincast.testing.core.SpincastTestBase
 
beforeClassException(Throwable) - Method in class org.spincast.testing.core.SpincastTestBase
 
beforeStartServer() - Method in class org.spincast.testing.core.IntegrationTestNoAppBase
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.IntegrationTestNoAppBase
Ran before every 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.IntegrationTestNoAppBase
 
CONNECT(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a CONNECT method.
CONNECT(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a CONNECT method.
CONNECT(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a CONNECT method.
createGuiceTweaker() - Method in class org.spincast.testing.core.SpincastTestBase
 
createInjector() - Method in class org.spincast.testing.core.IntegrationTestAppBase
At this level, createInjector() expects your application to use the Spincast utility class from the spincast-default artifact to initialize your app.
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.IntegrationTestBase
Creates an URL to the started HTTP server.
createTestUrl(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Creates an URL to the started HTTP server.
createTestUrl(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Creates an URL to the started HTTP server.

D

DELETE(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a DELETE method.
DELETE(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a DELETE method.
DELETE(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
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.IntegrationTestBase
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.IntegrationTestBase
Starts an Http Client builder for a GET method.
GET(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a GET method.
GET(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a GET method.
getAppConfigInterface() - Method in interface org.spincast.testing.core.AppTestingConfigInfo
Your application configuration interface.
getAppConfigTestingImplementationClass() - Method in interface org.spincast.testing.core.AppTestingConfigInfo
The implementation class to use for your application configuration binding.
getAppTestingConfigInfo() - Method in class org.spincast.testing.core.IntegrationTestAppBase
We force test classes to provide information about the required testing configurations.
getCookieFactory() - Method in class org.spincast.testing.core.IntegrationTestBase
 
getExtraSystemProperties() - Method in class org.spincast.testing.core.SpincastTestBase
Extra System properties to set before the tests are run.
getGuiceTweakerConfigImplementationClass() - Method in class org.spincast.testing.core.IntegrationTestAppBase
Final : the implementation class will be taken from the IntegrationTestAppBase.getAppTestingConfigInfo() return.
getGuiceTweakerConfigImplementationClass() - Method in class org.spincast.testing.core.SpincastTestBase
The implementation to use for the SpincastConfig binding when SpincastTestBase.isGuiceTweakerAutoTestingConfigBindings() is enabled.
getGuiceTweakerFromThreadLocal() - Method in class org.spincast.testing.core.SpincastTestBase
 
getGuiceTweakerOverridingModule() - Method in class org.spincast.testing.core.IntegrationTestAppBase
 
getGuiceTweakerOverridingModule() - Method in class org.spincast.testing.core.SpincastTestBase
If an overriding Module is to be added using the Guice tweaker.
getGuiceTweakerPlugins() - Method in class org.spincast.testing.core.IntegrationTestBase
The extra required plugins.
getGuiceTweakerPlugins() - Method in class org.spincast.testing.core.SpincastTestBase
Extra plugins to be added by the Guice Tweaker.
getHttpClient() - Method in class org.spincast.testing.core.IntegrationTestBase
 
getHttpServerPort() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
We use a free port.
getInjector() - Method in class org.spincast.testing.core.SpincastTestBase
 
getPublicUrlBase() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
 
getRouter() - Method in class org.spincast.testing.core.IntegrationTestBase
 
getServer() - Method in class org.spincast.testing.core.IntegrationTestBase
 
getServerHost() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
 
getSpincastConfig() - Method in class org.spincast.testing.core.SpincastTestBase
 
getSpincastConfigTestingImplementationClass() - Method in interface org.spincast.testing.core.AppTestingConfigInfo
The implementation class to use for the SpincastConfig binding.
getTestDateNoTime() - Static method in class org.spincast.testing.core.utils.SpincastTestUtils
Get a test date without time.
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.IntegrationTestBase
Starts an Http Client builder for a HEAD method.
HEAD(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a HEAD method.
HEAD(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a HEAD method.

I

initApp() - Method in class org.spincast.testing.core.IntegrationTestAppBase
Starts the application.
IntegrationTestAppBase<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.testing.core
Base for integration test classes that use an existing Application to start the Server (calling its main() method).
IntegrationTestAppBase() - Constructor for class org.spincast.testing.core.IntegrationTestAppBase
 
IntegrationTestBase<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.testing.core
Base class for integration test classes that need the HTTP/WebSocket server to be started.
IntegrationTestBase() - Constructor for class org.spincast.testing.core.IntegrationTestBase
 
IntegrationTestNoAppBase<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.testing.core
Base class for integration testing when there is no Application to start via a main() method.
IntegrationTestNoAppBase() - Constructor for class org.spincast.testing.core.IntegrationTestNoAppBase
 
isDebugEnabled() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
We do not run in "debug" mode.
isDisableSllCetificateErrors() - Method in class org.spincast.testing.core.IntegrationTestBase
By default, for the tests, by disable the SSL certificate errors.
isEnableCookiesValidator() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
 
isGuiceTweakerAutoTestingConfigBindings() - Method in class org.spincast.testing.core.IntegrationTestAppBase
When a Spincast application is tested, the default testing configurations are always enabled, and IntegrationTestAppBase.getAppTestingConfigInfo() must be used to configure them.
isGuiceTweakerAutoTestingConfigBindings() - Method in class org.spincast.testing.core.SpincastTestBase
Should the SpincastConfig bindings be automatically configured? If true (the default), any bindings for components in the hierarchy of SpincastConfig will be removed and new bindings will be added using the testing implementation returned by SpincastTestBase.getGuiceTweakerConfigImplementationClass().
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...
isValidateLocalhostHost() - Method in class org.spincast.testing.core.utils.SpincastConfigTestingDefault
 

L

logger - Variable in class org.spincast.testing.core.SpincastTestBase
 

O

OPTIONS(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a OPTIONS method.
OPTIONS(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a OPTIONS method.
OPTIONS(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
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.IntegrationTestBase
Parse a date from a HTTP header to a Date object.
PATCH(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PATCH method.
PATCH(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PATCH method.
PATCH(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PATCH method.
POST(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a POST method.
POST(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a POST method.
POST(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a POST method.
PUT(String) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PUT method.
PUT(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PUT method.
PUT(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a PUT method.

R

removeSpincastRoutesToo() - Method in class org.spincast.testing.core.IntegrationTestNoAppBase
Should the default Spincast Routes be removed too? Or only the custom ones?
resetSystemProperties() - Method in class org.spincast.testing.core.SpincastTestBase
Resets System properties.

S

setSpincastConfig(SpincastConfig) - Method in class org.spincast.testing.core.SpincastTestBase
 
SpincastConfigTestingDefault - Class in org.spincast.testing.core.utils
Default configurations for Spincast integration testing.
SpincastConfigTestingDefault(SpincastConfigPluginConfig) - Constructor for class org.spincast.testing.core.utils.SpincastConfigTestingDefault
Constructor
SpincastTestBase - Class in org.spincast.testing.core
Base class for Spincast test classes.
SpincastTestBase() - Constructor for class org.spincast.testing.core.SpincastTestBase
 
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.IntegrationTestNoAppBase
 
stopServer() - Method in class org.spincast.testing.core.IntegrationTestBase
 

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.IntegrationTestBase
Starts an Http Client builder for a TRACE method.
TRACE(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a TRACE method.
TRACE(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
Starts an Http Client builder for a TRACE method.
TrueChecker - Interface in org.spincast.testing.core.utils
Interface for a true checker.

V

validateCreatedInjector(Injector) - Method in class org.spincast.testing.core.IntegrationTestBase
 
validateCreatedInjector(Injector) - Method in class org.spincast.testing.core.SpincastTestBase
Validates the created Injector, before the dependencies are injected in the test class.

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.IntegrationTestBase
 
websocket(String, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
 
websocket(String, boolean, boolean) - Method in class org.spincast.testing.core.IntegrationTestBase
 
A B C D F G H I L O P R S T V W 
Skip navigation links

Copyright © 2017. All rights reserved.