
public.javadoc.org.spincast.testing.defaults.NoAppStartHttpServerTestingBase.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
NoAppStartHttpServerTestingBase (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.testing.defaults
Class NoAppStartHttpServerTestingBase
java.lang.Object
org.spincast.testing.core.SpincastTestBase
org.spincast.testing.core.AppBasedTestingBase<R,W>
org.spincast.testing.defaults.NoAppStartHttpServerCustomContextTypesTestingBase<DefaultRequestContext,DefaultWebsocketContext>
org.spincast.testing.defaults.NoAppStartHttpServerTestingBase
- All Implemented Interfaces:
BeforeAfterClassMethodsProvider
, CanBeDisabled
, RepeatedClassAfterMethodProvider
, TestFailureListener
public abstract class NoAppStartHttpServerTestingBase
extends NoAppStartHttpServerCustomContextTypesTestingBase<DefaultRequestContext,DefaultWebsocketContext>
Base class for testing without an App but when an HTTP
server is required.
Note that, by default, all routes are cleared
before each test! Even routes added by plugins...
To change this behavior, override the
clearRoutes()
method.
-
Field Summary
Fields inherited from class org.spincast.testing.core.SpincastTestBase
logger, spincastConfig
-
Constructor Summary
Constructors
-
Method Summary
Modifier and Type
Method
Description
protected Class<? extends RequestContext<?>>
protected Class<? extends WebsocketContext<?>>
Methods inherited from class org.spincast.testing.defaults.NoAppStartHttpServerCustomContextTypesTestingBase
beforeClass, beforeStartServer, beforeTest, callAppMainMethod, clearRoutes, createBootstrapper, getAppTestingConfigs, getMainArgs, getTestingConfigImplementationClass2, removeSpincastRoutesToo, startServer
Methods inherited from class org.spincast.testing.core.AppBasedTestingBase
afterClass, 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, websocket
Methods inherited from class org.spincast.testing.core.SpincastTestBase
addExtraSystemProperties, afterClassLoops, afterTest, beforeClassException, createGuiceTweaker, createTestingDir, createTestingFilePath, createTestingFilePath, deleteTestingWritableTempDir, getExtraSystemProperties, getGuiceTweakerFromThreadLocal, getGuiceTweakerPluginsToDisable, getInjector, getSpincastConfig, getTestingWritableTempDir, isTestClassDisabledPostBeforeClass, isTestClassDisabledPreBeforeClass, resetSystemProperties, testFailure
-
Constructor Details
-
NoAppStartHttpServerTestingBase
public NoAppStartHttpServerTestingBase()
-
Method Details
-
getRequestContextImplementationClass
-
getWebsocketContextImplementationClass
© 2015 - 2025 Weber Informatics LLC | Privacy Policy