public abstract class NoAppStartHttpServerTestingBase extends NoAppStartHttpServerCustomContextTypesTestingBase<DefaultRequestContext,DefaultWebsocketContext>
Note that, by default, all routes are cleared
before each test! Even routes added by plugins...
To change this behavior, override the
clearRoutes()
method.
logger, spincastConfig| Constructor and Description |
|---|
NoAppStartHttpServerTestingBase() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends RequestContext<?>> |
getRequestContextImplementationClass() |
protected Class<? extends WebsocketContext<?>> |
getWebsocketContextImplementationClass() |
beforeClass, beforeStartServer, beforeTest, callAppMainMethod, clearRoutes, createBootstrapper, getAppTestingConfigs, getMainArgs, getTestingConfigImplementationClass2, removeSpincastRoutesToo, startServerafterClass, clearPreviousResponseCookies, CONNECT, CONNECT, CONNECT, createInjector, createTestUrl, 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, getGuiceTweakerPluginsToDisable, getInjector, getSpincastConfig, getTestingWritableTempDir, isMavenReleaseProfile, isTestsFileDisabled, resetSystemProperties, testFailureprotected Class<? extends RequestContext<?>> getRequestContextImplementationClass()
protected Class<? extends WebsocketContext<?>> getWebsocketContextImplementationClass()
Copyright © 2019. All rights reserved.