public abstract class NoAppStartHttpServerCustomContextTypesTestingBase<R extends org.spincast.core.exchange.RequestContext<?>,W extends org.spincast.core.websocket.WebsocketContext<?>> extends AppBasedTestingBase<R,W>
logger, spincastConfig| Constructor and Description |
|---|
NoAppStartHttpServerCustomContextTypesTestingBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeClass()
Don't forget to first call
super.beforeClass() |
protected void |
beforeStartServer()
Allows some initialization to be run once the Guice context
is created, but before the Server is started.
|
void |
beforeTest()
Ran before every test.
|
protected void |
callAppMainMethod() |
protected void |
clearRoutes() |
protected SpincastBootstrapper |
createBootstrapper() |
protected AppTestingConfigs |
getAppTestingConfigs() |
protected String[] |
getMainArgs() |
protected abstract Class<? extends org.spincast.core.exchange.RequestContext<?>> |
getRequestContextImplementationClass() |
protected Class<? extends org.spincast.core.config.SpincastConfig> |
getTestingConfigImplementationClass2() |
protected abstract Class<? extends org.spincast.core.websocket.WebsocketContext<?>> |
getWebsocketContextImplementationClass() |
protected boolean |
removeSpincastRoutesToo()
Should the default Spincast Routes
be removed too? Or only the custom ones?
|
protected void |
startServer() |
afterClass, clearPreviousResponseCookies, CONNECT, CONNECT, CONNECT, createInjector, createTestUrl, createTestUrl, createTestUrl, DELETE, DELETE, DELETE, formatDate, GET, GET, GET, getCookieFactory, getExtraExactBindingsToRemoveBeforePlugins, getExtraOverridingModule, getExtraPlugins, getGuiceTweakerExtraOverridingModule, getGuiceTweakerExtraPlugins, getHttpClient, getPreviousResponseCookie, getPreviousResponseCookies, getRouter, getServer, getTestingConfigImplementationClass, HEAD, HEAD, HEAD, isDisableBindCurrentClass, isDisableSllCetificateErrors, isIgnoreMethodsAnnotatedWithInjectDuringConfigurationsTweaking, isSetSecureFalseOnCookiesFromBag, OPTIONS, OPTIONS, OPTIONS, parseDate, PATCH, PATCH, PATCH, POST, POST, POST, PUT, PUT, PUT, saveResponseCookies, stopServer, TRACE, TRACE, TRACE, tweakConfigurations, validateCreatedInjector, websocket, websocket, websocketaddExtraSystemProperties, afterClassLoops, afterTest, beforeClassException, createGuiceTweaker, createTestingDir, createTestingFilePath, createTestingFilePath, deleteTestingWritableTempDir, getExtraSystemProperties, getGuiceTweakerFromThreadLocal, getInjector, getSpincastConfig, getTestingWritableTempDir, resetSystemProperties, testFailurepublic NoAppStartHttpServerCustomContextTypesTestingBase()
protected final AppTestingConfigs getAppTestingConfigs()
getAppTestingConfigs in class AppBasedTestingBase<R extends org.spincast.core.exchange.RequestContext<?>,W extends org.spincast.core.websocket.WebsocketContext<?>>protected Class<? extends org.spincast.core.config.SpincastConfig> getTestingConfigImplementationClass2()
protected final void callAppMainMethod()
callAppMainMethod in class AppBasedTestingBase<R extends org.spincast.core.exchange.RequestContext<?>,W extends org.spincast.core.websocket.WebsocketContext<?>>protected SpincastBootstrapper createBootstrapper()
protected String[] getMainArgs()
public void beforeClass()
super.beforeClass()beforeClass in interface org.spincast.testing.utils.BeforeAfterClassMethodsProviderbeforeClass in class AppBasedTestingBase<R extends org.spincast.core.exchange.RequestContext<?>,W extends org.spincast.core.websocket.WebsocketContext<?>>protected void startServer()
protected void beforeStartServer()
public void beforeTest()
beforeTest in class SpincastTestBaseprotected void clearRoutes()
protected boolean removeSpincastRoutesToo()
protected abstract Class<? extends org.spincast.core.exchange.RequestContext<?>> getRequestContextImplementationClass()
protected abstract Class<? extends org.spincast.core.websocket.WebsocketContext<?>> getWebsocketContextImplementationClass()
Copyright © 2019. All rights reserved.