public abstract class NoAppCustomContextTypesTestingBase<R extends RequestContext<?>,W extends WebsocketContext<?>> extends SpincastTestBase
logger, spincastConfig| Constructor and Description |
|---|
NoAppCustomContextTypesTestingBase() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.inject.Injector |
createInjector()
The test class must implement this method to create
the Guice injector.
|
protected String[] |
getMainArgs() |
protected abstract Class<? extends RequestContext<?>> |
getRequestContextImplementationClass() |
protected abstract Class<? extends WebsocketContext<?>> |
getWebsocketContextImplementationClass() |
addExtraSystemProperties, afterClass, afterClassLoops, afterTest, beforeClass, beforeClassException, beforeTest, createGuiceTweaker, createTestingFilePath, createTestingFilePath, deleteTempDir, getExtraOverridingModule, getExtraPlugins, getExtraSystemProperties, getGuiceTweakerFromThreadLocal, getInjector, getSpincastConfig, getTestingConfigImplementationClass, getTestingWritableDir, isDisableBindCurrentClass, resetSystemProperties, testFailure, validateCreatedInjectorprotected com.google.inject.Injector createInjector()
SpincastTestBasemain(...) method) or by
creating a custom Injector.createInjector in class SpincastTestBaseprotected String[] getMainArgs()
protected abstract Class<? extends RequestContext<?>> getRequestContextImplementationClass()
protected abstract Class<? extends WebsocketContext<?>> getWebsocketContextImplementationClass()
Copyright © 2017. All rights reserved.