public abstract class SpincastGuiceModuleBasedIntegrationTestBase<R extends IRequestContext<?>> extends SpincastIntegrationTestBase<R>
| Constructor and Description |
|---|
SpincastGuiceModuleBasedIntegrationTestBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
before()
Ran before each test.
|
void |
beforeClass()
Called before the tests of the class are ran.
|
protected void |
beforeStartServer()
Allows some initialization to be run once the Guice context
is created, but before the server is started.
|
protected void |
clearRoutes() |
protected com.google.inject.Injector |
createInjector()
The test class must implement this method to create
the Guice injector.
|
abstract com.google.inject.Module |
getTestingModule()
The testing module to use.
|
protected void |
startServer() |
afterClass, CONNECT, CONNECT, CONNECT, createTestUrl, createTestUrl, createTestUrl, DELETE, DELETE, DELETE, extendGuiceInjector, GET, GET, GET, getCookieFactory, getHttpClient, getRouter, getServer, HEAD, HEAD, HEAD, isDisableSllCetificateErrors, OPTIONS, OPTIONS, OPTIONS, PATCH, PATCH, PATCH, POST, POST, POST, PUT, PUT, PUT, stopServer, TRACE, TRACE, TRACEcreateTestingFilePath, createTestingFilePath, deleteTempDir, getInjector, getSpincastConfig, getTestingWritableDir, getTestingWritableDirBasePath, setSpincastConfigpublic SpincastGuiceModuleBasedIntegrationTestBase()
protected com.google.inject.Injector createInjector()
SpincastGuiceBasedTestBasemain(...) method) or by
creating a custom Injector.createInjector in class SpincastGuiceBasedTestBasepublic void beforeClass()
IBeforeAfterClassMethodsProviderbeforeClass in interface IBeforeAfterClassMethodsProviderbeforeClass in class SpincastGuiceBasedTestBaseprotected void beforeStartServer()
public void before()
before in class SpincastIntegrationTestBase<R extends IRequestContext<?>>protected void startServer()
protected void clearRoutes()
public abstract com.google.inject.Module getTestingModule()
Copyright © 2016. All rights reserved.