Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addFilter(String, Filter) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addFilter(String, Class<? extends Filter>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addFilter(String, String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addFilter(String, String, Filter) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addListener(Class<? extends EventListener>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addListener(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addListener(T) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addMapping(String...) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- addMappingForServletNames(EnumSet<DispatcherType>, boolean, String...) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- addMappingForUrlPatterns(EnumSet<DispatcherType>, boolean, String...) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- addServlet(String, Servlet) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addServlet(String, Class<? extends Servlet>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addServlet(String, String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addServlet(String, String, Servlet) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- addTestFilter(ServletContext) - Static method in class io.microsphere.spring.test.util.ServletTestUtils
-
Adds a test filter to the provided
ServletContext. - addTestServlet(ServletContext) - Static method in class io.microsphere.spring.test.util.ServletTestUtils
-
Adds a test servlet to the provided
ServletContext. - alternativeWebXml() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The resource location of an alternative deployment descriptor for the web application.
- AnnotatedTypeMetadataTestFactory - Class in io.microsphere.spring.test.context.annotation
-
AnnotatedTypeMetadataTest Factory - AnnotatedTypeMetadataTestFactory() - Constructor for class io.microsphere.spring.test.context.annotation.AnnotatedTypeMetadataTestFactory
B
- basedir() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The resource location of the Tomcat's
base directory.
C
- classes() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The component classes to use for loading an
ApplicationContext. - clearAttributes(NativeWebRequest) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Clears all attributes from the request scope of the given
NativeWebRequest. - clearAttributes(NativeWebRequest, int) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Clears all attributes from the specified scope of the given
NativeWebRequest. - contextDestroyed(ServletContextEvent) - Method in class io.microsphere.spring.test.web.servlet.TestServletContextListener
- contextInitialized(ServletContextEvent) - Method in class io.microsphere.spring.test.web.servlet.TestServletContextListener
- contextPath() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The context path of Tomcat
- createFilter(Class<T>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- createInstance(Class<T>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- createInstance(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- createListener(Class<T>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- createMethodAnnotatedTypeMetadata() - Method in class io.microsphere.spring.test.context.annotation.AnnotatedTypeMetadataTestFactory
- createPreFightRequest() - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestfor CORS pre-flight requests. - createServlet(Class<T>) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- createWebRequest() - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith default settings. - createWebRequest(String) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith the specified request URI. - createWebRequest(Consumer<MockHttpServletRequest>) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith custom settings provided by the givenConsumer. - createWebRequestWithHeaders(Object...) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith the specified request headers. - createWebRequestWithHeaders(Map<String, String>) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith the specified request headers. - createWebRequestWithParams(Object...) - Static method in class io.microsphere.spring.test.util.SpringTestWebUtils
-
Creates a new instance of
NativeWebRequestwith the specified request parameters.
D
- dataSource() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabase
- DEFAULT_FILTER_NAME - Static variable in class io.microsphere.spring.test.web.servlet.TestFilter
-
Default Filter Name
- DEFAULT_FILTER_URL_PATTERN - Static variable in class io.microsphere.spring.test.web.servlet.TestFilter
-
Default URL Pattern
- DEFAULT_SERVLET_NAME - Static variable in class io.microsphere.spring.test.web.servlet.TestServlet
-
Default Servlet Name : "testServlet"
- DEFAULT_SERVLET_URL_PATTERN - Static variable in class io.microsphere.spring.test.web.servlet.TestServlet
-
Default URL Pattern : "/testServlet"
- DEFAULT_WEB_XML - Enum constant in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Add the default web.xml file to the context
- destroy() - Method in class io.microsphere.spring.test.web.servlet.TestFilter
- docBase() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The resource location of the Tomcat's
the root directory of context document. - doDelete(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.microsphere.spring.test.web.servlet.TestFilter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
- doHead(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
- doPost(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
- doPut(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
- doService(HttpServletRequest, HttpServletResponse) - Method in class io.microsphere.spring.test.web.servlet.TestServlet
E
- EmbeddedDatabaseType - Enum Class in io.microsphere.spring.test.jdbc.embedded
-
Embedded database types
- EmbeddedTomcatConfiguration - Annotation Interface in io.microsphere.spring.test.tomcat.embedded
-
The annotation to startup the Embedded Tomcat server for Spring integration testing.
- EmbeddedTomcatConfiguration.Feature - Enum Class in io.microsphere.spring.test.tomcat.embedded
-
The Tomcat features
- EnableEmbeddedDatabase - Annotation Interface in io.microsphere.spring.test.jdbc.embedded
-
Enable an embedded database
- EnableEmbeddedDatabases - Annotation Interface in io.microsphere.spring.test.jdbc.embedded
- equals(Object) - Method in class io.microsphere.spring.test.domain.User
- error(String) - Method in class io.microsphere.spring.test.web.controller.TestController
F
- features() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
Enable the Tomcat features
- FILTER_CLASS_NAME - Static variable in class io.microsphere.spring.test.web.servlet.TestFilter
-
Filter Class Name
G
- getAge() - Method in class io.microsphere.spring.test.domain.User
- getBeanFactory() - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- getClassLoader() - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- getClassName() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getClassName() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getEnvironment() - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- getFilter() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
-
Get the Filter
- getFilterRegistration(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- getFilterRegistrations() - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- getInitParameter(String) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getInitParameter(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getInitParameters() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getInitParameters() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getLoadOnStartup() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get Load On Startup
- getMappings() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getMultipartConfig() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get Multipart Config
- getName() - Method in class io.microsphere.spring.test.domain.User
- getName() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getName() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getRegistry() - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- getResourceLoader() - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- getRoleName() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get Role Name
- getRunAsRole() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getServlet() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- getServletNameMappings() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getServletRegistration(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- getServletRegistrations() - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- getServletSecurityElement() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get Servlet Security Element
- getUrlPatternMappings() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- getUrlPatterns() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get URL Patterns
- greeting(String) - Method in class io.microsphere.spring.test.web.controller.TestController
H
- hashCode() - Method in class io.microsphere.spring.test.domain.User
- helloWorld() - Method in class io.microsphere.spring.test.web.controller.TestController
I
- inheritInitializers() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
Whether context initializers from test superclasses and enclosing classes should be inherited.
- inheritLocations() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
Whether resource locations or component classes from test superclasses and enclosing classes should be inherited.
- init(FilterConfig) - Method in class io.microsphere.spring.test.web.servlet.TestFilter
- initializers() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The application context initializer classes to use for initializing a
ConfigurableApplicationContext. - io.microsphere.spring.test.context.annotation - package io.microsphere.spring.test.context.annotation
- io.microsphere.spring.test.domain - package io.microsphere.spring.test.domain
- io.microsphere.spring.test.jdbc.embedded - package io.microsphere.spring.test.jdbc.embedded
- io.microsphere.spring.test.tomcat.embedded - package io.microsphere.spring.test.tomcat.embedded
- io.microsphere.spring.test.util - package io.microsphere.spring.test.util
- io.microsphere.spring.test.web.controller - package io.microsphere.spring.test.web.controller
- io.microsphere.spring.test.web.servlet - package io.microsphere.spring.test.web.servlet
- isAsyncSupported() - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
-
Get the Async Supported
- isAsyncSupported() - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
-
Get Async Supported
L
- loadClass(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletContext
- locations() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The resource locations to use for loading an
ApplicationContext.
N
- NAMING - Enum constant in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Enables the JNDI feature
P
- PATH_ATTRIBUTE - Static variable in class io.microsphere.spring.test.util.SpringTestWebUtils
- port() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabase
-
JDBC connection port
- port() - Element in annotation interface io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration
-
The port of Tomcat
- primary() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabase
- properties() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabase
R
- responseEntity() - Method in class io.microsphere.spring.test.web.controller.TestController
S
- SERVLET_CLASS - Static variable in class io.microsphere.spring.test.web.servlet.TestServlet
-
Servlet Class
- SERVLET_CLASS_NAME - Static variable in class io.microsphere.spring.test.web.servlet.TestServlet
-
Servlet Class Name
- ServletTestUtils - Class in io.microsphere.spring.test.util
-
The utility class for Servlet Testing
- setAge(int) - Method in class io.microsphere.spring.test.domain.User
- setApplicationContext(ApplicationContext) - Method in class io.microsphere.spring.test.context.annotation.TestConditionContext
- setAsyncSupported(boolean) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- setAsyncSupported(boolean) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setBeanClassLoader(ClassLoader) - Method in class io.microsphere.spring.test.context.annotation.AnnotatedTypeMetadataTestFactory
- setInitParameter(String, String) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- setInitParameter(String, String) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setInitParameters(Map<String, String>) - Method in class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- setInitParameters(Map<String, String>) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setLoadOnStartup(int) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setMultipartConfig(MultipartConfigElement) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setName(String) - Method in class io.microsphere.spring.test.domain.User
- setRunAsRole(String) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- setServletSecurity(ServletSecurityElement) - Method in class io.microsphere.spring.test.web.servlet.TestServletRegistration
- SILENT - Enum constant in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Controls the loggers will be silenced.
- SpringTestUtils - Class in io.microsphere.spring.test.util
-
Spring Test Utilities class
- SpringTestWebUtils - Class in io.microsphere.spring.test.util
-
Web Utilities class for Spring Test
- SQLITE - Enum constant in enum class io.microsphere.spring.test.jdbc.embedded.EmbeddedDatabaseType
T
- TestConditionContext - Class in io.microsphere.spring.test.context.annotation
-
ConditionContextfor testing - TestConditionContext() - Constructor for class io.microsphere.spring.test.context.annotation.TestConditionContext
- TestController - Class in io.microsphere.spring.test.web.controller
-
Test
@RestController - TestController() - Constructor for class io.microsphere.spring.test.web.controller.TestController
- TestFilter - Class in io.microsphere.spring.test.web.servlet
-
Filterfor testing - TestFilter() - Constructor for class io.microsphere.spring.test.web.servlet.TestFilter
- TestFilterRegistration - Class in io.microsphere.spring.test.web.servlet
-
Test
FilterRegistration.Dynamic - TestFilterRegistration(String, String, Filter) - Constructor for class io.microsphere.spring.test.web.servlet.TestFilterRegistration
- testInSpringContainer(ThrowableBiConsumer<ConfigurableApplicationContext, ConfigurableEnvironment>, Class<?>...) - Static method in class io.microsphere.spring.test.util.SpringTestUtils
-
Executes the given
ThrowableBiConsumerwithin a Spring container context. - testInSpringContainer(ThrowableConsumer<ConfigurableApplicationContext>, Class<?>...) - Static method in class io.microsphere.spring.test.util.SpringTestUtils
-
Executes the given
ThrowableConsumerwithin a Spring container context. - TestServlet - Class in io.microsphere.spring.test.web.servlet
-
Servletfor Testing - TestServlet() - Constructor for class io.microsphere.spring.test.web.servlet.TestServlet
- TestServletContext - Class in io.microsphere.spring.test.web.servlet
-
Test
ServletContextbased onMockServletContext - TestServletContext() - Constructor for class io.microsphere.spring.test.web.servlet.TestServletContext
-
Create a new
TestServletContext, using no base path and aDefaultResourceLoader(i.e. the classpath root as WAR root). - TestServletContext(String) - Constructor for class io.microsphere.spring.test.web.servlet.TestServletContext
-
Create a new
TestServletContext, using aDefaultResourceLoader. - TestServletContext(String, ResourceLoader) - Constructor for class io.microsphere.spring.test.web.servlet.TestServletContext
-
Create a new
TestServletContextusing the supplied resource base path and resource loader. - TestServletContextListener - Class in io.microsphere.spring.test.web.servlet
-
ServletContextListenerfor testing - TestServletContextListener() - Constructor for class io.microsphere.spring.test.web.servlet.TestServletContextListener
- TestServletRegistration - Class in io.microsphere.spring.test.web.servlet
-
Test
ServletRegistration.Dynamic - TestServletRegistration(String, String, Servlet) - Constructor for class io.microsphere.spring.test.web.servlet.TestServletRegistration
- toString() - Method in class io.microsphere.spring.test.domain.User
- type() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabase
U
- USE_TEST_CLASSPATH - Enum constant in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Uses test dependencies rather than only runtime
- user(User) - Method in class io.microsphere.spring.test.web.controller.TestController
- User - Class in io.microsphere.spring.test.domain
-
User POJO
- User() - Constructor for class io.microsphere.spring.test.domain.User
- User(String, int) - Constructor for class io.microsphere.spring.test.domain.User
V
- value() - Element in annotation interface io.microsphere.spring.test.jdbc.embedded.EnableEmbeddedDatabases
- valueOf(String) - Static method in enum class io.microsphere.spring.test.jdbc.embedded.EmbeddedDatabaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.microsphere.spring.test.jdbc.embedded.EmbeddedDatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Returns an array containing the constants of this enum class, in the order they are declared.
- view() - Method in class io.microsphere.spring.test.web.controller.TestController
W
- WEB_APP_DEFAULTS - Enum constant in enum class io.microsphere.spring.test.tomcat.embedded.EmbeddedTomcatConfiguration.Feature
-
Provide default configuration for a context.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form