索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,
C, A>, C extends cn.taketoday.context.ConfigurableApplicationContext, A extends ApplicationContextAssertProvider<C>> - cn.taketoday.framework.test.context.runner中的类 -
Utility design to run an
ApplicationContextand provide AssertJ style assertions. - AbstractApplicationContextRunner(AbstractApplicationContextRunner.RunnerConfiguration<C>, Function<AbstractApplicationContextRunner.RunnerConfiguration<C>, SELF>) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Create a new
AbstractApplicationContextRunnerinstance. - AbstractApplicationContextRunner(Supplier<C>, Function<AbstractApplicationContextRunner.RunnerConfiguration<C>, SELF>) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Create a new
AbstractApplicationContextRunnerinstance. - AbstractApplicationContextRunner.BeanRegistration<T> - cn.taketoday.framework.test.context.runner中的类
-
A Bean registration to be applied when the context loaded.
- AbstractApplicationContextRunner.RunnerConfiguration<C extends cn.taketoday.context.ConfigurableApplicationContext> - cn.taketoday.framework.test.context.runner中的类
- AbstractContextLoader - cn.taketoday.test.context.support中的类
-
Abstract application context loader that provides a basis for all concrete implementations of the
ContextLoaderSPI. - AbstractContextLoader() - 类的构造器 cn.taketoday.test.context.support.AbstractContextLoader
- AbstractDelegatingSmartContextLoader - cn.taketoday.test.context.support中的类
-
AbstractDelegatingSmartContextLoaderserves as an abstract base class for implementations of theSmartContextLoaderSPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration. - AbstractDelegatingSmartContextLoader() - 类的构造器 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- AbstractDirtiesContextTestExecutionListener - cn.taketoday.test.context.support中的类
-
Abstract base class for
TestExecutionListenerimplementations that provide support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation. - AbstractDirtiesContextTestExecutionListener() - 类的构造器 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
- AbstractExpressionEvaluatingCondition - cn.taketoday.test.context.junit.jupiter中的类
-
Abstract base class for implementations of
ExecutionConditionthat evaluate expressions configured via annotations to determine if a container or test is enabled. - AbstractExpressionEvaluatingCondition() - 类的构造器 cn.taketoday.test.context.junit.jupiter.AbstractExpressionEvaluatingCondition
- AbstractGenericContextLoader - cn.taketoday.test.context.support中的类
-
Abstract, generic extension of
AbstractContextLoaderthat loads aGenericApplicationContext. - AbstractGenericContextLoader() - 类的构造器 cn.taketoday.test.context.support.AbstractGenericContextLoader
- AbstractGenericWebContextLoader - cn.taketoday.test.context.web中的类
-
Abstract, generic extension of
AbstractContextLoaderthat loads aGenericWebApplicationContext. - AbstractGenericWebContextLoader() - 类的构造器 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
- AbstractJsonMarshalTester<T> - cn.taketoday.framework.test.json中的类
-
Base class for AssertJ based JSON marshal testers.
- AbstractJsonMarshalTester() - 类的构造器 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Create a new uninitialized
AbstractJsonMarshalTesterinstance. - AbstractJsonMarshalTester(Class<?>, ResolvableType) - 类的构造器 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Create a new
AbstractJsonMarshalTesterinstance. - AbstractJsonMarshalTester.FieldInitializer<M> - cn.taketoday.framework.test.json中的类
-
Utility class used to support field initialization.
- AbstractJsonPathRequestMatcher() - 类的构造器 cn.taketoday.test.web.client.match.JsonPathRequestMatchers.AbstractJsonPathRequestMatcher
- AbstractJUnit4ContextTests - cn.taketoday.test.context.junit4中的类
-
Abstract base test class which integrates the Infra TestContext Framework with explicit
ApplicationContexttesting support in a JUnit 4 environment. - AbstractJUnit4ContextTests() - 类的构造器 cn.taketoday.test.context.junit4.AbstractJUnit4ContextTests
- AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>> - cn.taketoday.test.web.servlet.setup中的类
-
Abstract implementation of
MockMvcBuilderwith common methods for configuring filters, default request properties, global expectations and global result actions. - AbstractMockMvcBuilder() - 类的构造器 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- AbstractMockMvcServerSpec<B extends MockMvcWebTestClient.MockMvcServerSpec<B>> - cn.taketoday.test.web.servlet.client中的类
-
Base class for implementations of
MockMvcWebTestClient.MockMvcServerSpecthat simply delegates to aConfigurableMockMvcBuildersupplied by the concrete subclasses. - AbstractMockMvcServerSpec() - 类的构造器 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- AbstractMockRestServiceServerBuilder() - 类的构造器 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- AbstractMockServerSpec<B extends WebTestClient.MockServerSpec<B>> - cn.taketoday.test.web.reactive.server中的类
-
Base class for implementations of
WebTestClient.MockServerSpec. - AbstractMockServerSpec() - 类的构造器 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- AbstractRequestExpectationManager - cn.taketoday.test.web.client中的类
-
Base class for
RequestExpectationManagerimplementations responsible for storing expectations and actual requests, and checking for unsatisfied expectations at the end. - AbstractRequestExpectationManager() - 类的构造器 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- AbstractRequestExpectationManager.RequestExpectationGroup - cn.taketoday.test.web.client中的类
-
Helper class to manage a group of remaining expectations.
- AbstractTestContextBootstrapper - cn.taketoday.test.context.support中的类
-
Abstract implementation of the
TestContextBootstrapperinterface which provides most of the behavior required by a bootstrapper. - AbstractTestContextBootstrapper() - 类的构造器 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- AbstractTestExecutionListener - cn.taketoday.test.context.support中的类
-
Abstract ordered implementation of the
TestExecutionListenerAPI. - AbstractTestExecutionListener() - 类的构造器 cn.taketoday.test.context.support.AbstractTestExecutionListener
- AbstractTransactionalJUnit4ContextTests - cn.taketoday.test.context.junit4中的类
-
Abstract transactional extension of
AbstractJUnit4ContextTestswhich adds convenience functionality for JDBC access. - AbstractTransactionalJUnit4ContextTests() - 类的构造器 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
- AbstractXmlRequestMatcher() - 类的构造器 cn.taketoday.test.web.client.match.ContentRequestMatchers.AbstractXmlRequestMatcher
- accept(C) - 接口中的方法 cn.taketoday.framework.test.context.runner.ContextConsumer
-
Performs this operation on the supplied
context. - accept(ContextConsumer<? super A>, A) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- accept(MediaType...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the list of acceptable media types, as specified by the
Acceptheader. - accept(MediaType...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- accept(MediaType...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- accept(MediaType...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Set the list of acceptable media types, as specified by the
Acceptheader. - accept(MediaType...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the 'Accept' header to the given media type(s).
- accept(String...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the
Acceptheader using raw String values, possibly not even well-formed (for testing purposes). - acceptCharset(Charset...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the list of acceptable charsets, as specified by the
Accept-Charsetheader. - acceptCharset(Charset...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- acceptCharset(Charset...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- acceptCharset(Charset...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Set the list of acceptable charsets, as specified by the
Accept-Charsetheader. - acceptLanguageAsLocales(Locale...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the list of acceptable locales, as specified by the
Accept-Languagesheader. - acceptLanguageAsLocales(Locale...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- access() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- ACTIVATE_LISTENER - 类中的静态变量 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Attribute name for a
TestContextattribute which indicates that theServletTestExecutionListenershould be activated. - ACTIVATE_SERVLET_LISTENER - 类中的静态变量 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- active - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- activeProfiles - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- ActiveProfiles - cn.taketoday.test.context中的Annotation Interface
-
ActiveProfilesis a class-level annotation that is used to declare which active bean definition profiles should be used when loading anApplicationContextfor test classes. - ActiveProfilesResolver - cn.taketoday.test.context中的接口
-
Strategy interface for programmatically resolving which active bean definition profiles should be used when loading an
ApplicationContextfor a test class. - ActiveProfilesUtils - cn.taketoday.test.context.support中的类
-
Utility methods for working with
@ActiveProfilesandActiveProfilesResolvers. - ActiveProfilesUtils() - 类的构造器 cn.taketoday.test.context.support.ActiveProfilesUtils
- adaptJspWriter(Writer, HttpServletResponse) - 类中的静态方法 cn.taketoday.mock.web.MockBodyContent
- adaptRequest(HttpMethod, URI, Function<? super ClientHttpRequest, Mono<Void>>) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- adaptRequest(MockClientHttpRequest, Publisher<DataBuffer>) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- adaptResponse(MockServerHttpResponse, Flux<DataBuffer>) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- adaptResponse(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- add(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoBeans
- add(String, Supplier<Object>) - 接口中的方法 cn.taketoday.test.context.DynamicPropertyRegistry
-
Add a
Supplierfor the given property name to this registry. - add(List<T>, T) - 类中的静态方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- addAll(boolean, List<PropertySourceDescriptor>, List<PropertySourceDescriptor>) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Add all the supplied elements to the provided list, honoring the
prependflag. - addAll(boolean, List<String>, String...) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Add all the supplied elements to the provided list, honoring the
prependflag. - addAllExpectations(Collection<RequestExpectation>) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
- addBean(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- addBeans(Object...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- addBeans(List<?>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- addConfigAttributesClasses(ContextConfigurationAttributes, Class<?>[]) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- addCookie(Cookie) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addDateHeader(String, long) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addDefinition(AnnotatedElement, Definition, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- addDispatcherServletCustomizer(DispatcherServletCustomizer) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- addDispatcherServletCustomizer(DispatcherServletCustomizer) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
A more advanced that allows customizing any
DispatcherServletproperty. - addDispatchHandler(Runnable) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- addEndpoint(ServerEndpointConfig) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- addEndpoint(Class<?>) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- addEvent(ApplicationEvent) - 类中的方法 cn.taketoday.test.context.event.DefaultApplicationEvents
- addFile(MultipartFile) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
-
Add a file to this request.
- addFilter(Filter, String...) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- addFilter(Filter, String...) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Add a filter mapped to specific patterns.
- addFilter(Filter, String, Map<String, String>, EnumSet<DispatcherType>, String...) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- addFilter(Filter, String, Map<String, String>, EnumSet<DispatcherType>, String...) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Add a filter that will be initialized via
Filter.init(FilterConfig)with the given init parameters, and will also apply only to requests that match the given dispatcher types and URL patterns. - addFilter(String, Filter) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addFilter(String, Class<? extends Filter>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addFilter(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addFilters(Filter...) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- addFilters(Filter...) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Add filters mapped to all requests.
- addHeader(String, Object) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Add an HTTP header entry for the given name.
- addHeader(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addHeaderValue(String, Object) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addIncludedUrl(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addInitParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockFilterConfig
- addInitParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletConfig
- addInitParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addInlinedPropertiesToEnvironment(ConfigurableApplicationContext, String...) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Add the given inlined properties to the
Environmentof the suppliedcontext. - addInlinedPropertiesToEnvironment(ConfigurableEnvironment, String...) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Add the given inlined properties (in the form of key-value pairs) to the supplied
environment. - addInterceptors(InterceptorRegistry) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- addInterceptors(HandlerInterceptor...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Add interceptors mapped to all incoming requests.
- addIntHeader(String, int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- addJspFile(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addListener(AsyncListener) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- addListener(AsyncListener, ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- addListener(Class<? extends EventListener>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addListener(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addListener(T) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addMappedInterceptors(String[], HandlerInterceptor...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Add interceptors mapped to a set of path patterns.
- addMimeType(String, MediaType) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Adds a mime type mapping for use by
MockServletContext.getMimeType(String). - addMockServletContext(List<ApplicationContextInitializer>, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.WebConfigurer
- addParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Add a single value for the specified HTTP parameter.
- addParameter(String, String...) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Add an array of values for the specified HTTP parameter.
- addParameters(Map<String, ?>) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Add all provided parameters without replacing any existing values.
- addPart(Part) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- addPlaceholderValue(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
In a standalone setup there is no support for placeholder values embedded in request mappings.
- addPreferredLocale(Locale) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Add a new preferred locale, before any existing locales.
- addPropertiesAndLocations(List<PropertySourceDescriptor>, String[], Class<?>, String, boolean) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- addPropertiesAndLocationsFrom(MergedAnnotation<TestPropertySource>, Class<?>) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- addPropertiesFilesToEnvironment(ConfigurableApplicationContext, String...) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Add the
Propertiesfiles from the given resourcelocationsto theEnvironmentof the suppliedcontext. - addPropertiesFilesToEnvironment(ConfigurableEnvironment, ResourceLoader, String...) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- addPropertySourcesToEnvironment(ConfigurableApplicationContext, List<PropertySourceDescriptor>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Add property sources for the given
descriptorsto theEnvironmentof the suppliedcontext. - addPropertySourcesToEnvironment(ConfigurableEnvironment, ResourceLoader, List<PropertySourceDescriptor>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Add property sources for the given
descriptorsto the suppliedenvironment. - addRequestParameter(MockHttpServletRequest, NameValuePair) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- addRequestParams(MockHttpServletRequest, MultiValueMap<String, String>) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- addServlet(String, Servlet) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addServlet(String, Class<? extends Servlet>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addServlet(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- addSessionCookie(MockHttpServletRequest, String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- addTo(Map<String, Object>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues.Pair
- addToMap(Map<String, Object>, String, Object) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- addToMultiValueMap(MultiValueMap<String, T>, String, T[]) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- addToSources(PropertySources, TestPropertyValues.Type, String) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
- addUserRole(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- addValue(Object) - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- addValueArray(Object) - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- addValues(Collection<?>) - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- after() - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Create
settingsto be used with mocks where reset should occur after each test method runs. - AFTER - enum class 中的枚举常量 cn.taketoday.framework.test.mock.mockito.MockReset
-
Reset the mock after the test method runs.
- AFTER_CLASS - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
The associated
ApplicationContextwill be marked as dirty after the test class. - AFTER_EACH_TEST_METHOD - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
The associated
ApplicationContextwill be marked as dirty after each test method in the class. - AFTER_METHOD - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.MethodMode
-
The associated
ApplicationContextwill be marked as dirty after the corresponding test method. - AFTER_TEST_CLASS - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
The configured SQL scripts and statements will be executed once per test class after all test methods have run.
- AFTER_TEST_METHOD - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
The configured SQL scripts and statements will be executed after the corresponding test method.
- afterAll(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- afterAll(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Delegates to
TestContextManager.afterTestClass(). - afterConfigureAdded(WebTestClient.MockServerSpec<?>) - 接口中的方法 cn.taketoday.test.web.reactive.server.MockServerConfigurer
-
Invoked immediately, i.e. before this method returns.
- afterConfigurerAdded(WebTestClient.Builder, ClientHttpConnector) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClientConfigurer
-
Use methods on
WebTestClient.Builderto modify test client settings. - afterConfigurerAdded(ConfigurableMockMvcBuilder<?>) - 接口中的方法 cn.taketoday.test.web.servlet.setup.MockMvcConfigurer
-
Invoked immediately when this
MockMvcConfigureris added viaConfigurableMockMvcBuilder.apply(cn.taketoday.test.web.servlet.setup.MockMvcConfigurer). - afterConfigurerAdded(ConfigurableMockMvcBuilder<?>) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcConfigurerAdapter
- afterConfigurerAdded(ConfigurableMockMvcBuilder<?>) - 类中的方法 cn.taketoday.test.web.servlet.setup.SharedHttpSessionConfigurer
- afterEach(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- afterEach(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- afterExpectationsDeclared() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
Invoked at the time of the first actual request, which effectively means the expectations declaration phase is over.
- afterExpectationsDeclared() - 类中的方法 cn.taketoday.test.web.client.SimpleRequestExpectationManager
- afterExpectationsDeclared() - 类中的方法 cn.taketoday.test.web.client.UnorderedRequestExpectationManager
- afterTestClass() - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for post-processing a test class after execution of all tests within the class.
- afterTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- afterTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute SQL scripts configured via
@Sqlfor the suppliedTestContextonce per test class after all test methods have been run. - afterTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- afterTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.support.DirtiesContextTestExecutionListener
-
If the test class of the supplied test context is annotated with
@DirtiesContextand the class mode is set toAFTER_CLASS, the application context of the test context will be marked as dirty, and theREINJECT_DEPENDENCIES_ATTRIBUTEin the test context will be set totrue. - afterTestClass(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Post-processes a test class after execution of all tests within the class.
- AfterTestClass - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aAfterTestClassEventpublished by theEventPublishingTestExecutionListener. - AfterTestClassEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.afterTestClass(TestContext)is invoked. - AfterTestClassEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.AfterTestClassEvent
- afterTestExecution(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- afterTestExecution(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- afterTestExecution(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Post-processes a test immediately after execution of the test method in the supplied test context — for example, for timing or logging purposes.
- afterTestExecution(Object, Method, Throwable) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for post-processing a test immediately after execution of the test method in the supplied test context — for example, for timing or logging purposes.
- afterTestExecution(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- AfterTestExecution - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aAfterTestExecutionEventpublished by theEventPublishingTestExecutionListener. - AfterTestExecutionEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.afterTestExecution(TestContext)is invoked. - AfterTestExecutionEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.AfterTestExecutionEvent
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute SQL scripts configured via
@Sqlfor the suppliedTestContextafter the current test method. - afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.support.DirtiesContextTestExecutionListener
-
If the current test method of the supplied test context is annotated with
@DirtiesContextand the method mode is set toAFTER_METHOD, or if the test class is annotated with@DirtiesContextand the class mode is set toAFTER_EACH_TEST_METHOD, the application context of the test context will be marked as dirty and theREINJECT_DEPENDENCIES_ATTRIBUTEin the test context will be set totrue. - afterTestMethod(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Post-processes a test after execution of after lifecycle callbacks of the underlying test framework — for example, by tearing down test fixtures.
- afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
If a transaction is currently active for the supplied test context, this method will end the transaction and run
@AfterTransactionmethods. - afterTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
-
If the
ServletTestExecutionListener.RESET_REQUEST_CONTEXT_HOLDER_ATTRIBUTEin the suppliedTestContexthas a value ofBoolean.TRUE, this method will (1) clean up thread-local state after each test method by resetting Infra Web'sRequestContextHolderand (2) ensure that new mocks are injected into the test instance for subsequent tests by setting theDependencyInjectionTestExecutionListener.REINJECT_DEPENDENCIES_ATTRIBUTEin the test context totrue. - afterTestMethod(Object, Method, Throwable) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for post-processing a test after execution of after lifecycle callbacks of the underlying test framework — for example, tearing down test fixtures, ending a transaction, etc.
- AfterTestMethod - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aAfterTestMethodEventpublished by theEventPublishingTestExecutionListener. - AfterTestMethodEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.afterTestMethod(TestContext)is invoked. - AfterTestMethodEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.AfterTestMethodEvent
- AfterTransaction - cn.taketoday.test.context.transaction中的Annotation Interface
-
Test annotation which indicates that the annotated
voidmethod should be executed after a transaction is ended for a test method configured to run within a transaction via Framework's@Transactionalannotation. - all - 类中的变量 cn.taketoday.framework.test.system.OutputCapture
- ALL - enum class 中的枚举常量 cn.taketoday.test.context.TestConstructor.AutowireMode
-
All test constructor parameters will be autowired as if the constructor itself were annotated with
@Autowired,@jakarta.inject.Inject, or@javax.inject.Inject. - ALL_MAPPING_PATTERN - 类中的静态变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- allowBeanDefinitionOverriding - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- allowCircularReferences - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- alreadyPopulatedRequestContextHolder(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
- alwaysDo(ResultHandler) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- alwaysDo(ResultHandler) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Define a global action that should always be applied to every response.
- alwaysExpect(ResultMatcher) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- alwaysExpect(ResultMatcher) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Define a global expectation that should always be applied to every response.
- alwaysExpect(ResultMatcher) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- alwaysExpect(ResultMatcher) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Define a global expectation that should always be applied to every response.
- alwaysUseMockMvc - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
- alwaysUseMockMvc() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Specify that
MockMvcshould always be used regardless of what the request looks like. - and(Iterable<String>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValuesinstance with additional entries. - and(String...) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValuesinstance with additional entries. - and(Map<String, String>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValuesinstance with additional entries. - and(Stream<String>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValuesinstance with additional entries. - and(Stream<T>, Function<T, TestPropertyValues.Pair>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValuesinstance with additional entries. - andDo(ResultHandler) - 接口中的方法 cn.taketoday.test.web.servlet.ResultActions
-
Perform a general action.
- andExpect(RequestMatcher) - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- andExpect(RequestMatcher) - 接口中的方法 cn.taketoday.test.web.client.ResponseActions
-
Add a request expectation.
- andExpect(ResultMatcher) - 接口中的方法 cn.taketoday.test.web.servlet.ResultActions
-
Perform an expectation.
- andExpectAll(ResultMatcher...) - 接口中的方法 cn.taketoday.test.web.servlet.ResultActions
-
Perform multiple expectations, with the guarantee that all expectations will be asserted even if one or more expectations fail with an exception.
- andRespond(ResponseCreator) - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- andRespond(ResponseCreator) - 接口中的方法 cn.taketoday.test.web.client.ResponseActions
-
Define the response.
- andReturn() - 接口中的方法 cn.taketoday.test.web.servlet.ResultActions
-
Return the result of the executed request for direct access to the results.
- andThen(ContextConsumer<? super C>) - 接口中的方法 cn.taketoday.framework.test.context.runner.ContextConsumer
-
Returns a composed
ContextConsumerthat performs, in sequence, this operation followed by theafteroperation. - ANNOTATED - enum class 中的枚举常量 cn.taketoday.test.context.TestConstructor.AutowireMode
-
Each individual test constructor parameter will only be autowired if it is annotated with
@Autowired,@Qualifier, or@Value, or if the constructor itself is annotated with@Autowired,@jakarta.inject.Inject, or@javax.inject.Inject. - AnnotatedClassFinder - cn.taketoday.framework.test.context中的类
-
Utility class to find a class annotated with a particular annotation in a hierarchy.
- AnnotatedClassFinder(Class<? extends Annotation>) - 类的构造器 cn.taketoday.framework.test.context.AnnotatedClassFinder
-
Create a new instance with the
annotationTypeto find. - AnnotatedClassFinder.Cache - cn.taketoday.framework.test.context中的类
-
Cache implementation based on
LinkedHashMap. - annotation - 类中的变量 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- ANNOTATION_FILTERS - 类中的静态变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- AnnotationConfigContextLoader - cn.taketoday.test.context.support中的类
-
Concrete implementation of
AbstractGenericContextLoaderthat loads bean definitions from component classes. - AnnotationConfigContextLoader() - 类的构造器 cn.taketoday.test.context.support.AnnotationConfigContextLoader
- AnnotationConfigContextLoaderUtils - cn.taketoday.test.context.support中的类
-
Utility methods for
SmartContextLoadersthat deal with component classes (e.g.,@Configurationclasses). - AnnotationConfigContextLoaderUtils() - 类的构造器 cn.taketoday.test.context.support.AnnotationConfigContextLoaderUtils
- annotationConfigLoader - 类中的变量 cn.taketoday.test.context.support.DelegatingSmartContextLoader
- annotationConfigLoader - 类中的变量 cn.taketoday.test.context.web.WebDelegatingSmartContextLoader
- AnnotationConfigWebContextLoader - cn.taketoday.test.context.web中的类
-
Concrete implementation of
AbstractGenericWebContextLoaderthat loads bean definitions from annotated classes. - AnnotationConfigWebContextLoader() - 类的构造器 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
- AnnotationDescriptor(Class<?>, Class<?>, T) - 类的构造器 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- AnnotationDescriptor(Class<?>, T) - 类的构造器 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- annotations - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoAnnotationCollection
- annotations - 类中的变量 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- annotationType - 类中的变量 cn.taketoday.framework.test.context.AnnotatedClassFinder
- annotationTypes - 类中的变量 cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
- ansiOutputState - 类中的变量 cn.taketoday.framework.test.system.OutputCapture
- AnsiOutputState() - 类的构造器 cn.taketoday.framework.test.system.OutputCapture.AnsiOutputState
- answer - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockDefinition
- answer() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
The
Answerstype to use on the mock. - anything() - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Match to any request.
- AopBypassingVerificationStartedListener() - 类的构造器 cn.taketoday.framework.test.mock.mockito.SpyDefinition.AopBypassingVerificationStartedListener
- aopPresent - 类中的静态变量 cn.taketoday.test.util.ReflectionTestUtils
- AopTestUtils - cn.taketoday.test.util中的类
-
AopTestUtilsis a collection of AOP-related utility methods for use in unit and integration testing scenarios. - AopTestUtils() - 类的构造器 cn.taketoday.test.util.AopTestUtils
- AotContextLoader - cn.taketoday.test.context.aot中的接口
-
Strategy interface for loading an
ApplicationContextfor build-time AOT processing as well as run-time AOT execution for an integration test managed by the Infra TestContext Framework. - aotGenerator - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- AotMergedContextConfiguration - cn.taketoday.test.context.cache中的类
-
MergedContextConfigurationimplementation based on an AOT-generatedApplicationContextInitializerthat is used to load an AOT-optimizedApplicationContext. - AotMergedContextConfiguration(Class<?>, Class<? extends ApplicationContextInitializer>, MergedContextConfiguration, CacheAwareContextLoaderDelegate) - 类的构造器 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- AotTestAttributes - cn.taketoday.test.context.aot中的接口
-
Holder for metadata specific to ahead-of-time (AOT) support in the Infra TestContext Framework.
- AotTestAttributesCodeGenerator - cn.taketoday.test.context.aot中的类
-
Internal code generator for
AotTestAttributes. - AotTestAttributesCodeGenerator(Map<String, String>, GeneratedClasses) - 类的构造器 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- AotTestAttributesFactory - cn.taketoday.test.context.aot中的类
-
Factory for
AotTestAttributes. - AotTestAttributesFactory() - 类的构造器 cn.taketoday.test.context.aot.AotTestAttributesFactory
- aotTestContextInitializers - 类中的变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- aotTestContextInitializers - 类中的变量 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
- AotTestContextInitializers - cn.taketoday.test.context.aot中的类
-
AotTestContextInitializersprovides mappings from test classes to AOT-optimized context initializers. - AotTestContextInitializers() - 类的构造器 cn.taketoday.test.context.aot.AotTestContextInitializers
- AotTestContextInitializers(Map<String, Supplier<ApplicationContextInitializer>>, Map<String, Class<ApplicationContextInitializer>>) - 类的构造器 cn.taketoday.test.context.aot.AotTestContextInitializers
- AotTestContextInitializersCodeGenerator - cn.taketoday.test.context.aot中的类
-
Internal code generator for mappings used by
AotTestContextInitializers. - AotTestContextInitializersCodeGenerator(MultiValueMap<ClassName, Class<?>>, GeneratedClasses) - 类的构造器 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- AotTestContextInitializersFactory - cn.taketoday.test.context.aot中的类
-
Factory for
AotTestContextInitializers. - AotTestContextInitializersFactory() - 类的构造器 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- AotTestExecutionListener - cn.taketoday.test.context.aot中的接口
-
AotTestExecutionListeneris an extension of theTestExecutionListenerSPI that allows a listener to optionally provide ahead-of-time (AOT) support. - append(StringBuilder, Predicate<OutputCapture.Type>) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- appendNonMatchingSetsErrorMessage(Set<String>, Set<String>, StringBuilder) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
- applicationContext - 类中的变量 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- applicationContext - 类中的变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- applicationContext - 异常错误中的变量 cn.taketoday.test.context.ContextLoadException
- applicationContext - 类中的变量 cn.taketoday.test.context.junit4.AbstractJUnit4ContextTests
-
The
ApplicationContextthat was injected into this test instance viaAbstractJUnit4ContextTests.setApplicationContext(ApplicationContext). - ApplicationContextAssert<C extends cn.taketoday.context.ApplicationContext> - cn.taketoday.framework.test.context.assertj中的类
-
AssertJ
assertionsthat can be applied to anApplicationContext. - ApplicationContextAssert(C, Throwable) - 类的构造器 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Create a new
ApplicationContextAssertinstance. - ApplicationContextAssert.ContextFailedToStart<C extends cn.taketoday.context.ApplicationContext> - cn.taketoday.framework.test.context.assertj中的类
- ApplicationContextAssert.Scope - cn.taketoday.framework.test.context.assertj中的Enum Class
-
The scope of an assertion.
- ApplicationContextAssertProvider<C extends cn.taketoday.context.ApplicationContext> - cn.taketoday.framework.test.context.assertj中的接口
-
An
ApplicationContextthat additionally supports AssertJ style assertions. - ApplicationContextFailureProcessor - cn.taketoday.test.context中的接口
-
Strategy for components that process failures related to application contexts within the Infra TestContext Framework.
- ApplicationContextInitializerUtils - cn.taketoday.test.context.support中的类
-
Utility methods for working with
ApplicationContextInitializers. - ApplicationContextInitializerUtils() - 类的构造器 cn.taketoday.test.context.support.ApplicationContextInitializerUtils
- ApplicationContextMockMvcSpec - cn.taketoday.test.web.servlet.client中的类
-
Simple wrapper around a
DefaultMockMvcBuilder. - ApplicationContextMockMvcSpec(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.client.ApplicationContextMockMvcSpec
- ApplicationContextRunner - cn.taketoday.framework.test.context.runner中的类
-
An
ApplicationContext runnerfor a standard, non-web environmentConfigurableApplicationContext. - ApplicationContextRunner() - 类的构造器 cn.taketoday.framework.test.context.runner.ApplicationContextRunner
-
Create a new
ApplicationContextRunnerinstance using anAnnotationConfigApplicationContextas the underlying source. - ApplicationContextRunner(AbstractApplicationContextRunner.RunnerConfiguration<ConfigurableApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.ApplicationContextRunner
- ApplicationContextRunner(Supplier<ConfigurableApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.ApplicationContextRunner
-
Create a new
ApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source. - ApplicationContextTestUtils - cn.taketoday.framework.test.util中的类
-
Application context related test utilities.
- ApplicationContextTestUtils() - 类的构造器 cn.taketoday.framework.test.util.ApplicationContextTestUtils
- applicationContextType - 类中的变量 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- applicationEvents - 类中的静态变量 cn.taketoday.test.context.event.ApplicationEventsHolder
- ApplicationEvents - cn.taketoday.test.context.event中的接口
-
ApplicationEventsencapsulates all application events that were fired during the execution of a single test method. - ApplicationEventsApplicationListener - cn.taketoday.test.context.event中的类
-
ApplicationListenerthat listens to all events and adds them to the currentApplicationEventsinstance if registered for the current thread. - ApplicationEventsApplicationListener() - 类的构造器 cn.taketoday.test.context.event.ApplicationEventsApplicationListener
- ApplicationEventsHolder - cn.taketoday.test.context.event中的类
-
Holder class to expose the application events published during the execution of a test in the form of a thread-bound
ApplicationEventsobject. - ApplicationEventsHolder() - 类的构造器 cn.taketoday.test.context.event.ApplicationEventsHolder
- applicationEventsMonitor - 类中的静态变量 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- ApplicationEventsObjectFactory() - 类的构造器 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener.ApplicationEventsObjectFactory
- ApplicationEventsTestExecutionListener - cn.taketoday.test.context.event中的类
-
TestExecutionListenerwhich provides support forApplicationEvents. - ApplicationEventsTestExecutionListener() - 类的构造器 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- ApplicationEventsTestExecutionListener.ApplicationEventsObjectFactory - cn.taketoday.test.context.event中的类
-
Factory that exposes the current
ApplicationEventsobject on demand. - apply(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.BeanRegistration
- apply(MockReset, MockSettings) - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Apply
MockResetto existingsettings. - apply(MockServerConfigurer) - 类中的方法 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- apply(MockServerConfigurer) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.MockServerSpec
-
Shortcut for pre-packaged customizations to the mock server setup.
- apply(WebTestClientConfigurer) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- apply(WebTestClientConfigurer) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Apply the given configurer to this builder instance.
- apply(MockMvcConfigurer) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- apply(MockMvcConfigurer) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Add a
MockMvcConfigurerthat automates MockMvc setup. - apply(MockMvcConfigurer) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- apply(MockMvcConfigurer) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Add a
MockMvcConfigurerthat automates MockMvc setup and configures it for some specific purpose (e.g. security). - apply(Map<String, ?>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues.SystemPropertiesHandler
- apply(Statement, Description) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
- apply(Statement, Description) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Apply class-level features of the Infra TestContext Framework to the supplied
basestatement. - apply(Statement, FrameworkMethod, Object) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Apply instance-level and method-level features of the TestContext Framework to the supplied
basestatement. - applyCookies() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- applyCookies() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- applyCookiesIfNecessary() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- applyDefaultResultActions(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
- applyHeaders() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- applyHeaders() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- applyRootUriIfNecessary(URI) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
- applyStatusCode() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- applySuffix(String) - enum class中的方法 cn.taketoday.test.util.TestPropertyValues.Type
- applyTo(RootBeanDefinition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- applyTo(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties from the underlying map to the environment owned by an
ApplicationContext. - applyTo(ConfigurableEnvironment) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties from the underlying map to the environment.
- applyTo(ConfigurableEnvironment, TestPropertyValues.Type) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties from the underlying map to the environment using the specified property source type.
- applyTo(ConfigurableEnvironment, TestPropertyValues.Type, String) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties from the underlying map to the environment using the specified property source type and name.
- applyToSystemProperties(Runnable) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties to the
system propertiesfor the duration of theaction, restoring previous values when it completes. - applyToSystemProperties(Callable<T>) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
-
Add the properties to the
system propertiesfor the duration of thecall, restoring previous values when it completes. - areAllEmpty(Collection<?>...) - 类中的静态方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- args - 类中的变量 cn.taketoday.framework.test.context.InfraTestArgs
- args() - annotation interface 中的元素 cn.taketoday.framework.test.context.InfraTest
-
Application arguments that should be passed to the application under test.
- asArray() - 类中的方法 cn.taketoday.framework.test.json.ObjectContentAssert
-
Verifies that the actual value is an array, and returns an array assertion, to allow chaining of array-specific assertions from this call.
- asClassSet(Class<?>[]) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- asMap() - 类中的方法 cn.taketoday.framework.test.json.ObjectContentAssert
-
Verifies that the actual value is a map, and returns a map assertion, to allow chaining of map-specific assertions from this call.
- AssertableApplicationContext - cn.taketoday.framework.test.context.assertj中的接口
-
An
ApplicationContextthat additionally supports AssertJ style assertions. - AssertableReactiveWebApplicationContext - cn.taketoday.framework.test.context.assertj中的接口
-
A
ReactiveWebApplicationContextthat additionally supports AssertJ style assertions. - AssertableWebApplicationContext - cn.taketoday.framework.test.context.assertj中的接口
-
A
WebApplicationContextthat additionally supports AssertJ style assertions. - assertAndReturnModelAttributeOfType(ModelAndView, String, Class<T>) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Checks whether the model value under the given
modelNameexists and checks it type, based on theexpectedType. - assertAsyncStarted(HttpServletRequest) - 类中的静态方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
- assertBoolean(byte[], String, boolean) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content as a Boolean.
- assertCompareListModelAttribute(ModelAndView, String, List) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Compare each individual entry in a list, without first sorting the lists.
- assertDoesNotHaveEmptyValue() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertDoesNotHavePath() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertDoesNotHaveValue() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertEmpty() - 类中的方法 cn.taketoday.test.util.ExceptionCollector
-
Assert that this
ExceptionCollectordoes not contain any exceptions. - assertEquals(String, Object, Object) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert two objects are equal and raise an
AssertionErrorotherwise. - assertExistsAndReturn(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
- assertFalse(String, boolean) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert the given condition is
falseand raise anAssertionErrorotherwise. - assertHasEmptyValue() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertHasNoBeanMethods(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizerFactory
- assertHasNoBeanMethods(Method) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizerFactory
- assertHasPath() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertHasValue(Class<?>, String) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- assertHeader(String, Object, Object) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
- AssertionErrors - cn.taketoday.test.util中的类
-
Test assertions that are independent of any third-party assertion library.
- AssertionErrors() - 类的构造器 cn.taketoday.test.util.AssertionErrors
- assertIsValid() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
Convenience method for asserting that this session has not been invalidated.
- assertJsonEqual(String, String) - 类中的方法 cn.taketoday.test.util.JsonExpectationsHelper
-
Parse the expected and actual strings as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting with lenient checking (extensible content and non-strict array ordering).
- assertJsonEqual(String, String, boolean) - 类中的方法 cn.taketoday.test.util.JsonExpectationsHelper
-
Parse the expected and actual strings as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting.
- assertJsonNotEqual(String, String) - 类中的方法 cn.taketoday.test.util.JsonExpectationsHelper
-
Parse the expected and actual strings as JSON and assert the two are "not similar" - i.e. they contain different attribute-value pairs regardless of formatting with a lenient checking (extensible, and non-strict array ordering).
- assertJsonNotEqual(String, String, boolean) - 类中的方法 cn.taketoday.test.util.JsonExpectationsHelper
-
Parse the expected and actual strings as JSON and assert the two are "not similar" - i.e. they contain different attribute-value pairs regardless of formatting.
- assertModelAttributeAvailable(ModelAndView, String) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Assert whether or not a model attribute is available.
- assertModelAttributeValue(ModelAndView, String, Object) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Compare a given
expectedValueto the value from the model bound under the givenmodelName. - assertModelAttributeValues(ModelAndView, Map<String, Object>) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Inspect the
expectedModelto see if all elements in the model appear and are equal. - assertNode(byte[], String, Matcher<? super Node>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Parse the content, evaluate the XPath expression as a
Node, and assert it with the givenMatcher<Node>. - assertNode(String, Matcher<? super Node>) - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper
-
Parse the content as
Nodeand apply aMatcher. - assertNodeCount(byte[], String, int) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content as an integer.
- assertNodeCount(byte[], String, Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.
- assertNodeList(byte[], String, Matcher<? super NodeList>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Parse the content, evaluate the XPath expression as a
NodeList, and assert it with the givenMatcher<NodeList>. - assertNonEmptyAnnotationTypeArray(Class<?>[], String) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
- assertNotEquals(String, Object, Object) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert two objects are not equal and raise an
AssertionErrorotherwise. - assertNotFailed(JSONCompareResult) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- assertNotInAotRuntime() - 类中的静态方法 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- assertNotNull(String, Object) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert that the given object is not
nulland raise anAssertionErrorotherwise. - assertNotPassed(JSONCompareResult) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- assertNull(String, Object) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert that the given object is
nulland raise anAssertionErrorotherwise. - assertNumber(byte[], String, Double) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content as a Double.
- assertNumber(byte[], String, Matcher<? super Double>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.
- assertPreconditions(Set<Path>) - 类中的静态方法 cn.taketoday.test.context.aot.TestClassScanner
- AssertProviderApplicationContextInvocationHandler - cn.taketoday.framework.test.context.assertj中的类
-
InvocationHandlerused byApplicationContextAssertProvidergenerated proxies. - AssertProviderApplicationContextInvocationHandler(Class<?>, Supplier<?>) - 类的构造器 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- assertSameBooleanAttribute(boolean, boolean, String, TestPropertySourceAttributes) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- assertSeriesAndReturn(HttpStatus.Series) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
- assertSortAndCompareListModelAttribute(ModelAndView, String, List, Comparator) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Compare each individual entry in a list after having sorted both lists (optionally using a comparator).
- assertSource(String, Matcher<? super Source>) - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper
-
Parse the content as
DOMSourceand apply aMatcher. - assertStatusAndReturn(HttpStatusCode) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
- assertString(byte[], String, String) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content as a String.
- assertString(byte[], String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.
- assertThat() - 接口中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
-
已过时。
- assertThat() - 类中的方法 cn.taketoday.framework.test.json.JsonContent
-
已过时。to prevent accidental use. Prefer standard AssertJ
assertThat(context)...calls instead. - assertThat() - 类中的方法 cn.taketoday.framework.test.json.ObjectContent
- assertTrue(String, boolean) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Assert the given condition is
trueand raise anAssertionErrorotherwise. - assertValid(Method) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- assertValue(String, Object) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the result is equal to the expected value. - assertValue(String, Matcher<? super T>) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert the resulting value with the givenMatcher. - assertValue(String, Matcher<? super T>, Class<T>) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
An overloaded variant of
JsonPathExpectationsHelper.assertValue(String, Matcher)that also accepts a target type for the resulting value. - assertValueCount(String, String, MultiValueMap<String, String>, int) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
- assertValueIsArray(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the resulting value is an array. - assertValueIsBoolean(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the resulting value is aBoolean. - assertValueIsEmpty(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that an empty value exists at the given path. - assertValueIsMap(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the resulting value is aMap. - assertValueIsNotEmpty(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that a non-empty value exists at the given path. - assertValueIsNumber(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the resulting value is aNumber. - assertValueIsString(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that the resulting value is aString. - assertViewName(ModelAndView, String) - 类中的静态方法 cn.taketoday.test.web.ModelAndViewAssert
-
Check to see if the view name in the ModelAndView matches the given
expectedName. - assertWith(XpathAssertions.CheckedExceptionTask) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- assertWithDiagnostics(Runnable) - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Execute the given Runnable, catch any
AssertionError, log details about the request and response at ERROR level under the class log category, and after that re-throw the error. - assertXmlEqual(String, String) - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper
-
Parse the expected and actual content strings as XML and assert that the two are "similar" -- i.e. they contain the same elements and attributes regardless of order.
- asyncContext - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- asyncDispatch(MvcResult) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
RequestBuilderfor an async dispatch from theMvcResultof the request that started async processing. - asyncDispatchLatch - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- asyncNotStarted() - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert that asynchronous processing was not started.
- asyncRequestTimeout - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- asyncRequestTimeout(long) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Specify the timeout value for async execution.
- asyncRequestTimeout(long) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- asyncResult - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- asyncResult(Object) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert the result from asynchronous processing.
- asyncResult(Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert the result from asynchronous processing with the given matcher.
- asyncStarted - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- asyncStarted() - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert whether asynchronous processing started, usually as a result of a controller method returning
CallableorDeferredResult. - asyncSupported - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- attribute(String, Object) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- attribute(String, Object) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Set the attribute with the given name to the given value.
- attribute(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.result.FlashAttributeResultMatchers
-
Assert a flash attribute's value.
- attribute(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert a model attribute value.
- attribute(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert a request attribute value.
- attribute(String, Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.FlashAttributeResultMatchers
-
Assert a flash attribute's value with the given Hamcrest
Matcher. - attribute(String, Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert a model attribute value with the given Hamcrest
Matcher. - attribute(String, Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert a request attribute value with the given Hamcrest
Matcher. - attributeCount(int) - 类中的方法 cn.taketoday.test.web.servlet.result.FlashAttributeResultMatchers
-
Assert the number of flash attributes.
- attributeDoesNotExist(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attributes do not exist.
- attributeErrorCount(String, int) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attribute(s) have errors.
- attributeExists(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.FlashAttributeResultMatchers
-
Assert the existence of the given flash attributes.
- attributeExists(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attributes exist.
- attributeHasErrors(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attribute(s) have errors.
- attributeHasFieldErrorCode(String, String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert a field error code for a model attribute using exact String match.
- attributeHasFieldErrorCode(String, String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert a field error code for a model attribute using a
Matcher. - attributeHasFieldErrors(String, String...) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attribute field(s) have errors.
- attributeHasNoErrors(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the given model attribute(s) do not have errors.
- attributes - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- attributes - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- attributes - 类中的变量 cn.taketoday.mock.web.MockPageContext
- attributes - 类中的变量 cn.taketoday.mock.web.MockServletContext
- attributes - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- attributes - 类中的变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- attributes - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesFactory
- attributes - 类中的变量 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- attributes - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- attributes - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- attributes(Consumer<Map<String, Object>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- attributes(Consumer<Map<String, Object>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Manipulate the request attributes with the given consumer.
- attributeSource - 类中的变量 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
- authenticate(HttpServletResponse) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- authType - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- authType(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- AUTOWIRED_VALIDATION_NAMESPACE - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
ExtensionContext.Namespacein which@Autowiredvalidation error messages are stored, keyed by test class. - autowiredAnnotationTypes - 类中的静态变量 cn.taketoday.test.context.support.TestConstructorUtils
- autowiredTestOrLifecycleMethodFilter - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
- autowireMode() - annotation interface 中的元素 cn.taketoday.test.context.TestConstructor
-
Flag for setting the test constructor autowire mode for the current test class.
- AutowireMode() - enum class的构造器 cn.taketoday.test.context.TestConstructor.AutowireMode
- available() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- awaitAsyncDispatch(long) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
-
True if the latch count reached 0 within the specified timeout.
B
- baseUrl - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- baseUrl(String) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- baseUrl(String) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Configure a base URI as described in
WebClient.create(String). - BasicJsonTester - cn.taketoday.framework.test.json中的类
-
AssertJ based JSON tester that works with basic JSON strings.
- BasicJsonTester() - 类的构造器 cn.taketoday.framework.test.json.BasicJsonTester
-
Create a new uninitialized
BasicJsonTesterinstance. - BasicJsonTester(Class<?>) - 类的构造器 cn.taketoday.framework.test.json.BasicJsonTester
-
Create a new
BasicJsonTesterinstance that will load resources as UTF-8. - BasicJsonTester(Class<?>, Charset) - 类的构造器 cn.taketoday.framework.test.json.BasicJsonTester
-
Create a new
BasicJsonTesterinstance. - BEAN_NAME - 类中的静态变量 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- BEAN_NAME - 类中的静态变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsCleanupPostProcessor
- BEAN_NAME - 类中的静态变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsConfiguration
- BEAN_NAME - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- BEAN_NAME - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- beanFactory - 类中的变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsSelector
- beanFactory - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- beanFactory - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- beanFactory - 类中的变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- beanNameGenerator - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- beanNameRegistry - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- BeanRegistration(String, Class<T>, Object...) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.BeanRegistration
- BeanRegistration(String, Class<T>, Supplier<T>, BeanDefinitionCustomizer...) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.BeanRegistration
- beanRegistrations - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- beans - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoBeans
- before() - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Create
settingsto be used with mocks where reset should occur before each test method runs. - BEFORE - enum class 中的枚举常量 cn.taketoday.framework.test.mock.mockito.MockReset
-
Reset the mock before the test method runs.
- BEFORE_CLASS - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
The associated
ApplicationContextwill be marked as dirty before the test class. - BEFORE_EACH_TEST_METHOD - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
The associated
ApplicationContextwill be marked as dirty before each test method in the class. - BEFORE_METHOD - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.MethodMode
-
The associated
ApplicationContextwill be marked as dirty before the corresponding test method. - BEFORE_TEST_CLASS - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
The configured SQL scripts and statements will be executed once per test class before any test method is run.
- BEFORE_TEST_METHOD - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
The configured SQL scripts and statements will be executed before the corresponding test method.
- beforeAll(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- beforeAll(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Delegates to
TestContextManager.beforeTestClass(). - beforeEach(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- beforeEach(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- beforeMockMvcCreated(ConfigurableMockMvcBuilder<?>, WebApplicationContext) - 接口中的方法 cn.taketoday.test.web.servlet.setup.MockMvcConfigurer
-
Invoked when the MockMvc instance is about to be created with the MockMvc builder and the Infra WebApplicationContext that will be passed to the
DispatcherServlet. - beforeMockMvcCreated(ConfigurableMockMvcBuilder<?>, WebApplicationContext) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcConfigurerAdapter
- beforeMockMvcCreated(ConfigurableMockMvcBuilder<?>, WebApplicationContext) - 类中的方法 cn.taketoday.test.web.servlet.setup.SharedHttpSessionConfigurer
- beforeOrAfterTestClass(TestContext, DirtiesContext.ClassMode) - 类中的方法 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
-
Perform the actual work for
AbstractTestExecutionListener.beforeTestClass(cn.taketoday.test.context.TestContext)andAbstractTestExecutionListener.afterTestClass(cn.taketoday.test.context.TestContext)by dirtying the context if appropriate (i.e., according to the required mode). - beforeOrAfterTestMethod(TestContext, DirtiesContext.MethodMode, DirtiesContext.ClassMode) - 类中的方法 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
-
Perform the actual work for
AbstractTestExecutionListener.beforeTestMethod(cn.taketoday.test.context.TestContext)andAbstractTestExecutionListener.afterTestMethod(cn.taketoday.test.context.TestContext)by dirtying the context if appropriate (i.e., according to the required modes). - beforeTestClass() - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for pre-processing a test class before execution of any tests within the class.
- beforeTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- beforeTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute SQL scripts configured via
@Sqlfor the suppliedTestContextonce per test class before any test method is run. - beforeTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- beforeTestClass(TestContext) - 类中的方法 cn.taketoday.test.context.support.DirtiesContextBeforeModesTestExecutionListener
-
If the test class of the supplied test context is annotated with
@DirtiesContextand the class mode is set toBEFORE_CLASS, the application context of the test context will be marked as dirty, and theREINJECT_DEPENDENCIES_ATTRIBUTEin the test context will be set totrue. - beforeTestClass(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Pre-processes a test class before execution of all tests within the class.
- BeforeTestClass - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aBeforeTestClassEventpublished by theEventPublishingTestExecutionListener. - BeforeTestClassEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.beforeTestClass(TestContext)is invoked. - BeforeTestClassEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.BeforeTestClassEvent
- beforeTestExecution(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- beforeTestExecution(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- beforeTestExecution(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Pre-processes a test immediately before execution of the test method in the supplied test context — for example, for timing or logging purposes.
- beforeTestExecution(Object, Method) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for pre-processing a test immediately before execution of the test method in the supplied test context — for example, for timing or logging purposes.
- beforeTestExecution(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- BeforeTestExecution - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aBeforeTestExecutionpublished by theEventPublishingTestExecutionListener. - BeforeTestExecutionEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.beforeTestExecution(TestContext)is invoked. - BeforeTestExecutionEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.BeforeTestExecutionEvent
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute SQL scripts configured via
@Sqlfor the suppliedTestContextbefore the current test method. - beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
If the
DependencyInjectionTestExecutionListener.REINJECT_DEPENDENCIES_ATTRIBUTEin the suppliedtest contexthas a value ofBoolean.TRUE, this method will have the same effect asprepareTestInstance(); otherwise, this method will have no effect. - beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.support.DirtiesContextBeforeModesTestExecutionListener
-
If the current test method of the supplied test context is annotated with
@DirtiesContextand the method mode is set toBEFORE_METHOD, or if the test class is annotated with@DirtiesContextand the class mode is set toBEFORE_EACH_TEST_METHOD, the application context of the test context will be marked as dirty and theREINJECT_DEPENDENCIES_ATTRIBUTEin the test context will be set totrue. - beforeTestMethod(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Pre-processes a test before execution of before lifecycle callbacks of the underlying test framework — for example, by setting up test fixtures.
- beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
If the test method of the supplied test context is configured to run within a transaction, this method will run
@BeforeTransactionmethods and start a new transaction. - beforeTestMethod(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Sets up thread-local state before each test method via Infra Web's
RequestContextHolder, but only if the test class is annotated with@WebAppConfiguration. - beforeTestMethod(Object, Method) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for pre-processing a test before execution of before lifecycle callbacks of the underlying test framework — for example, setting up test fixtures, starting a transaction, etc.
- BeforeTestMethod - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aBeforeTestMethodEventpublished by theEventPublishingTestExecutionListener. - BeforeTestMethodEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.beforeTestMethod(TestContext)is invoked. - BeforeTestMethodEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.BeforeTestMethodEvent
- BeforeTransaction - cn.taketoday.test.context.transaction中的Annotation Interface
-
Test annotation which indicates that the annotated
voidmethod should be executed before a transaction is started for a test method configured to run within a transaction via Framework's@Transactionalannotation. - between(int, int) - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
Between
minandmaxnumber of times. - bindTo(MockMvc) - 接口中的静态方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient
-
Begin creating a
WebTestClientby providing an already initializedMockMvcinstance to use as the server. - bindTo(RestClient.Builder) - 类中的静态方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Return a builder for a
MockRestServiceServerthat should be used to reply to the givenRestTemplate. - bindTo(RestTemplate) - 类中的静态方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
-
Return a bound
MockRestServiceServerfor the givenRestTemplate, configured withRootUriRequestExpectationManagerwhen possible. - bindTo(RestTemplate) - 类中的静态方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Return a builder for a
MockRestServiceServerthat should be used to reply to the givenRestTemplate. - bindTo(RestTemplate, RequestExpectationManager) - 类中的静态方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
-
Return a bound
MockRestServiceServerfor the givenRestTemplate, configured withRootUriRequestExpectationManagerwhen possible. - bindTo(RestGatewaySupport) - 类中的静态方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Return a builder for a
MockRestServiceServerthat should be used to reply to the givenRestGatewaySupport. - bindToApplicationContext(WebApplicationContext) - 接口中的静态方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient
-
Begin creating a
WebTestClientby providing aWebApplicationContextwith Web MVC infrastructure and controllers. - bindToController(Object...) - 接口中的静态方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient
-
Begin creating a
WebTestClientby providing the@Controllerinstance(s) to handle requests with. - bindToRouterFunction(RouterFunction<?>) - 接口中的静态方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Use this option to set up a server from a
RouterFunction. - bindToServer() - 接口中的静态方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
This server setup option allows you to connect to a live server through a Reactor Netty client connector.
- bindToServer(ClientHttpConnector) - 接口中的静态方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
A variant of
WebTestClient.bindToServer()with a pre-configured connector. - blockCommentEndDelimiter - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- blockCommentEndDelimiter() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The end delimiter that identifies block comments within the SQL scripts.
- blockCommentStartDelimiter - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- blockCommentStartDelimiter() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The start delimiter that identifies block comments within the SQL scripts.
- body - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- body - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- body - 类中的变量 cn.taketoday.mock.http.MockHttpInputMessage
- body - 类中的变量 cn.taketoday.mock.http.MockHttpOutputMessage
- body - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- body - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- body - 类中的变量 cn.taketoday.test.web.reactive.server.EntityExchangeResult
- body - 类中的变量 cn.taketoday.test.web.reactive.server.FluxExchangeResult
- body(byte[]) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the body as a byte array.
- body(Resource) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the body from a
Resource. - body(BodyInserter<?, ? super ClientHttpRequest>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- body(BodyInserter<?, ? super ClientHttpRequest>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the body of the request to the given
BodyInserter. - body(Object, ParameterizedTypeReference<?>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- body(Object, ParameterizedTypeReference<?>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the body from the given producer.
- body(Object, Class<?>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- body(Object, Class<?>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the body from the given producer.
- body(String) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BodyBuilder
-
Set the body of the request and build it.
- body(String) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- body(String) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the body as a UTF-8 String.
- body(String, Charset) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the body from a string using the given character set.
- body(Publisher<? extends DataBuffer>) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BodyBuilder
-
Set the body of the request and build it.
- body(Publisher<? extends DataBuffer>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- body(P, ParameterizedTypeReference<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- body(P, Class<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- body(S, ParameterizedTypeReference<T>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Variant of
WebTestClient.RequestBodySpec.body(Publisher, Class)that allows providing element type information with generics. - body(S, Class<T>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the body from the given
Publisher. - bodySpec - 类中的变量 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- bodySpec - 类中的变量 cn.taketoday.test.web.reactive.server.XpathAssertions
- bodyValue(Object) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- bodyValue(Object) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the body to the given
Objectvalue. - booleanValue(Boolean) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the boolean value found.
- booleanValue(Boolean) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the
Booleanvalue found. - bootstrapContext - 类中的变量 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- BootstrapContext - cn.taketoday.test.context中的接口
-
BootstrapContextencapsulates the context in which the Infra TestContext Framework is bootstrapped. - BootstrapUtils - cn.taketoday.test.context中的类
-
BootstrapUtilsis a collection of utility methods to assist with bootstrapping the TestContext Framework. - BootstrapUtils() - 类的构造器 cn.taketoday.test.context.BootstrapUtils
- BootstrapWith - cn.taketoday.test.context中的Annotation Interface
-
@BootstrapWithdefines class-level metadata that is used to determine how to bootstrap the TestContext Framework. - buffer - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- bufferContent - 类中的变量 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- bufferContent - 类中的变量 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- bufferContent() - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- bufferContent() - 接口中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockRestServiceServerBuilder
-
Use the
BufferingClientHttpRequestFactorywrapper to buffer the input and output streams, and for example, allow multiple reads of the response body. - bufferFactory() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- bufferSize - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- build() - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Builds the request with no body.
- build() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- build() - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- build() - 接口中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockRestServiceServerBuilder
-
Build the
MockRestServiceServerand set up the underlyingRestTemplatewith aClientHttpRequestFactorythat creates mock requests. - build() - 类中的方法 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- build() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- build() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Build the
WebTestClientinstance. - build() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.MockServerSpec
-
Shortcut to build the test client.
- build() - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- build() - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Shortcut to build the test client.
- build() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
-
Build the
WebClientconfigured via this builder. - build() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- build() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Build the
HtmlUnitDriverconfigured via this builder. - build() - 接口中的方法 cn.taketoday.test.web.servlet.MockMvcBuilder
-
Build a
MockMvcinstance. - build() - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
-
Build a
MockMvcinstance. - build(RequestExpectationManager) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- build(RequestExpectationManager) - 接口中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockRestServiceServerBuilder
-
An overloaded build alternative that accepts a custom
RequestExpectationManager. - build(Predicate<OutputCapture.Type>) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- buildContextHierarchyMap(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.ContextLoaderUtils
-
Build a context hierarchy map for the supplied test class and its superclasses, taking into account context hierarchies declared via
@ContextHierarchyand@ContextConfiguration. - buildDefaultMergedContextConfiguration(Class<?>, CacheAwareContextLoaderDelegate) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- buildDynamicPropertiesMap() - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- builder - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplate
- builder - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- buildMergedContextConfiguration() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Build the merged context configuration for the test class in the
BootstrapContextassociated with this bootstrapper. - buildMergedContextConfiguration() - 接口中的方法 cn.taketoday.test.context.TestContextBootstrapper
-
Build the merged context configuration for the test class in the
BootstrapContextassociated with this bootstrapper. - buildMergedContextConfiguration(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- buildMergedContextConfiguration(Class<?>, List<ContextConfigurationAttributes>, MergedContextConfiguration, CacheAwareContextLoaderDelegate, boolean) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Build the
merged context configurationfor the suppliedtestClass, context configuration attributes, and parent context configuration. - buildMergedTestPropertySources(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- buildRequest(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- buildRequest(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Build a
MockHttpServletRequest. - buildRequest(ServletContext) - 接口中的方法 cn.taketoday.test.web.servlet.RequestBuilder
-
Build the request.
- buildTestContext() - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- buildTestContext() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Build a new
DefaultTestContextusing the test class in theBootstrapContextassociated with this bootstrapper and by delegating toAbstractTestContextBootstrapper.buildMergedContextConfiguration()andAbstractTestContextBootstrapper.getCacheAwareContextLoaderDelegate(). - buildTestContext() - 接口中的方法 cn.taketoday.test.context.TestContextBootstrapper
-
Build the
TestContextfor theBootstrapContextassociated with this bootstrapper. - bytes(byte[]) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Compare the body of the request to the given byte array.
- bytes(byte[]) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the response body content as a byte array.
C
- cache - 类中的静态变量 cn.taketoday.framework.test.context.AnnotatedClassFinder
- Cache(int) - 类的构造器 cn.taketoday.framework.test.context.AnnotatedClassFinder.Cache
- cacheAwareContextLoaderDelegate - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- cacheAwareContextLoaderDelegate - 类中的变量 cn.taketoday.test.context.support.DefaultBootstrapContext
- cacheAwareContextLoaderDelegate - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- CacheAwareContextLoaderDelegate - cn.taketoday.test.context中的接口
-
A
CacheAwareContextLoaderDelegateis responsible for loading and closing application contexts, interacting transparently with aContextCachebehind the scenes. - cacheControl(CacheControl) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Cache-Control" header with the given value.
- cachedEnclosingConfigurationModes - 类中的静态变量 cn.taketoday.test.context.TestContextAnnotationUtils
- capture(OutputCapture.CapturedString) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- CapturedOutput - cn.taketoday.framework.test.system中的接口
-
Provides access to
System.outandSystem.erroutput that has been captured by theOutputCaptureExtensionorOutputCaptureRule. - CapturedString(OutputCapture.Type, String) - 类的构造器 cn.taketoday.framework.test.system.OutputCapture.CapturedString
- capturedStrings - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- captureErr(String) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- captureOut(String) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- changeSessionId() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
The implementation of this (Servlet 3.1+) method calls
MockHttpSession.changeSessionId()if the session is a mock session. - changeSessionId() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
As of Servlet 3.1, the id of a session can be changed.
- characterEncoding - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- characterEncoding - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- characterEncoding - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- characterEncoding(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the character encoding of the request.
- characterEncoding(Charset) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the character encoding of the request.
- characterEncodingSet - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
-
trueif the character encoding has been explicitly set throughHttpServletResponsemethods or through acharsetparameter on theContent-Type. - charAt(int) - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
- charset - 类中的变量 cn.taketoday.framework.test.json.JsonLoader
- CHARSET_PREFIX - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
- CHARSET_PREFIX - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletResponse
- checkActive() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Check whether this request is still active (that is, not completed yet), throwing an IllegalStateException if not active anymore.
- CLASS_ANNOTATIONS - 类中的静态变量 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- classes - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- classes - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- classes() - annotation interface 中的元素 cn.taketoday.framework.test.context.InfraTest
-
The component classes to use for loading an
ApplicationContext. - classes() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
The classes to mock.
- classes() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBean
-
The classes to spy.
- classes() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
The component classes to use for loading an
ApplicationContext. - classes() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.classes(). - classes() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.classes(). - classesFilters - 类中的变量 cn.taketoday.framework.test.context.FilteredClassLoader
- ClassFilter(Class<?>[]) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader.ClassFilter
- classLoader - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- classLoader - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- classMode() - annotation interface 中的元素 cn.taketoday.test.annotation.DirtiesContext
-
The mode to use when a test class is annotated with
@DirtiesContext. - ClassMode() - enum class的构造器 cn.taketoday.test.annotation.DirtiesContext.ClassMode
- classNames(Class<?>...) - 类中的静态方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
- classNames(Collection<?>) - 类中的静态方法 cn.taketoday.test.context.util.TestContextFactoriesUtils
- classNames(List<Class<?>>) - 类中的静态方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- ClassPathResourceFilter(ClassPathResource[]) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader.ClassPathResourceFilter
- classpathRoots - 类中的变量 cn.taketoday.test.context.aot.TestAotProcessor
- classpathRoots - 类中的变量 cn.taketoday.test.context.aot.TestClassScanner
- classSimpleNames(Collection<?>) - 类中的静态方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- cleanup() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- clear() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- clear() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- clear() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Clear all contexts from the cache, clearing context hierarchy information as well.
- clear() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Clear all contexts from the cache, clearing context hierarchy information as well.
- clear() - 接口中的方法 cn.taketoday.test.context.event.ApplicationEvents
-
Clear all application events recorded by this
ApplicationEventsinstance. - clear() - 类中的方法 cn.taketoday.test.context.event.DefaultApplicationEvents
- clearAttributes() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Clear all of this request's attributes.
- clearAttributes() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
Clear all of this session's attributes.
- clearAttributes() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- clearBuffer() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- clearBuffer() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- clearCaches() - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
- clearExisting() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- clearStatistics() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Clear hit count and miss count statistics for the cache (i.e., reset counters to zero).
- clearStatistics() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Clear hit count and miss count statistics for the cache (i.e., reset counters to zero).
- clientConnector(ClientHttpConnector) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- clientConnector(ClientHttpConnector) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Set the
ClientHttpConnectorto use. - ClientExchangeInfo(WiretapConnector.WiretapClientHttpRequest, WiretapConnector.WiretapClientHttpResponse) - 类的构造器 cn.taketoday.test.web.reactive.server.WiretapConnector.ClientExchangeInfo
- clientHttpResponse - 类中的变量 cn.taketoday.mock.http.client.MockClientHttpRequest
- close() - 接口中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
- close() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpResponse
- close() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- close() - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
- close() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- close() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Mark this request as completed, keeping its state.
- close() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- close() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- close() - 类中的方法 cn.taketoday.test.util.TestPropertyValues.SystemPropertiesHandler
- close() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- close() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- closeAll(ApplicationContext) - 类中的静态方法 cn.taketoday.framework.test.util.ApplicationContextTestUtils
-
Closes this
ApplicationContextand its parent hierarchy if any. - closeContext(MergedContextConfiguration, DirtiesContext.HierarchyMode) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- closeContext(MergedContextConfiguration, DirtiesContext.HierarchyMode) - 接口中的方法 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
Remove the application context for the supplied
MergedContextConfigurationfrom theContextCacheand close it if it is an instance ofConfigurableApplicationContext. - closeQuietly(Closeable) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
- cn.taketoday.framework.test.context - 程序包 cn.taketoday.framework.test.context
-
Classes and annotations related to configuring Infra
ApplicationContextfor tests. - cn.taketoday.framework.test.context.assertj - 程序包 cn.taketoday.framework.test.context.assertj
-
AssertJ support for ApplicationContexts.
- cn.taketoday.framework.test.context.filter - 程序包 cn.taketoday.framework.test.context.filter
-
Test support for
cn.taketoday.framework.context.TypeExcludeFilter. - cn.taketoday.framework.test.context.runner - 程序包 cn.taketoday.framework.test.context.runner
-
Test utilities to run application contexts for testing.
- cn.taketoday.framework.test.json - 程序包 cn.taketoday.framework.test.json
-
Support for testing JSON.
- cn.taketoday.framework.test.mock.mockito - 程序包 cn.taketoday.framework.test.mock.mockito
-
Mockito integration for tests.
- cn.taketoday.framework.test.mock.web - 程序包 cn.taketoday.framework.test.mock.web
-
Mock web classes specific to Infra.
- cn.taketoday.framework.test.system - 程序包 cn.taketoday.framework.test.system
-
Classes for
System-related testing. - cn.taketoday.framework.test.util - 程序包 cn.taketoday.framework.test.util
-
General purpose test utilities.
- cn.taketoday.framework.test.web - 程序包 cn.taketoday.framework.test.web
-
Web test utilities and support classes.
- cn.taketoday.framework.test.web.client - 程序包 cn.taketoday.framework.test.web.client
-
Web client test utilities.
- cn.taketoday.framework.test.web.reactive.server - 程序包 cn.taketoday.framework.test.web.reactive.server
-
Infra support for testing server endpoints via
WebTestClient. - cn.taketoday.framework.test.web.server - 程序包 cn.taketoday.framework.test.web.server
- cn.taketoday.mock.env - 程序包 cn.taketoday.mock.env
-
This package contains mock implementations of the
EnvironmentandPropertySourceabstractions introduced in . - cn.taketoday.mock.http - 程序包 cn.taketoday.mock.http
-
Mock implementations of client/server-side HTTP abstractions.
- cn.taketoday.mock.http.client - 程序包 cn.taketoday.mock.http.client
-
Mock implementations of client-side HTTP abstractions.
- cn.taketoday.mock.http.client.reactive - 程序包 cn.taketoday.mock.http.client.reactive
-
Mock implementations of reactive HTTP client contracts.
- cn.taketoday.mock.http.server.reactive - 程序包 cn.taketoday.mock.http.server.reactive
-
Mock implementations of reactive HTTP server contracts.
- cn.taketoday.mock.web - 程序包 cn.taketoday.mock.web
-
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Web MVC framework.
- cn.taketoday.test.annotation - 程序包 cn.taketoday.test.annotation
-
Support classes for annotation-driven tests.
- cn.taketoday.test.context - 程序包 cn.taketoday.test.context
-
This package contains the TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.
- cn.taketoday.test.context.aot - 程序包 cn.taketoday.test.context.aot
-
Ahead-of-time (AOT) support for the Infra TestContext Framework.
- cn.taketoday.test.context.cache - 程序包 cn.taketoday.test.context.cache
-
Support for context caching within the TestContext Framework.
- cn.taketoday.test.context.event - 程序包 cn.taketoday.test.context.event
-
Test event support classes for the TestContext Framework.
- cn.taketoday.test.context.event.annotation - 程序包 cn.taketoday.test.context.event.annotation
-
Test execution event annotations for the TestContext Framework.
- cn.taketoday.test.context.hint - 程序包 cn.taketoday.test.context.hint
-
Support for registering hints for reflection and resources in the Infra TestContext Framework.
- cn.taketoday.test.context.jdbc - 程序包 cn.taketoday.test.context.jdbc
-
JDBC support classes for the TestContext Framework, including support for declarative SQL script execution via
@Sql. - cn.taketoday.test.context.junit.jupiter - 程序包 cn.taketoday.test.context.junit.jupiter
-
Core support for integrating the TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
- cn.taketoday.test.context.junit.jupiter.web - 程序包 cn.taketoday.test.context.junit.jupiter.web
-
Web support for integrating the TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
- cn.taketoday.test.context.junit4 - 程序包 cn.taketoday.test.context.junit4
-
Support classes for integrating the TestContext Framework with JUnit 4.12 or higher.
- cn.taketoday.test.context.junit4.rules - 程序包 cn.taketoday.test.context.junit4.rules
-
Custom JUnit 4
Rulesused in the TestContext Framework. - cn.taketoday.test.context.junit4.statements - 程序包 cn.taketoday.test.context.junit4.statements
-
Custom JUnit 4
Statementsused in the TestContext Framework. - cn.taketoday.test.context.support - 程序包 cn.taketoday.test.context.support
-
Support classes for the TestContext Framework.
- cn.taketoday.test.context.transaction - 程序包 cn.taketoday.test.context.transaction
-
Transactional support classes for the TestContext Framework.
- cn.taketoday.test.context.util - 程序包 cn.taketoday.test.context.util
-
Common utilities used within the TestContext Framework.
- cn.taketoday.test.context.web - 程序包 cn.taketoday.test.context.web
-
Web support classes for the TestContext Framework.
- cn.taketoday.test.context.web.socket - 程序包 cn.taketoday.test.context.web.socket
-
WebSocket support classes for the TestContext Framework.
- cn.taketoday.test.jdbc - 程序包 cn.taketoday.test.jdbc
-
Support classes for tests based on JDBC.
- cn.taketoday.test.util - 程序包 cn.taketoday.test.util
-
General utility classes for use in unit and integration tests.
- cn.taketoday.test.web - 程序包 cn.taketoday.test.web
-
Helper classes for unit tests based on Framework's web support.
- cn.taketoday.test.web.client - 程序包 cn.taketoday.test.web.client
-
Contains client-side REST testing support.
- cn.taketoday.test.web.client.match - 程序包 cn.taketoday.test.web.client.match
-
Contains built-in
RequestMatcherimplementations. - cn.taketoday.test.web.client.response - 程序包 cn.taketoday.test.web.client.response
-
Contains built-in
ResponseCreatorimplementations. - cn.taketoday.test.web.reactive.server - 程序包 cn.taketoday.test.web.reactive.server
- cn.taketoday.test.web.servlet - 程序包 cn.taketoday.test.web.servlet
-
Contains server-side support for testing Web MVC applications.
- cn.taketoday.test.web.servlet.client - 程序包 cn.taketoday.test.web.servlet.client
-
Support for testing Web MVC applications via
WebTestClientwithMockMvcfor server request handling. - cn.taketoday.test.web.servlet.htmlunit - 程序包 cn.taketoday.test.web.servlet.htmlunit
-
Server-side support for testing Web MVC applications with
MockMvcand HtmlUnit. - cn.taketoday.test.web.servlet.htmlunit.webdriver - 程序包 cn.taketoday.test.web.servlet.htmlunit.webdriver
-
Server-side support for testing Web MVC applications with
MockMvcand the SeleniumHtmlUnitDriver. - cn.taketoday.test.web.servlet.request - 程序包 cn.taketoday.test.web.servlet.request
-
Contains built-in
RequestBuilderimplementations. - cn.taketoday.test.web.servlet.result - 程序包 cn.taketoday.test.web.servlet.result
-
Contains built-in
ResultMatcherandResultHandlerimplementations. - cn.taketoday.test.web.servlet.setup - 程序包 cn.taketoday.test.web.servlet.setup
-
Contains built-in
MockMvcBuilderimplementations. - codecs(Consumer<ClientCodecConfigurer>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- codecs(Consumer<ClientCodecConfigurer>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
- collectRuntimeHintsRegistrarClasses(Class<?>, Set<Class<? extends RuntimeHintsRegistrar>>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Collect all
RuntimeHintsRegistrarclasses declared via@ImportRuntimeHintson the supplied test class and add them to the suppliedSet. - combineArguments(String, Throwable, Object[]) - 类中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.ContextFailedToStart
- comment - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- COMMENT_PREFIX - 类中的静态变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- COMMENT_PREFIXES - 类中的静态变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- commentPrefix() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The prefix that identifies single-line comments within the SQL scripts.
- commentPrefixes - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- commentPrefixes() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The prefixes that identify single-line comments within the SQL scripts.
- Commit - cn.taketoday.test.annotation中的Annotation Interface
-
@Commitis a test annotation that is used to indicate that a test-managed transaction should be committed after the test method has completed. - committed - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- COMMON_DEFAULT_SERVLET_NAME - 类中的静态变量 cn.taketoday.mock.web.MockServletContext
-
Default Servlet name used by Tomcat, Jetty, JBoss, and GlassFish: "default".
- compare(CharSequence, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- compare(CharSequence, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- compareForNull(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- compileXpathExpression(String, Map<String, String>) - 类中的静态方法 cn.taketoday.test.util.XpathExpectationsHelper
- complete() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- completedResponse - 异常错误中的变量 cn.taketoday.test.web.reactive.server.HttpHandlerConnector.FailureAfterResponseCompletedException
- computeAttribute(String, Function<String, T>) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- config - 类中的变量 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ContextCustomizerAdapter
- config - 类中的变量 cn.taketoday.framework.test.context.InfraApplicationContextLoader.PrepareEnvironmentListener
- config() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.Sql
-
Local configuration for the SQL scripts and statements declared within this
@Sqlannotation. - ConfigDataApplicationContextInitializer - cn.taketoday.framework.test.context中的类
-
ApplicationContextInitializerthat can be used with theContextConfiguration.initializers()to trigger loading ofConfigDatasuch as application.properties. - ConfigDataApplicationContextInitializer() - 类的构造器 cn.taketoday.framework.test.context.ConfigDataApplicationContextInitializer
- ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>> - cn.taketoday.test.web.servlet.setup中的接口
-
Defines common methods for building a
MockMvc. - ConfigurableSmartRequestBuilder<B extends ConfigurableSmartRequestBuilder<B>> - cn.taketoday.test.web.servlet.request中的接口
-
An extension of
SmartRequestBuilderthat can be configured withRequestPostProcessors. - configuration - 类中的变量 cn.taketoday.framework.test.json.JsonContent
- configuration - 类中的变量 cn.taketoday.framework.test.json.JsonContentAssert
- CONFIGURATION_CLASS_ATTRIBUTE - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- configurations - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- configure(MergedContextConfiguration, Application, List<ApplicationContextInitializer>) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.WebConfigurer
- configureAsyncSupport(AsyncSupportConfigurer) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- configureClient() - 类中的方法 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- configureClient() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.MockServerSpec
-
Proceed to configure and build the test client.
- configureClient() - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- configureClient() - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Proceed to configure and build the test client.
- configureContext(C, boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- configureExceptionHandlers(List<HandlerExceptionHandler>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- configureMessageConverters(List<HttpMessageConverter<?>>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- configurePathMatch(PathMatchConfigurer) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- configurers - 类中的变量 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- configurers - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- configureWebResources(GenericWebApplicationContext, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Configures web resources for the supplied web application context (WAC).
- connect(HttpMethod, URI, Function<? super ClientHttpRequest, Mono<Void>>) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- connect(HttpMethod, URI, Function<? super ClientHttpRequest, Mono<Void>>) - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector
- connect(HttpMethod, URI, Function<? super ClientHttpRequest, Mono<Void>>) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- connections - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- connector - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- connectToServer(Endpoint, ClientEndpointConfig, URI) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- connectToServer(Class<?>, URI) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- connectToServer(Object, URI) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- consumeAssertableContext(boolean, ContextConsumer<? super A>) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- consumeWith(Consumer<EntityExchangeResult<B>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- consumeWith(Consumer<EntityExchangeResult<B>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Assert the exchange result with the given
Consumer. - consumeWith(Consumer<EntityExchangeResult<byte[]>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- consumeWith(Consumer<EntityExchangeResult<byte[]>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Assert the response body content with the given
Consumer. - consumeWith(Consumer<FluxExchangeResult<T>>) - 类中的方法 cn.taketoday.test.web.reactive.server.FluxExchangeResult
-
Invoke the given consumer within
ExchangeResult.assertWithDiagnostics(Runnable)passing"this"instance to it. - contains(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Determine whether there is a cached context for the given key.
- contains(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Determine whether there is a cached context for the given key.
- contains(E...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec
- contains(E...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ListBodySpec
-
Assert the extracted list of values contains the given elements.
- containsCookie(Cookie) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- containsHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- containsNonTestComponent(Class<?>[]) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- content - 类中的变量 cn.taketoday.mock.web.MockBodyContent
- content - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- content - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- content - 类中的变量 cn.taketoday.mock.web.MockMultipartFile
- content - 类中的变量 cn.taketoday.mock.web.MockPart
- content - 类中的变量 cn.taketoday.test.web.client.response.DefaultResponseCreator
- content - 类中的变量 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- content - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- content - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- content() - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Access to request body matchers.
- content() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response body assertions.
- content(byte[]) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the request body.
- content(MockHttpServletRequest, Charset) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- content(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the request body as a UTF-8 String.
- contentDisposition(ContentDisposition) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Disposition" header with the given value.
- contentLength - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- contentLength(long) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BodyBuilder
-
Set the length of the body in bytes, as specified by the
Content-Lengthheader. - contentLength(long) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- contentLength(long) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- contentLength(long) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Length" header with the given value.
- contentLength(long) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the length of the body in bytes, as specified by the
Content-Lengthheader. - contentNegotiationManager - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- contentNegotiationManager(ContentNegotiationManager) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set a ContentNegotiationManager.
- contentNegotiationManager(ContentNegotiationManager) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- ContentRequestMatchers - cn.taketoday.test.web.client.match中的类
-
Factory for request content
RequestMatcher's. - ContentRequestMatchers() - 类的构造器 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Class constructor, not for direct instantiation.
- ContentRequestMatchers.AbstractXmlRequestMatcher - cn.taketoday.test.web.client.match中的类
-
Abstract base class for XML
RequestMatcher's. - ContentRequestMatchers.MultipartHelper - cn.taketoday.test.web.client.match中的类
- contentResource - 类中的变量 cn.taketoday.test.web.client.response.DefaultResponseCreator
- ContentResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for response content assertions.
- ContentResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Protected constructor.
- contentType - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- contentType - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- contentType - 类中的变量 cn.taketoday.mock.web.MockMultipartFile
- contentType - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- contentType(MediaType) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BodyBuilder
-
Set the media type of the body, as specified by the
Content-Typeheader. - contentType(MediaType) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- contentType(MediaType) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Assert the request content type as a
MediaType. - contentType(MediaType) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the
Content-Typeheader. - contentType(MediaType) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- contentType(MediaType) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Type" header with the given value.
- contentType(MediaType) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Set the media type of the body, as specified by the
Content-Typeheader. - contentType(MediaType) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the 'Content-Type' header of the request.
- contentType(MediaType) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the ServletResponse content type after parsing it as a MediaType.
- contentType(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- contentType(String) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Assert the request content type as a String.
- contentType(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Type" header with the given value.
- contentType(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the 'Content-Type' header of the request as a raw String value, possibly not even well-formed (for testing purposes).
- contentType(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the ServletResponse content type.
- contentTypeCompatibleWith(MediaType) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Assert the request content type is compatible with the given content type as defined by
MediaType.isCompatibleWith(MediaType). - contentTypeCompatibleWith(MediaType) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Type" header compatible with the given value.
- contentTypeCompatibleWith(MediaType) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the ServletResponse content type is compatible with the given content type as defined by
MediaType.isCompatibleWith(MediaType). - contentTypeCompatibleWith(String) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Assert the request content type is compatible with the given content type as defined by
MediaType.isCompatibleWith(MediaType). - contentTypeCompatibleWith(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Content-Type" header compatible with the given value.
- contentTypeCompatibleWith(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the ServletResponse content type is compatible with the given content type as defined by
MediaType.isCompatibleWith(MediaType). - CONTEXT_CACHE_LOGGING_CATEGORY - 接口中的静态变量 cn.taketoday.test.context.cache.ContextCache
-
The name of the logging category used for reporting
ContextCachestatistics. - CONTEXT_FAILURE_THRESHOLD_PROPERTY_NAME - 接口中的静态变量 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
System property used to configure the failure threshold for errors encountered while attempting to load an application context: "infra.test.context.failure.threshold".
- CONTEXT_INITIALIZER - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- CONTEXT_INITIALIZER_CLASS - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- CONTEXT_INITIALIZER_CLASS_MAP - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- CONTEXT_INITIALIZER_SUPPLIER - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- CONTEXT_INITIALIZER_SUPPLIER_MAP - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- contextCache - 类中的变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- ContextCache - cn.taketoday.test.context.cache中的接口
-
ContextCachedefines the SPI for caching InfraApplicationContextswithin the TestContext Framework. - ContextCacheUtils - cn.taketoday.test.context.cache中的类
-
Collection of utilities for working with
ContextCaches. - ContextCacheUtils() - 类的构造器 cn.taketoday.test.context.cache.ContextCacheUtils
- ContextConfiguration - cn.taketoday.test.context中的Annotation Interface
-
@ContextConfigurationdefines class-level metadata that is used to determine how to load and configure anApplicationContextfor integration tests. - ContextConfigurationAttributes - cn.taketoday.test.context中的类
-
ContextConfigurationAttributesencapsulates the context configuration attributes declared via@ContextConfiguration. - ContextConfigurationAttributes(Class<?>) - 类的构造器 cn.taketoday.test.context.ContextConfigurationAttributes
-
Construct a new
ContextConfigurationAttributesinstance with default values. - ContextConfigurationAttributes(Class<?>, AnnotationAttributes) - 类的构造器 cn.taketoday.test.context.ContextConfigurationAttributes
-
Construct a new
ContextConfigurationAttributesinstance for the suppliedAnnotationAttributes(parsed from a@ContextConfigurationannotation) and the test class that declared them. - ContextConfigurationAttributes(Class<?>, ContextConfiguration) - 类的构造器 cn.taketoday.test.context.ContextConfigurationAttributes
-
Construct a new
ContextConfigurationAttributesinstance for the supplied@ContextConfigurationannotation and the test class that declared it. - ContextConfigurationAttributes(Class<?>, String[], Class<?>[], boolean, Class<? extends ApplicationContextInitializer>[], boolean, Class<? extends ContextLoader>) - 类的构造器 cn.taketoday.test.context.ContextConfigurationAttributes
-
Construct a new
ContextConfigurationAttributesinstance for the test class that declared the@ContextConfigurationannotation and its corresponding attributes. - ContextConfigurationAttributes(Class<?>, String[], Class<?>[], boolean, Class<? extends ApplicationContextInitializer>[], boolean, String, Class<? extends ContextLoader>) - 类的构造器 cn.taketoday.test.context.ContextConfigurationAttributes
-
Construct a new
ContextConfigurationAttributesinstance for the test class that declared the@ContextConfigurationannotation and its corresponding attributes. - ContextConsumer<C extends cn.taketoday.context.ApplicationContext> - cn.taketoday.framework.test.context.runner中的接口
-
Callback interface used to process an
ApplicationContextwith the ability to throw a (checked) exception. - contextCustomizer - 类中的变量 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ContextCustomizerAdapter
- ContextCustomizer - cn.taketoday.test.context中的接口
-
Strategy interface for customizing
application contextsthat are created and managed by the Infra TestContext Framework. - ContextCustomizerAdapter(ContextCustomizer, MergedContextConfiguration) - 类的构造器 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ContextCustomizerAdapter
- ContextCustomizerFactories - cn.taketoday.test.context.support中的Annotation Interface
-
@ContextCustomizerFactoriesdefines class-level metadata for configuring whichContextCustomizerFactoryimplementations should be registered with the Infra TestContext Framework. - ContextCustomizerFactories.MergeMode - cn.taketoday.test.context.support中的Enum Class
-
Enumeration of modes that dictate whether explicitly declared factories are merged with the default factories when
@ContextCustomizerFactoriesis declared on a class that does not inherit factories from a superclass or enclosing class. - ContextCustomizerFactory - cn.taketoday.test.context中的接口
-
Factory for creating
ContextCustomizers. - ContextCustomizerKey(Class<?>) - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- contextCustomizers - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- contextFactory - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- ContextFailedToStart(C, Throwable, String, Object...) - 类的构造器 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.ContextFailedToStart
- contextFailedToStartWhenExpecting(String, Object...) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- contextFailureProcessors - 类中的变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- ContextHierarchy - cn.taketoday.test.context中的Annotation Interface
-
@ContextHierarchyis a class-level annotation that is used to define a hierarchy ofApplicationContextsfor integration tests. - contextInitializerClass - 类中的变量 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- contextInitializerClasses - 类中的变量 cn.taketoday.test.context.aot.AotTestContextInitializers
- contextInitializerClasses - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- contextInitializerClasses - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- contextInitializerClassesMappingMethod() - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- contextInitializers - 类中的变量 cn.taketoday.test.context.aot.AotTestContextInitializers
- contextInitializers - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- contextInitializersMappingMethod() - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- contextLoader - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- ContextLoader - cn.taketoday.test.context中的接口
-
Strategy interface for loading an
application contextfor an integration test managed by the TestContext Framework. - contextLoaderClass - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- ContextLoaderUtils - cn.taketoday.test.context.support中的类
-
Utility methods for resolving
ContextConfigurationAttributesfrom the@ContextConfigurationand@ContextHierarchyannotations for use withSmartContextLoaders. - ContextLoaderUtils() - 类的构造器 cn.taketoday.test.context.support.ContextLoaderUtils
- ContextLoadException - cn.taketoday.test.context中的异常错误
-
Exception thrown when an error occurs while a
SmartContextLoaderattempts to load anApplicationContext. - ContextLoadException(ApplicationContext, Throwable) - 异常错误的构造器 cn.taketoday.test.context.ContextLoadException
- contextMap - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
-
Map of context keys to Infra
ApplicationContextinstances. - contextPath - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- contextPath - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- contextPath - 类中的变量 cn.taketoday.mock.web.MockServletContext
- contextPath - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- contextPath - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- contextPath - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
- contextPath - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- contextPath(MockHttpServletRequest, UriComponents) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- contextPath(String) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the contextPath to return.
- contextPath(String) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- contextPath(String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Set the context path to use.
- contextPath(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Specify the portion of the requestURI that represents the context path.
- contexts - 类中的变量 cn.taketoday.mock.web.MockServletContext
- CONTINUE_ON_ERROR - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Indicates that all errors in SQL scripts should be logged but not propagated as exceptions.
- controllerAdvice - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- controllerAdvice(Object...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Register
ControllerAdvice - controllerAdvice(Object...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- controllers - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- conversionService - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- conversionService(FormattingConversionService) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide a conversion service.
- conversionService(FormattingConversionService) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- convertContextConfigToConfigAttributesAndAddToList(ContextConfiguration, Class<?>, List<ContextConfigurationAttributes>) - 类中的静态方法 cn.taketoday.test.context.support.ContextLoaderUtils
-
Convenience method for creating a
ContextConfigurationAttributesinstance from the suppliedContextConfigurationannotation and declaring class and then adding the attributes to the supplied list. - convertInlinedPropertiesToMap(String...) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
-
Convert the supplied inlined properties (in the form of key-value pairs) into a map keyed by property name.
- convertToClasspathResourcePaths(Class<?>, boolean, String...) - 类中的静态方法 cn.taketoday.test.context.util.TestContextResourceUtils
-
Convert the supplied paths to classpath resource paths.
- convertToClasspathResourcePaths(Class<?>, String...) - 类中的静态方法 cn.taketoday.test.context.util.TestContextResourceUtils
-
Convert the supplied paths to classpath resource paths.
- convertToResourceList(ResourceLoader, String...) - 类中的静态方法 cn.taketoday.test.context.util.TestContextResourceUtils
-
Convert the supplied paths to a list of
Resourcehandles using the givenResourceLoader. - convertToResources(ResourceLoader, String...) - 类中的静态方法 cn.taketoday.test.context.util.TestContextResourceUtils
-
Convert the supplied paths to an array of
Resourcehandles using the givenResourceLoader. - cookie() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response cookie assertions.
- cookie(HttpCookie...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Add one or more cookies.
- cookie(HttpCookie...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- cookie(Cookie...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Add the given cookies to the request.
- cookie(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- cookie(String, String) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Add a cookie with the given name and value.
- CookieAssertions - cn.taketoday.test.web.reactive.server中的类
-
Assertions on cookies of the response.
- CookieAssertions(ExchangeResult, WebTestClient.ResponseSpec) - 类的构造器 cn.taketoday.test.web.reactive.server.CookieAssertions
- CookieResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for response cookie assertions.
- CookieResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Protected constructor.
- cookies - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- cookies - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- cookies - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- cookies - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- cookies - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- cookies - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- cookies - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- cookies(ResponseCookie...) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Add one or more cookies.
- cookies(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- cookies(MultiValueMap<String, HttpCookie>) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Add the given cookies.
- cookies(MultiValueMap<String, HttpCookie>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- cookies(MultiValueMap<String, ResponseCookie>) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Copy all cookies from the given
MultiValueMap. - cookies(Consumer<MultiValueMap<String, String>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- cookies(Consumer<MultiValueMap<String, String>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Manipulate this request's cookies with the given consumer.
- cookieSpec - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- copy - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
- copyAttributesFrom(AttributeAccessor) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- copyBeanDefinitionDetails(BeanDefinition, RootBeanDefinition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- copyTestContext(TestContext) - 类中的静态方法 cn.taketoday.test.context.TestContextManager
-
Attempt to create a copy of the supplied
TestContextusing its copy constructor. - countRowsInTable(JdbcOperations, String) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Count the rows in the given table.
- countRowsInTable(JdbcClient, String) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Count the rows in the given table.
- countRowsInTable(String) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Convenience method for counting the rows in the given table.
- countRowsInTableWhere(JdbcOperations, String, String) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Count the rows in the given table, using the provided
WHEREclause. - countRowsInTableWhere(JdbcClient, String, String) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Count the rows in the given table, using the provided
WHEREclause. - countRowsInTableWhere(String, String) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Convenience method for counting the rows in the given table, using the provided
WHEREclause. - createAndLoadContext(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- createAssertableContext(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- createBeanDefinition(MockDefinition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- createBeanDefinitionReader(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Factory method for creating a new
BeanDefinitionReaderfor loading bean definitions into the suppliedcontext. - createBeanDefinitionReader(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
AnnotationConfigContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - createBeanDefinitionReader(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.GenericPropertiesContextLoader
-
Creates a new
PropertiesBeanDefinitionReader. - createBeanDefinitionReader(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.GenericXmlContextLoader
-
Create a new
XmlBeanDefinitionReader. - createBootstrapContext(Class<?>) - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
-
Create the
BootstrapContextfor the specified test class. - createCacheAwareContextLoaderDelegate() - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
- createConnection(WebClient) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new
WebConnectionthat will use aMockMvcinstance if one of the specifiedWebRequestMatcherinstances matches. - createConnection(WebClient, WebConnection) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
- createConnectionManager(Duration, boolean) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- createContext() - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Factory method for creating the
GenericApplicationContextused by thisContextLoader. - createContext() - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Factory method for creating the
GenericWebApplicationContextused by thisContextLoader. - createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 接口中的方法 cn.taketoday.test.context.ContextCustomizerFactory
-
Create a
ContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed. - createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizerFactory
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- createCookie(MockHttpServletRequest, String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- createCookie(Cookie) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- CREATED_BY_THE_TESTCONTEXT_FRAMEWORK - 类中的静态变量 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Attribute name for a request attribute which indicates that the
MockHttpServletRequeststored in theRequestContextin Infra Web'sRequestContextHolderwas created by the TestContext framework. - createDatabasePopulator(MergedSqlConfig) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- createDelegatingTransactionAttribute(TestContext, TransactionAttribute) - 类中的静态方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Create a delegating
TransactionAttributefor the supplied targetTransactionAttributeandTestContext, using the names of the test class and test method to build the name of the transaction. - createDelegatingTransactionAttribute(TestContext, TransactionAttribute, boolean) - 类中的静态方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Create a delegating
TransactionAttributefor the supplied targetTransactionAttributeandTestContext, using the names of the test class and test method (if requested) to build the name of the transaction. - createExpectationManager() - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- createFilter(Class<T>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- createGenerationContext(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- createHttpClient(Duration, boolean) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- createHttpContext(HttpMethod, URI) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- createHttpHeaders() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- createListener(Class<T>) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- createListener(Class<T>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- createMock() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- createMock(String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, Charset, List<ResultMatcher>, List<ResultHandler>, List<DispatcherServletCustomizer>) - 类中的方法 cn.taketoday.test.web.servlet.MockMvcBuilderSupport
-
Delegates to
MockMvcBuilderSupport.createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, List, List, List)for creation of theMockMvcinstance and configures that instance with the supplieddefaultResponseCharacterEncoding. - createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, List<ResultMatcher>, List<ResultHandler>, List<DispatcherServletCustomizer>) - 类中的方法 cn.taketoday.test.web.servlet.MockMvcBuilderSupport
- createModifiedConfig(MergedContextConfiguration, Class<?>[]) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Create a new
MergedContextConfigurationwith different classes. - createModifiedConfig(MergedContextConfiguration, Class<?>[], String[]) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Create a new
MergedContextConfigurationwith different classes and properties. - createRequest(URI, HttpMethod) - 类中的方法 cn.taketoday.test.web.client.MockMvcClientHttpRequestFactory
- createRequest(URI, HttpMethod) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockClientHttpRequestFactory
- createRequestConfig() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- createRequestEntityWithRootAppliedUri(RequestEntity<?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
- createRequestInternal(URI, HttpMethod) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockClientHttpRequestFactory
- createRequestMappingHandlerMapping() - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- createResponse(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
-
Note that as of 5.0.3, the creation of the response, which may block intentionally, is separated from request count tracking, and this method no longer increments the count transparently.
- createResponse(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
- createResponse(ClientHttpRequest) - 接口中的方法 cn.taketoday.test.web.client.ResponseCreator
-
Create a response for the given request.
- createServer(RestTemplate) - 类中的静态方法 cn.taketoday.test.web.client.MockRestServiceServer
-
A shortcut for
bindTo(restTemplate).build(). - createServer(RestGatewaySupport) - 类中的静态方法 cn.taketoday.test.web.client.MockRestServiceServer
-
A shortcut for
bindTo(restGateway).build(). - createServlet(Class<T>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- createServletRequest(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Create a new
MockHttpServletRequestbased on the suppliedServletContext. - createServletRequest(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Create a new
MockMultipartHttpServletRequestbased on the suppliedServletContextand theMockMultipartFilesadded to this builder. - createSocketFactory() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- createSpy(BeanDefinitionRegistry, SpyDefinition, Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- createSpy(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- createSpy(String, Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- createSpyIfNecessary(Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- createTest() - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Delegate to the parent implementation for creating the test instance and then allow the
TestContextManagerto prepare the test instance before returning it. - createTestContextManager(Class<?>) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Create a new
TestContextManagerfor the supplied test class. - createTester(Class<?>, ResolvableType, ObjectMapper) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester.JacksonFieldInitializer
- createTester(Class<?>, ResolvableType, Gson) - 类中的方法 cn.taketoday.framework.test.json.GsonTester.GsonFieldInitializer
- createTester(Class<?>, ResolvableType, Jsonb) - 类中的方法 cn.taketoday.framework.test.json.JsonbTester.JsonbFieldInitializer
- createTester(Class<?>, ResolvableType, M) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- createUnexpectedRequestError(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
Return an
AssertionErrorthat a sub-class can raise for an unexpected request. - createWebTestClient() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- creationTime - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- CURRENT_LEVEL - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.HierarchyMode
-
The
ApplicationContextfor the current level in the context hierarchy and all contexts in subhierarchies of the current level will be removed from the context cache and closed. - currentTransactionContext - 类中的静态变量 cn.taketoday.test.context.transaction.TransactionContextHolder
- customArgumentResolvers - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- customArgumentResolvers(ParameterResolvingStrategy...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide custom argument resolvers.
- customArgumentResolvers(ParameterResolvingStrategy...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- customHandlerMapping(Supplier<RequestMappingHandlerMapping>) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Configure factory for a custom
RequestMappingHandlerMapping. - customHandlerMapping(Supplier<RequestMappingHandlerMapping>) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[], ClientHttpRequestFactorySettings) - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- customize(WebTestClient.Builder) - 接口中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientBuilderCustomizer
-
Customize the given
builder. - customize(RestTemplate) - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- customize(DispatcherServlet) - 接口中的方法 cn.taketoday.test.web.servlet.DispatcherServletCustomizer
-
Customize the supplied
DispatcherServletbefore it is initialized. - customizeBeanFactory(StandardBeanFactory) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Customize the internal bean factory of the ApplicationContext created by this
ContextLoader. - customizeBeanFactory(StandardBeanFactory, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Customize the internal bean factory of the
WebApplicationContextcreated by this context loader. - customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestArgs
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestWebEnvironment
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.ContextCustomizer
-
Customize the supplied
ConfigurableApplicationContextafter bean definitions have been loaded into the context but before the context has been refreshed. - customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Customize the
ConfigurableApplicationContextcreated by thisContextLoaderafter bean definitions have been loaded into the context but before the context has been refreshed. - customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizer
- customizeContext(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Customize the
GenericApplicationContextcreated by thisContextLoaderafter bean definitions have been loaded into the context but before the context is refreshed. - customizeContext(GenericWebApplicationContext, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Customize the
GenericWebApplicationContextcreated by this context loader after bean definitions have been loaded into the context but before the context is refreshed. - customizeWebTestClientBuilder(WebTestClient.Builder, ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- customizeWebTestClientCodecs(WebTestClient.Builder, ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- customReturnValueHandlers - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- customReturnValueHandlers(HandlerMethodReturnValueHandler...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide custom return value handlers.
- customReturnValueHandlers(HandlerMethodReturnValueHandler...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
D
- dataSource - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- dataSource() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The bean name of the
DataSourceagainst which the scripts should be executed. - DATE_FORMAT - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletResponse
- DATE_FORMATS - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
Date formats as specified in the HTTP RFC.
- dateValue(String, long) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the primary value of the named response header parsed into a date using the preferred date format described in RFC 7231.
- declaredRoles - 类中的变量 cn.taketoday.mock.web.MockServletContext
- declareRoles(String...) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- declaringClass - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- declaringClass - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- declaringClass - 类中的变量 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- declaringClass(MergedAnnotation<?>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- deduceBasePath() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- deduceFromApplicationContext(Class<?>) - 类中的静态方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- DEFAULT - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Indicates that the default error mode should be used.
- DEFAULT - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
-
Indicates that the default transaction mode should be used.
- DEFAULT_BOOTSTRAP_CONTEXT_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- DEFAULT_CACHE_AWARE_CONTEXT_LOADER_DELEGATE_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- DEFAULT_CACHE_AWARE_CONTEXT_LOADER_DELEGATE_PROPERTY_NAME - 接口中的静态变量 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
System property used to configure the fully qualified class name of the default
CacheAwareContextLoaderDelegate. - DEFAULT_CONTEXT_FAILURE_THRESHOLD - 接口中的静态变量 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
The default failure threshold for errors encountered while attempting to load an application context: 1.
- DEFAULT_DATA_SOURCE_NAME - 类中的静态变量 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Default bean name for a
DataSource:"dataSource". - DEFAULT_ENCODING - 类中的静态变量 cn.taketoday.test.web.client.match.XpathRequestMatchers
- DEFAULT_MAX_CONTEXT_CACHE_SIZE - 接口中的静态变量 cn.taketoday.test.context.cache.ContextCache
-
The default maximum size of the context cache: 32.
- DEFAULT_OPTIONS - 类中的静态变量 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- DEFAULT_PROTOCOL - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default protocol: 'HTTP/1.1'.
- DEFAULT_REMOTE_ADDR - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default remote address: '127.0.0.1'.
- DEFAULT_REMOTE_HOST - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default remote host: 'localhost'.
- DEFAULT_SCHEME - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default scheme: 'http'.
- DEFAULT_SERVER_ADDR - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default server address: '127.0.0.1'.
- DEFAULT_SERVER_NAME - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default server name: 'localhost'.
- DEFAULT_SERVER_PORT - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
-
The default server port: '80'.
- DEFAULT_SESSION_TRACKING_MODES - 类中的静态变量 cn.taketoday.mock.web.MockServletContext
- DEFAULT_STATUS_MESSAGE - 类中的静态变量 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- DEFAULT_TEST_CONTEXT_BOOTSTRAPPER_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- DEFAULT_TRANSACTION_MANAGER_NAME - 类中的静态变量 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Default bean name for a
PlatformTransactionManager:"transactionManager". - DEFAULT_WEB_TEST_CONTEXT_BOOTSTRAPPER_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- defaultActiveProfilesResolver - 类中的静态变量 cn.taketoday.test.context.support.ActiveProfilesUtils
- DefaultActiveProfilesResolver - cn.taketoday.test.context.support中的类
-
Default implementation of the
ActiveProfilesResolverstrategy that resolves active bean definition profiles based solely on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value(). - DefaultActiveProfilesResolver() - 类的构造器 cn.taketoday.test.context.support.DefaultActiveProfilesResolver
- DefaultAotTestAttributes - cn.taketoday.test.context.aot中的类
-
Default implementation of
AotTestAttributesbacked by aMap. - DefaultAotTestAttributes(Map<String, String>) - 类的构造器 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- DefaultApplicationEvents - cn.taketoday.test.context.event中的类
-
Default implementation of
ApplicationEvents. - DefaultApplicationEvents() - 类的构造器 cn.taketoday.test.context.event.DefaultApplicationEvents
- defaultAsyncSendTimeout - 类中的变量 cn.taketoday.test.context.web.socket.MockServerContainer
- DefaultBodyBuilder(HttpMethod, URI) - 类的构造器 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- DefaultBodyContentSpec(EntityExchangeResult<byte[]>) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- DefaultBodySpec(EntityExchangeResult<B>) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- DefaultBootstrapContext - cn.taketoday.test.context.support中的类
-
Default implementation of the
BootstrapContextinterface. - DefaultBootstrapContext(Class<?>, CacheAwareContextLoaderDelegate) - 类的构造器 cn.taketoday.test.context.support.DefaultBootstrapContext
-
Construct a new
DefaultBootstrapContextfrom the supplied arguments. - DefaultCacheAwareContextLoaderDelegate - cn.taketoday.test.context.cache中的类
-
Default implementation of the
CacheAwareContextLoaderDelegateinterface. - DefaultCacheAwareContextLoaderDelegate() - 类的构造器 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Construct a new
DefaultCacheAwareContextLoaderDelegateusing a staticDefaultContextCache. - DefaultCacheAwareContextLoaderDelegate(ContextCache) - 类的构造器 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Construct a new
DefaultCacheAwareContextLoaderDelegateusing the suppliedContextCacheand the default or user-configured context failure threshold. - DefaultCacheAwareContextLoaderDelegate(ContextCache, int) - 类的构造器 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Construct a new
DefaultCacheAwareContextLoaderDelegateusing the suppliedContextCacheand context failure threshold. - defaultCharacterEncoding - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- defaultConnection - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- defaultContextCache - 类中的静态变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Default static cache of Infra application contexts.
- DefaultContextCache - cn.taketoday.test.context.cache中的类
-
Default implementation of the
ContextCacheAPI. - DefaultContextCache() - 类的构造器 cn.taketoday.test.context.cache.DefaultContextCache
-
Create a new
DefaultContextCacheusing the maximum cache size obtained viaContextCacheUtils.retrieveMaxCacheSize(). - DefaultContextCache(int) - 类的构造器 cn.taketoday.test.context.cache.DefaultContextCache
-
Create a new
DefaultContextCacheusing the supplied maximum cache size. - DefaultContextCache.LruCache - cn.taketoday.test.context.cache中的类
-
Simple cache implementation based on
LinkedHashMapwith a maximum size and a least recently used (LRU) eviction policy that properly closes application contexts. - defaultCookie(String, String...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultCookie(String, String...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Add the given header to all requests that haven't added it.
- defaultCookies - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- defaultCookies - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultCookies(Consumer<MultiValueMap<String, String>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultCookies(Consumer<MultiValueMap<String, String>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Manipulate the default cookies with the given consumer.
- defaultEnclosingConfigurationMode - 类中的静态变量 cn.taketoday.test.context.TestContextAnnotationUtils
- defaultHeader(String, String...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultHeader(String, String...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Add the given header to all requests that haven't added it.
- defaultHeaders - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- defaultHeaders - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultHeaders(Consumer<HttpHeaders>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- defaultHeaders(Consumer<HttpHeaders>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Manipulate the default headers with the given consumer.
- DefaultListBodySpec(EntityExchangeResult<List<E>>) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec
- defaultMaxBinaryMessageBufferSize - 类中的变量 cn.taketoday.test.context.web.socket.MockServerContainer
- defaultMaxSessionIdleTimeout - 类中的变量 cn.taketoday.test.context.web.socket.MockServerContainer
- defaultMaxTextMessageBufferSize - 类中的变量 cn.taketoday.test.context.web.socket.MockServerContainer
- DefaultMockMvcBuilder - cn.taketoday.test.web.servlet.setup中的类
-
A concrete implementation of
AbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument. - DefaultMockMvcBuilder(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.setup.DefaultMockMvcBuilder
-
Protected constructor.
- DefaultMvcResult - cn.taketoday.test.web.servlet中的类
-
A simple implementation of
MvcResultwith setters. - DefaultMvcResult(MockHttpServletRequest, MockHttpServletResponse, RequestContext) - 类的构造器 cn.taketoday.test.web.servlet.DefaultMvcResult
-
Create a new instance with the given request and response.
- defaultPropertySourceFactory - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceUtils
- defaultRequest(RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- defaultRequest(RequestBuilder) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Define default request properties that should be merged into all performed requests such that input from the client request override the default properties defined here.
- defaultRequest(RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- defaultRequest(RequestBuilder) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Define default request properties that should be merged into all performed requests.
- DefaultRequestBodyUriSpec(HttpMethod) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- defaultRequestBuilder - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- defaultRequestBuilder - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- DefaultRequestExpectation - cn.taketoday.test.web.client中的类
-
Default implementation of
RequestExpectationthat simply delegates to the request matchers and the response creator it contains. - DefaultRequestExpectation(ExpectedCount, RequestMatcher) - 类的构造器 cn.taketoday.test.web.client.DefaultRequestExpectation
-
Create a new request expectation that should be called a number of times as indicated by
RequestCount. - DefaultRequestExpectation.RequestCount - cn.taketoday.test.web.client中的类
-
Helper class that keeps track of actual vs expected request count.
- defaultResponseCharacterEncoding - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- defaultResponseCharacterEncoding - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- defaultResponseCharacterEncoding(Charset) - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
-
Define the default character encoding to be applied to every response.
- defaultResponseCharacterEncoding(Charset) - 接口中的方法 cn.taketoday.test.web.servlet.setup.ConfigurableMockMvcBuilder
-
Define the default character encoding to be applied to every response.
- DefaultResponseCreator - cn.taketoday.test.web.client.response中的类
-
A
ResponseCreatorwith builder-style methods for adding response details. - DefaultResponseCreator(int) - 类的构造器 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Protected constructor.
- DefaultResponseCreator(HttpStatusCode) - 类的构造器 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Protected constructor.
- DefaultResponseSpec(ExchangeResult, ClientResponse, Consumer<EntityExchangeResult<?>>, Duration) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- defaultResultHandlers - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- defaultResultMatchers - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- defaultRollback - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- DefaultRouterFunctionSpec - cn.taketoday.test.web.reactive.server中的类
-
Spec for setting up server-less testing against a RouterFunction.
- DefaultRouterFunctionSpec(RouterFunction<?>) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultRouterFunctionSpec
- defaultServletName - 类中的变量 cn.taketoday.mock.web.MockServletContext
- DefaultTestContext - cn.taketoday.test.context.support中的类
-
Default implementation of the
TestContextinterface. - DefaultTestContext(DefaultTestContext) - 类的构造器 cn.taketoday.test.context.support.DefaultTestContext
-
Copy constructor for creating a new
DefaultTestContextbased on the attributes and immutable state of the supplied context. - DefaultTestContext(Class<?>, MergedContextConfiguration, CacheAwareContextLoaderDelegate) - 类的构造器 cn.taketoday.test.context.support.DefaultTestContext
-
Construct a new
DefaultTestContextfrom the supplied arguments. - DefaultTestContextBootstrapper - cn.taketoday.test.context.support中的类
-
Default implementation of the
TestContextBootstrapperSPI. - DefaultTestContextBootstrapper() - 类的构造器 cn.taketoday.test.context.support.DefaultTestContextBootstrapper
- DefaultWebTestClient - cn.taketoday.test.web.reactive.server中的类
-
Default implementation of
WebTestClient. - DefaultWebTestClient(ClientHttpConnector, Function<ClientHttpConnector, ExchangeFunction>, UriBuilderFactory, HttpHeaders, MultiValueMap<String, String>, Consumer<EntityExchangeResult<?>>, Duration, DefaultWebTestClientBuilder) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- DefaultWebTestClient.DefaultBodyContentSpec - cn.taketoday.test.web.reactive.server中的类
- DefaultWebTestClient.DefaultBodySpec<B,
S extends WebTestClient.BodySpec<B, S>> - cn.taketoday.test.web.reactive.server中的类 - DefaultWebTestClient.DefaultListBodySpec<E> - cn.taketoday.test.web.reactive.server中的类
- DefaultWebTestClient.DefaultRequestBodyUriSpec - cn.taketoday.test.web.reactive.server中的类
- DefaultWebTestClient.DefaultResponseSpec - cn.taketoday.test.web.reactive.server中的类
- DefaultWebTestClientBuilder - cn.taketoday.test.web.reactive.server中的类
-
Default implementation of
WebTestClient.Builder. - DefaultWebTestClientBuilder() - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- DefaultWebTestClientBuilder(ClientHttpConnector) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- DefaultWebTestClientBuilder(DefaultWebTestClientBuilder) - 类的构造器 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
-
Copy constructor.
- DEFINED_PORT - enum class 中的枚举常量 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Creates a (reactive) web application context without defining any
server.port=0Environmentproperty. - definition - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoField
- Definition - cn.taketoday.framework.test.mock.mockito中的类
-
Base class for
MockDefinitionandSpyDefinition. - Definition(String, MockReset, boolean, QualifierDefinition) - 类的构造器 cn.taketoday.framework.test.mock.mockito.Definition
- definitionFields - 类中的变量 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- definitions - 类中的变量 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- definitions - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizer
- definitions - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- DefinitionsParser - cn.taketoday.framework.test.mock.mockito中的类
-
Parser to create
MockDefinitionandSpyDefinitioninstances from@MockBeanand@SpyBeanannotations declared on or in a class. - DefinitionsParser() - 类的构造器 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- DefinitionsParser(Collection<? extends Definition>) - 类的构造器 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- delegate - 类中的变量 cn.taketoday.framework.test.system.OutputCaptureRule
- delegate - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector
- delegate - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection
- delegate - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- delegateProcessing(SmartContextLoader, ContextConfigurationAttributes) - 类中的静态方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- delegateServlet - 类中的变量 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- DelegateWebConnection(WebRequestMatcher, WebConnection) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection
- DelegatingServletInputStream - cn.taketoday.mock.web中的类
-
Delegating implementation of
ServletInputStream. - DelegatingServletInputStream(InputStream) - 类的构造器 cn.taketoday.mock.web.DelegatingServletInputStream
-
Create a DelegatingServletInputStream for the given source stream.
- DelegatingServletOutputStream - cn.taketoday.mock.web中的类
-
Delegating implementation of
ServletOutputStream. - DelegatingServletOutputStream(OutputStream) - 类的构造器 cn.taketoday.mock.web.DelegatingServletOutputStream
-
Create a DelegatingServletOutputStream for the given target stream.
- DelegatingSmartContextLoader - cn.taketoday.test.context.support中的类
-
DelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlContextLoaderAnnotationConfigContextLoader. - DelegatingSmartContextLoader() - 类的构造器 cn.taketoday.test.context.support.DelegatingSmartContextLoader
- DelegatingWebConnection - cn.taketoday.test.web.servlet.htmlunit中的类
-
Implementation of
WebConnectionthat allows delegating to variousWebConnectionimplementations. - DelegatingWebConnection(WebConnection, DelegatingWebConnection.DelegateWebConnection...) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- DelegatingWebConnection(WebConnection, List<DelegatingWebConnection.DelegateWebConnection>) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- DelegatingWebConnection.DelegateWebConnection - cn.taketoday.test.web.servlet.htmlunit中的类
-
The delegate web connection.
- delete() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- delete() - 类中的方法 cn.taketoday.mock.web.MockPart
- delete() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- delete() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP DELETE request.
- delete(String, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Delete the resources at the specified URI.
- delete(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP DELETE variant.
- delete(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a DELETE request. - delete(String, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Delete the resources at the specified URI.
- delete(URI) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Delete the resources at the specified URL.
- delete(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a DELETE request. - deleteFromTables(JdbcOperations, String...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Delete all rows from the specified tables.
- deleteFromTables(JdbcClient, String...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Delete all rows from the specified tables.
- deleteFromTables(String...) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Convenience method for deleting all rows from the specified tables.
- deleteFromTableWhere(JdbcOperations, String, String, Object...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Delete rows from the given table, using the provided
WHEREclause. - deleteFromTableWhere(JdbcClient, String, String, Object...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Delete rows from the given table, using the provided
WHEREclause. - deleteFromTableWhere(String, String, Object...) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Convenience method for deleting all rows from the given table, using the provided
WHEREclause. - DependencyInjectionTestExecutionListener - cn.taketoday.test.context.support中的类
-
TestExecutionListenerwhich provides support for dependency injection and initialization of test instances. - DependencyInjectionTestExecutionListener() - 类的构造器 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
- descriptor - 类中的变量 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- descriptors - 类中的变量 cn.taketoday.test.context.support.MergedTestPropertySources
- descriptors - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- deserializeState(Serializable) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
Deserialize the attributes of this session from a state object created by
MockHttpSession.serializeState(). - destroy() - 类中的方法 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- destroy() - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- detectDefaultConfigurationClasses(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
-
Detect the default configuration classes for the supplied test class.
- detectDefaultConfigurationClasses(Class<?>) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
Detect the default configuration classes for the supplied test class.
- detectDefaultConfigurationClasses(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.AnnotationConfigContextLoaderUtils
-
Detect the default configuration classes for the supplied test class.
- detectDefaultConfigurationClasses(Class<?>) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
Detect the default configuration classes for the supplied test class.
- detectDefaultPropertiesFile(Class<?>) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- detectDefaultScript(Class<?>, Method, boolean) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Detect a default SQL script by implementing the algorithm defined in
Sql.scripts(). - detectRootUri - 类中的变量 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- determineBeanName(Collection<String>, SpyDefinition, BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- determineImports(MergedAnnotations, Class<?>) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- determineImports(Class<?>, AnnotationMetadata) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- determineMappingMatch() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Best effort to detect a Servlet path mapping, e.g.
- determinePrimaryCandidate(BeanDefinitionRegistry, Collection<String>, ResolvableType) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- determineResourceBasePath(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Determines the resource base path for web applications using the value of
@WebAppConfiguration, if any, on the test class of the givenconfiguration. - diagnosticsLogged - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Ensure single logging, e.g. for expectAll.
- diff - 类中的变量 cn.taketoday.test.util.XmlExpectationsHelper.XmlUnitDiff
- DirtiesContext - cn.taketoday.test.annotation中的Annotation Interface
-
Test annotation which indicates that the
ApplicationContextassociated with a test is dirty and should therefore be closed and removed from the context cache. - DirtiesContext.ClassMode - cn.taketoday.test.annotation中的Enum Class
-
Defines modes which determine how
@DirtiesContextis interpreted when used to annotate a test class. - DirtiesContext.HierarchyMode - cn.taketoday.test.annotation中的Enum Class
-
Defines modes which determine how the context cache is cleared when
@DirtiesContextis used in a test whose context is configured as part of a hierarchy via@ContextHierarchy. - DirtiesContext.MethodMode - cn.taketoday.test.annotation中的Enum Class
-
Defines modes which determine how
@DirtiesContextis interpreted when used to annotate a test method. - DirtiesContextBeforeModesTestExecutionListener - cn.taketoday.test.context.support中的类
-
TestExecutionListenerwhich provides support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation. - DirtiesContextBeforeModesTestExecutionListener() - 类的构造器 cn.taketoday.test.context.support.DirtiesContextBeforeModesTestExecutionListener
- DirtiesContextTestExecutionListener - cn.taketoday.test.context.support中的类
-
TestExecutionListenerwhich provides support for marking theApplicationContextassociated with a test as dirty for both test classes and test methods annotated with the@DirtiesContextannotation. - DirtiesContextTestExecutionListener() - 类的构造器 cn.taketoday.test.context.support.DirtiesContextTestExecutionListener
- dirtyContext(TestContext, DirtiesContext.HierarchyMode) - 类中的方法 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
-
Mark the application context of the supplied test context as dirty and set
REINJECT_DEPENDENCIES_ATTRIBUTEin the test context totrue. - DisabledIf - cn.taketoday.test.context.junit.jupiter中的Annotation Interface
-
@DisabledIfis used to signal that the annotated test class or test method is disabled and should not be executed if the suppliedDisabledIf.expression()evaluates totrue. - DisabledIfCondition - cn.taketoday.test.context.junit.jupiter中的类
-
DisabledIfConditionis anExecutionConditionthat supports the@DisabledIfannotation when using the Infra TestContext Framework in conjunction with JUnit 5's Jupiter programming model. - DisabledIfCondition() - 类的构造器 cn.taketoday.test.context.junit.jupiter.DisabledIfCondition
- DisabledInAotMode - cn.taketoday.test.context.aot中的Annotation Interface
-
@DisabledInAotModesignals that an annotated test class is disabled in Infra AOT (ahead-of-time) mode, which means that theApplicationContextfor the test class will not be processed for AOT optimizations at build time. - DisabledInAotModeCondition - cn.taketoday.test.context.aot中的类
-
ExecutionConditionimplementation forDisabledInAotMode. - DisabledInAotModeCondition() - 类的构造器 cn.taketoday.test.context.aot.DisabledInAotModeCondition
- dispatch() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- dispatch(ServletContext, String) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- dispatch(String) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- dispatchedPath - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- dispatcherServletCustomizer(DispatcherServletCustomizer) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- dispatcherServletCustomizer(DispatcherServletCustomizer) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Allow customization of
DispatcherServlet. - DispatcherServletCustomizer - cn.taketoday.test.web.servlet中的接口
-
Strategy interface for customizing
DispatcherServletinstances that are managed byMockMvc. - dispatcherServletCustomizers - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- dispatcherType - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- dispatcherTypes - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- dispatchHandlers - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- doAddHeaderValue(String, Object, boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- doAddHeaderValue(String, Object, boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- doConnect(HttpMethod, URI, Function<? super ClientHttpRequest, Mono<Void>>) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- doesNotContain(E...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec
- doesNotContain(E...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ListBodySpec
-
Assert the extracted list of values doesn't contain the given elements.
- doesNotExist() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that a value does not exist at the given path.
- doesNotExist() - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Assert that content does not exist at the given XPath.
- doesNotExist() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- doesNotExist() - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
-
Delegates to
XpathExpectationsHelper.doesNotExist(byte[], String). - doesNotExist() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that a non-null value does not exist at the given path.
- doesNotExist() - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert that content doesn't exist.
- doesNotExist(byte[], String) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content does not exist.
- doesNotExist(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that a non-null value does not exist at the given path. - doesNotExist(String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Expect that the cookie with the given name is not present.
- doesNotExist(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect that the header with the given name is not present.
- doesNotExist(String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie does not exist.
- doesNotExist(String) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert that the named response header does not exist.
- doesNotHaveBean(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context (or ancestors) does not contain any beans of the given type.
- doesNotHaveBean(Class<?>, ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context does not contain any beans of the given type.
- doesNotHaveBean(String) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context does not contain a beans of the given name.
- doesNotHaveEmptyJsonPathValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path does not produce an
emptyresult. - doesNotHaveJsonPath() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the supplied
contentand assert that a value, includingnullvalues, does not exist at the given path. - doesNotHaveJsonPath() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- doesNotHaveJsonPath() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the supplied
contentand assert that a value, includingnullvalues, does not exist at the given path. - doesNotHaveJsonPath(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the JSON path is not present, even if it has a
nullvalue. - doesNotHaveJsonPath(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that a value, includingnullvalues, does not exist at the given path. - doesNotHaveJsonPathValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces no result.
- doFilter(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockFilterChain
-
Invoke registered
Filtersand/orServletalso saving the request and response. - doFilter(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.PassThroughFilterChain
-
Pass the call on to the Filter/Servlet.
- doFilter(ServletRequest, ServletResponse, FilterChain) - 类中的方法 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- doFilter(ServletRequest, ServletResponse, FilterChain) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- domain - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- domain(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's domain attribute.
- domain(String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's domain.
- domain(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's domain attribute with a Hamcrest
Matcher. - domain(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's domain with a Hamcrest
Matcher. - doProcess() - 类中的方法 cn.taketoday.test.context.aot.TestAotProcessor
-
Trigger processing of the test classes by clearing output directories first and then performing AOT processing.
- doWith(Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoAnnotationCollection
- doWithField(Field, Object, Supplier<M>) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- driver - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- dropTables(JdbcOperations, String...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Drop the specified tables.
- dropTables(JdbcClient, String...) - 类中的静态方法 cn.taketoday.test.jdbc.JdbcTestUtils
-
Drop the specified tables.
- dropTables(String...) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Convenience method for dropping all of the specified tables.
- DuplicateJsonObjectContextCustomizer() - 类的构造器 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- DuplicateJsonObjectContextCustomizerFactory - cn.taketoday.framework.test.json中的类
-
A
ContextCustomizerFactorythat produces aContextCustomizerthat warns the user when multiple occurrences ofJSONObjectare found on the class path. - DuplicateJsonObjectContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory
- DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer - cn.taketoday.framework.test.json中的类
- duplicationDetected(TestPropertySourceAttributes, TestPropertySourceAttributes) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- DynamicPropertiesContextCustomizer - cn.taketoday.test.context.support中的类
-
ContextCustomizerto support@DynamicPropertySourcemethods. - DynamicPropertiesContextCustomizer(Set<Method>) - 类的构造器 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- DynamicPropertiesContextCustomizerFactory - cn.taketoday.test.context.support中的类
-
ContextCustomizerFactoryto support@DynamicPropertySourcemethods. - DynamicPropertiesContextCustomizerFactory() - 类的构造器 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizerFactory
- DynamicPropertyRegistry - cn.taketoday.test.context中的接口
-
Registry used with
@DynamicPropertySourcemethods so that they can add properties to theEnvironmentthat have dynamically resolved values. - DynamicPropertySource - cn.taketoday.test.context中的Annotation Interface
-
Method-level annotation for integration tests that need to add properties with dynamic values to the
Environment's set ofPropertySources. - DynamicValuesPropertySource - cn.taketoday.test.context.support中的类
-
EnumerablePropertySourcebacked by a map with dynamically supplied values. - DynamicValuesPropertySource(String, Map<String, Supplier<Object>>) - 类的构造器 cn.taketoday.test.context.support.DynamicValuesPropertySource
E
- earlySpyReferences - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- effectiveMajorVersion - 类中的变量 cn.taketoday.mock.web.MockServletContext
- effectiveMinorVersion - 类中的变量 cn.taketoday.mock.web.MockServletContext
- embedded - enum class中的变量 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
- empty - 类中的静态变量 cn.taketoday.test.context.support.MergedTestPropertySources
- empty() - 类中的静态方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Factory for an empty
MergedTestPropertySourcesinstance. - empty() - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return an empty
TestPropertyValuesinstance. - EMPTY - 类中的静态变量 cn.taketoday.test.util.TestPropertyValues
- EMPTY_BUFFERED_READER - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
- EMPTY_CLASS_ARRAY - 类中的静态变量 cn.taketoday.test.context.MergedContextConfiguration
- EMPTY_CLASSES - 类中的静态变量 cn.taketoday.test.context.ContextConfigurationAttributes
- EMPTY_CONTEXT_CUSTOMIZERS - 类中的静态变量 cn.taketoday.test.context.MergedContextConfiguration
- EMPTY_INITIALIZER_CLASSES - 类中的静态变量 cn.taketoday.test.context.MergedContextConfiguration
- EMPTY_LOCATIONS - 类中的静态变量 cn.taketoday.test.context.ContextConfigurationAttributes
- EMPTY_STRING_ARRAY - 类中的静态变量 cn.taketoday.test.context.MergedContextConfiguration
- EMPTY_STRING_ARRAY - 类中的静态变量 cn.taketoday.test.context.support.AbstractContextLoader
- EMPTY_STRING_ARRAY - 类中的静态变量 cn.taketoday.test.context.support.DefaultActiveProfilesResolver
- emptyRootDirectory - 类中的变量 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- ENABLE_COOKIES - enum class 中的枚举常量 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
-
Enable cookies.
- ENABLE_REDIRECTS - enum class 中的枚举常量 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
-
Enable redirects.
- EnabledIf - cn.taketoday.test.context.junit.jupiter中的Annotation Interface
-
@EnabledIfis used to signal that the annotated test class or test method is enabled and should be executed if the suppliedEnabledIf.expression()evaluates totrue. - EnabledIfCondition - cn.taketoday.test.context.junit.jupiter中的类
-
EnabledIfConditionis anExecutionConditionthat supports the@EnabledIfannotation when using the Infra TestContext Framework in conjunction with JUnit 5's Jupiter programming model. - EnabledIfCondition() - 类的构造器 cn.taketoday.test.context.junit.jupiter.EnabledIfCondition
- enableRedirects - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
- ENCLOSING_CONFIGURATION_PROPERTY_NAME - annotation interface中的静态变量 cn.taketoday.test.context.NestedTestConfiguration
-
JVM system property used to change the default enclosing configuration inheritance mode:
NestedTestConfiguration.ENCLOSING_CONFIGURATION_PROPERTY_NAME. - EnclosingConfiguration() - enum class的构造器 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
- encodeCookies(Cookie...) - 类中的静态方法 cn.taketoday.mock.web.MockHttpServletRequest
- encodeRedirectURL(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
The default implementation delegates to
MockHttpServletResponse.encodeURL(java.lang.String), returning the given URL String as-is. - encodeURL(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
The default implementation returns the given URL String as-is.
- encoding - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- encoding() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The encoding for the supplied SQL scripts, if different from the platform encoding.
- encoding() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Specify the character encoding for the given resources — for example, "UTF-8".
- encoding(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the character encoding in the ServletResponse.
- encoding(Charset) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the character encoding in the ServletResponse.
- end() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Immediately force a commit or rollback of the current test-managed transaction, according to the rollback flag.
- endsWithMatches - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
-
Patterns that require the request URL to have a specific suffix, e.g. "*.html"
- endTransaction() - 类中的方法 cn.taketoday.test.context.transaction.TransactionContext
-
Immediately force a commit or rollback of the transaction for the configured test context, according to the rollback flag.
- enforceCommentPrefixAliases(AnnotationAttributes) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- ensureInfraRulesAreNotPresent(Class<?>) - 类中的静态方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
- EntityExchangeResult<T> - cn.taketoday.test.web.reactive.server中的类
-
ExchangeResultsub-class that exposes the response body fully extracted to a representation of type<T>. - EntityExchangeResult(ExchangeResult, T) - 类的构造器 cn.taketoday.test.web.reactive.server.EntityExchangeResult
- entityExchangeResultConsumer(Consumer<EntityExchangeResult<?>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- entityExchangeResultConsumer(Consumer<EntityExchangeResult<?>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Configure an
EntityExchangeResultcallback that is invoked every time after a response is fully decoded to a single entity, to a List of entities, or to a byte[]. - entityResultConsumer - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- entityResultConsumer - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- entityResultConsumer - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- environment - 类中的变量 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
- environmentProperties - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.InfraTestArgs
- equals(Object) - 类中的方法 cn.taketoday.framework.test.context.InfraTestWebEnvironment
- equals(Object) - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
- equals(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- equals(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- equals(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- equals(Object) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- equals(Object) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- equals(Object) - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Determine if the supplied object is equal to this
ContextConfigurationAttributesinstance by comparing both object's declaring class, locations, annotated classes, inheritLocations flag, context initializer classes, inheritInitializers flag, and theContextLoader class. - equals(Object) - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Determine if the supplied object is equal to this
MergedContextConfigurationinstance by comparing both objects' locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, parents, and the fully qualified names of theirContextLoaders. - equals(Object) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Determine if the supplied object is equal to this
MergedTestPropertySourcesinstance by comparing both objects' descriptors and properties. - equals(Object) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- equals(Object) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizer
- equals(Object) - 类中的方法 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Determine if the supplied object is equal to this
WebMergedContextConfigurationinstance by comparing both objects' locations, annotated classes, context initializer classes, active profiles, resource base paths, property source descriptors, property source properties, context customizers, parents, and the fully qualified names of theirContextLoaders. - equals(Object) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- equals(Object) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- err - 类中的变量 cn.taketoday.framework.test.system.OutputCapture
- err - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- ERR - enum class 中的枚举常量 cn.taketoday.framework.test.system.OutputCapture.Type
- errorCount(int) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the total number of errors in the model.
- errorMessage - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- errorMode - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- errorMode() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The mode to use when an error is encountered while executing an SQL statement.
- ErrorMode() - enum class的构造器 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
- evaluate() - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule.TestContextManagerCacheEvictor
- evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.FailOnTimeout
-
Evaluate the next
statementin the execution chain (typically an instance ofRepeatTest) and throw aTimeoutExceptionif the nextstatementexecutes longer than the specifiedtimeout. - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.ProfileValueChecker
-
Determine if the test specified by arguments to the constructor is enabled in the current environment, as configured via the
@IfProfileValueannotation. - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RepeatTest
-
Evaluate the next
statementin the execution chain repeatedly, using the specified repeat count. - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunAfterTestClassCallbacks
-
Evaluate the next
Statementin the execution chain (typically an instance ofRunAfters), catching any exceptions thrown, and then invokeTestContextManager.afterTestClass(). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
-
Evaluate the next
Statementin the execution chain (typically an instance ofRunBeforeTestExecutionCallbacks), catching any exceptions thrown, and then invokeTestContextManager.afterTestExecution(java.lang.Object, java.lang.reflect.Method, java.lang.Throwable)supplying the first caught exception (if any). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
-
Evaluate the next
Statementin the execution chain (typically an instance ofRunAfters), catching any exceptions thrown, and then invokeTestContextManager.afterTestMethod(Object, Method, Throwable)supplying the first caught exception (if any). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunBeforeTestClassCallbacks
-
Invoke
TestContextManager.beforeTestClass()and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
-
Invoke
TestContextManager.beforeTestExecution(Object, Method)and then evaluate the nextStatementin the execution chain (typically an instance ofInvokeMethod). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
-
Invoke
TestContextManager.beforeTestMethod(Object, Method)and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores). - evaluate() - 类中的方法 cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
-
Invoke
TestContextManager.prepareTestInstance(Object)and then evaluate the nextStatementin the execution chain (typically an instance ofRunAfterTestMethodCallbacks). - evaluateAnnotation(Class<A>, Function<A, String>, Function<A, String>, Function<A, Boolean>, boolean, ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.AbstractExpressionEvaluatingCondition
-
Evaluate the expression configured via the supplied annotation type on the
AnnotatedElementfor the suppliedExtensionContext. - evaluateExecutionCondition(ExtensionContext) - 类中的方法 cn.taketoday.test.context.aot.DisabledInAotModeCondition
- evaluateExecutionCondition(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.DisabledIfCondition
-
Containers and tests are disabled if
@DisabledIfis present on the corresponding test class or test method and the configured expression evaluates totrue. - evaluateExecutionCondition(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.EnabledIfCondition
-
Containers and tests are enabled if
@EnabledIfis present on the corresponding test class or test method and the configured expression evaluates totrue. - evaluateExpression(String, boolean, Class<A>, ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.AbstractExpressionEvaluatingCondition
- evaluateJsonPath(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path and return the resulting value.
- evaluateJsonPath(String, Class<?>) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Variant of
JsonPathExpectationsHelper.evaluateJsonPath(String)with a target type. - evaluateXpath(byte[], String, Class<T>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Evaluate the XPath and return the resulting value.
- evaluateXpath(Document, QName, Class<T>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression to given document.
- EventPublishingTestExecutionListener - cn.taketoday.test.context.event中的类
-
TestExecutionListenerthat publishes test execution events to theApplicationContextfor the currently executing test. - EventPublishingTestExecutionListener() - 类的构造器 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- events - 类中的变量 cn.taketoday.test.context.event.DefaultApplicationEvents
- exactMatches - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
-
Patterns that require an exact match, e.g.
- ExceptionCollector - cn.taketoday.test.util中的类
-
ExceptionCollectoris a test utility for executing code blocks, collecting exceptions, and generating a singleAssertionErrorcontaining any exceptions encountered as suppressed exceptions. - ExceptionCollector() - 类的构造器 cn.taketoday.test.util.ExceptionCollector
- ExceptionCollector.Executable - cn.taketoday.test.util中的接口
-
Executableis a functional interface that can be used to implement any generic block of code that potentially throws aThrowable. - exceptions - 类中的变量 cn.taketoday.test.util.ExceptionCollector
- exchange() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- exchange() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Perform the exchange without a request body.
- exchange(RequestEntity<?>, ParameterizedTypeReference<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the request specified in the given
RequestEntityand return the response asResponseEntity. - exchange(RequestEntity<?>, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the request specified in the given
RequestEntityand return the response asResponseEntity. - exchange(String, HttpMethod, HttpEntity<?>, ParameterizedTypeReference<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity<?>, ParameterizedTypeReference<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity<?>, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(String, HttpMethod, HttpEntity<?>, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(URI, HttpMethod, HttpEntity<?>, ParameterizedTypeReference<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchange(URI, HttpMethod, HttpEntity<?>, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response as
ResponseEntity. - exchangeFunction - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- exchangeResult - 类中的变量 cn.taketoday.test.web.reactive.server.CookieAssertions
- exchangeResult - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- exchangeResult - 类中的变量 cn.taketoday.test.web.reactive.server.HeaderAssertions
- exchangeResult - 类中的变量 cn.taketoday.test.web.reactive.server.StatusAssertions
- ExchangeResult - cn.taketoday.test.web.reactive.server中的类
-
Container for request and response details for exchanges performed through
WebTestClient. - ExchangeResult(ClientHttpRequest, ClientHttpResponse, Mono<byte[]>, Mono<byte[]>, Duration, String, Object) - 类的构造器 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Create an instance with an HTTP request and response along with promises for the serialized request and response body content.
- ExchangeResult(ExchangeResult) - 类的构造器 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Copy constructor to use after body is decoded and/or consumed.
- exchanges - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector
- exchangeStrategies(ExchangeStrategies) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- exchangeStrategies(ExchangeStrategies) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Configure the
ExchangeStrategiesto use. - exchangeStrategies(Consumer<ExchangeStrategies.Builder>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- exchangeStrategies(Consumer<ExchangeStrategies.Builder>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Customize the strategies configured via
WebTestClient.Builder.exchangeStrategies(ExchangeStrategies). - ExcludeFilterApplicationContextInitializer - cn.taketoday.framework.test.context.filter中的类
-
ApplicationContextInitializerto register theTestTypeExcludeFilterfor whenApplication.from(cn.taketoday.util.function.ThrowingConsumer<java.lang.String[]>)is being used with the test classpath. - ExcludeFilterApplicationContextInitializer() - 类的构造器 cn.taketoday.framework.test.context.filter.ExcludeFilterApplicationContextInitializer
- ExcludeFilterContextCustomizer - cn.taketoday.framework.test.context.filter中的类
- ExcludeFilterContextCustomizer() - 类的构造器 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizer
- ExcludeFilterContextCustomizerFactory - cn.taketoday.framework.test.context.filter中的类
- ExcludeFilterContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizerFactory
- execute() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- execute() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- execute() - 接口中的方法 cn.taketoday.test.util.ExceptionCollector.Executable
- execute(ExceptionCollector.Executable) - 类中的方法 cn.taketoday.test.util.ExceptionCollector
-
Execute the supplied
ExceptionCollector.Executableand track any exception thrown. - execute(String, HttpMethod, RequestCallback, ResponseExtractor<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor. - execute(String, HttpMethod, RequestCallback, ResponseExtractor<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URI template, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor. - execute(URI, HttpMethod, RequestCallback, ResponseExtractor<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Execute the HTTP method to the given URL, preparing the request with the
RequestCallback, and reading the response with aResponseExtractor. - executeClassLevelSqlScripts(TestContext, Sql.ExecutionPhase) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute class-level SQL scripts configured via
@Sqlfor the suppliedTestContextand the suppliedBEFORE_TEST_CLASSorAFTER_TEST_CLASSexecution phase. - executed - 类中的变量 cn.taketoday.mock.http.client.MockClientHttpRequest
- executeInternal() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
-
The default implementation returns the configured
response. - executeSqlScript(String, boolean) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Execute the given SQL script.
- executeSqlScripts(Sql, Sql.ExecutionPhase, TestContext, boolean) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute the SQL scripts configured via the supplied
@Sqlannotation for the givenSql.ExecutionPhaseandTestContext. - executeSqlScripts(TestContext, Sql.ExecutionPhase) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- executeSqlScripts(Set<Sql>, TestContext, Sql.ExecutionPhase, boolean) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Execute SQL scripts for the supplied
@Sqlannotations. - executionPhase() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.Sql
-
When the SQL scripts and statements should be executed.
- ExecutionPhase() - enum class的构造器 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
- EXHAUSTIVE - enum class 中的枚举常量 cn.taketoday.test.annotation.DirtiesContext.HierarchyMode
-
The context cache will be cleared using an exhaustive algorithm that includes not only the current level but also all other context hierarchies that share an ancestor context common to the current test.
- exists() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that a non-null value exists at the given path.
- exists() - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Assert that content exists at the given XPath.
- exists() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- exists() - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
-
Delegates to
XpathExpectationsHelper.exists(byte[], String). - exists() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that a non-null value, possibly an empty array or map, exists at the given path.
- exists() - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert that content exists.
- exists(byte[], String) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Apply the XPath expression and assert the resulting content exists.
- exists(String) - 类中的方法 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- exists(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that a non-null value, possibly an empty array or map, exists at the given path. - exists(String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Expect that the cookie with the given name is present.
- exists(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect that the header with the given name is present.
- exists(String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie exists.
- exists(String) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert that the named response header exists.
- expect(ExpectedCount, RequestMatcher) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer
-
An alternative to
MockRestServiceServer.expect(RequestMatcher)that also indicates how many times the request is expected to be executed. - expect(RequestMatcher) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Set up an expectation for a single HTTP request.
- expect(Matcher<? super String>) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
-
Verify that the output is matched by the supplied
matcher. - expectAll(WebTestClient.ResponseSpec.ResponseSpecConsumer...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectAll(WebTestClient.ResponseSpec.ResponseSpecConsumer...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Apply multiple assertions to a response with the given consumers, with the guarantee that all assertions will be applied even if one or more assertions fails with an exception.
- expectationIterator - 类中的变量 cn.taketoday.test.web.client.SimpleRequestExpectationManager
-
Expectations in the order of declaration (count may be > 1).
- expectationManager - 类中的变量 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- expectationManager - 类中的变量 cn.taketoday.test.web.client.MockRestServiceServer
- expectationManagers - 类中的变量 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- expectationManagerSupplier - 类中的变量 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- expectations - 类中的变量 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- expectations - 类中的变量 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
- expectBody() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectBody() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Consume and decode the response body to
byte[]and then apply assertions on the raw content (e.g. isEmpty, JSONPath, etc.) - expectBody(ParameterizedTypeReference<B>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectBody(ParameterizedTypeReference<B>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Alternative to
WebTestClient.ResponseSpec.expectBody(Class)that accepts information about a target type with generics. - expectBody(Class<B>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectBody(Class<B>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Consume and decode the response body to a single object of type
<B>and then apply assertions. - expectBodyList(ParameterizedTypeReference<E>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectBodyList(ParameterizedTypeReference<E>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Alternative to
WebTestClient.ResponseSpec.expectBodyList(Class)that accepts information about a target type with generics. - expectBodyList(Class<E>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectBodyList(Class<E>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Consume and decode the response body to
List<E>and then apply List-specific assertions. - expectCookie() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectCookie() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Assertions on the cookies of the response.
- expectedCount - 类中的变量 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- ExpectedCount - cn.taketoday.test.web.client中的类
-
A simple type representing a range for an expected count.
- ExpectedCount(int, int) - 类的构造器 cn.taketoday.test.web.client.ExpectedCount
-
Private constructor.
- expectHeader() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectHeader() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Assertions on the headers of the response.
- expectRequest(ExpectedCount, RequestMatcher) - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- expectRequest(ExpectedCount, RequestMatcher) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- expectRequest(ExpectedCount, RequestMatcher) - 接口中的方法 cn.taketoday.test.web.client.RequestExpectationManager
-
Set up a new request expectation.
- expectStatus() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- expectStatus() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Assertions on the response status.
- expires - 类中的变量 cn.taketoday.mock.web.MockCookie
- expires(long) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect an "Expires" header with the given value.
- EXPIRES - 类中的静态变量 cn.taketoday.mock.web.MockCookie
- expression - 类中的变量 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- expression - 类中的变量 cn.taketoday.test.util.JsonPathExpectationsHelper
- expression - 类中的变量 cn.taketoday.test.util.XpathExpectationsHelper
- expression() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.DisabledIf
-
The expression that will be evaluated to determine if the annotated test class or test method is disabled.
- expression() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.EnabledIf
-
The expression that will be evaluated to determine if the annotated test class or test method is enabled.
- EXTEND_WITH_ANNOTATION_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestClassScanner
- extendMvcSingletons(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
This method could be used from a subclass to register additional Infra MVC infrastructure such as additional
HandlerMapping,HandlerAdapter, and others. - EXTENSION_MAPPING_PATTERN - 类中的静态变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- extractAttributeValue(String, String) - 类中的静态方法 cn.taketoday.mock.web.MockCookie
- extractingJsonPathArrayValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the array value at the given JSON path for further object assertions.
- extractingJsonPathBooleanValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the boolean value at the given JSON path for further object assertions.
- extractingJsonPathMapValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the map value at the given JSON path for further object assertions.
- extractingJsonPathNumberValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the number value at the given JSON path for further object assertions.
- extractingJsonPathStringValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the string value at the given JSON path for further object assertions.
- extractingJsonPathValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Extract the value at the given JSON path for further object assertions.
- extractingJsonPathValue(CharSequence, Object[], Class<T>, String) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
- extraInterfaces - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockDefinition
- extraInterfaces() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
Any extra interfaces that should also be declared on the mock.
F
- factories() - annotation interface 中的元素 cn.taketoday.test.context.support.ContextCustomizerFactories
-
The
ContextCustomizerFactoryimplementations to register. - factory() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Specify a custom
PropertySourceFactory, if any. - fail(String) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Fail a test with the given message.
- fail(String, Object, Object) - 类中的静态方法 cn.taketoday.test.util.AssertionErrors
-
Fail a test with the given message passing along expected and actual values to be appended to the message.
- FAIL_ON_ERROR - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Indicates that script execution will fail if an error is encountered.
- FAIL_ON_ERROR_PROPERTY_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestContextAotGenerator
-
JVM system property used to set the
failOnErrorflag: "infra.test.aot.processing.failOnError". - failOnError - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- FailOnTimeout - cn.taketoday.test.context.junit4.statements中的类
-
FailOnTimeoutis a custom JUnitStatementwhich adds support for Framework's@Timedannotation by throwing an exception if the next statement in the execution chain takes more than the specified number of milliseconds. - FailOnTimeout(Statement, long) - 类的构造器 cn.taketoday.test.context.junit4.statements.FailOnTimeout
-
Construct a new
FailOnTimeoutstatement for the suppliedtimeout. - FailOnTimeout(Statement, Method) - 类的构造器 cn.taketoday.test.context.junit4.statements.FailOnTimeout
-
Construct a new
FailOnTimeoutstatement for the suppliedtestMethod, retrieving the configured timeout from the@Timedannotation on the supplied method. - FailureAfterResponseCompletedException(ClientHttpResponse, Throwable) - 异常错误的构造器 cn.taketoday.test.web.reactive.server.HttpHandlerConnector.FailureAfterResponseCompletedException
- failureCounts - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
-
Map of context keys to context load failure counts.
- failureReason(String, Object) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
- failureThreshold - 类中的变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
The configured failure threshold for errors encountered while attempting to load an
ApplicationContext. - failWithNoValueMessage() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- featureName - 类中的变量 cn.taketoday.test.context.aot.TestContextGenerationContext
- field - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoField
- field - 类中的变量 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- FieldInitializer(Class<? extends AbstractJsonMarshalTester>) - 类的构造器 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- fieldRegistry - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- file(MockMultipartFile) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Add the given
MockMultipartFile. - file(String, byte[]) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Add a new
MockMultipartFilewith the given content. - filename - 类中的变量 cn.taketoday.mock.web.MockPart
- files - 类中的变量 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
- filter - 类中的变量 cn.taketoday.mock.web.PassThroughFilterChain
- filter(ExchangeFilterFunction) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- filter(ExchangeFilterFunction) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Add the given filter to the filter chain.
- filter(Filter, String...) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- filter(Filter, String...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Add a filter for specific URL patterns.
- filterConfigInitializer - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- FilteredClassLoader - cn.taketoday.framework.test.context中的类
-
Test
URLClassLoaderthat can filter the classes and resources it can load. - FilteredClassLoader(ClassPathResource...) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader
-
Create a
FilteredClassLoaderthat hides resources from the givenclasspath resources. - FilteredClassLoader(Class<?>...) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader
-
Create a
FilteredClassLoaderthat hides the given classes. - FilteredClassLoader(String...) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader
-
Create a
FilteredClassLoaderthat hides classes from the given packages. - FilteredClassLoader(Collection<Predicate<String>>, Collection<Predicate<String>>) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader
- FilteredClassLoader(Predicate<String>...) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader
-
Create a
FilteredClassLoaderthat filters based on the given predicate. - FilteredClassLoader.ClassFilter - cn.taketoday.framework.test.context中的类
-
Filter to restrict the classes that can be loaded.
- FilteredClassLoader.ClassPathResourceFilter - cn.taketoday.framework.test.context中的类
-
Filter to restrict the resources that can be loaded.
- FilteredClassLoader.PackageFilter - cn.taketoday.framework.test.context中的类
-
Filter to restrict the packages that can be loaded.
- filterName - 类中的变量 cn.taketoday.mock.web.MockFilterConfig
- filters - 类中的变量 cn.taketoday.mock.web.MockFilterChain
- filters - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- filters - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- filters - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- filters(Filter...) - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- filters(Filter...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.MockMvcServerSpec
-
Add a global filter.
- filters(Consumer<List<ExchangeFilterFunction>>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- filters(Consumer<List<ExchangeFilterFunction>>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Manipulate the filters with the given consumer.
- findAllLocalMergedAnnotations() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
-
Find all annotations of the specified annotation type that are present or meta-present on the root declaring class of this descriptor or on any interfaces that the root declaring class implements.
- findAllLocalMergedAnnotations() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
-
Throws an
UnsupportedOperationExceptionsince the type of annotation represented by anUntypedAnnotationDescriptoris unknown. - findAnnotationDescriptor(Class<?>, Class<T>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Find the
TestContextAnnotationUtils.AnnotationDescriptorfor the suppliedannotationTypeon the suppliedClass, traversing its annotations, interfaces, superclasses, and enclosing classes if no annotation can be found on the given class itself. - findAnnotationDescriptor(Class<?>, Class<T>, Predicate<Class<?>>, Set<Annotation>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Perform the search algorithm for
TestContextAnnotationUtils.findAnnotationDescriptor(Class, Class), avoiding endless recursion by tracking which annotations have already been visited. - findAnnotationDescriptorForTypes(Class<?>, Class<? extends Annotation>...) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Find the
TestContextAnnotationUtils.UntypedAnnotationDescriptorfor the firstClassin the inheritance hierarchy of the specifiedclazz(including the specifiedclazzitself) which declares at least one of the specifiedannotationTypes. - findAnnotationDescriptorForTypes(Class<?>, Class<? extends Annotation>[], Set<Annotation>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Perform the search algorithm for
TestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class, Class...), avoiding endless recursion by tracking which annotations have already been visited. - findAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- findBean(String) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- findExpectation(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
-
Return a matching expectation, or
nullif none match. - findFromClass(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.AnnotatedClassFinder
-
Find the first
Classthat is annotated with the target annotation, starting from the package defined by the givensourceup to the root. - findFromPackage(String) - 类中的方法 cn.taketoday.framework.test.context.AnnotatedClassFinder
-
Find the first
Classthat is annotated with the target annotation, starting from the package defined by the givensourceup to the root. - findJsonObjects() - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- findMergedAnnotation(Class<?>, Class<T>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Find the first annotation of the specified
annotationTypewithin the annotation hierarchy above the supplied class, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType. - findMergedAnnotation(Class<?>, Class<T>, Predicate<Class<?>>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
- findMergedAnnotation(AnnotatedElement, Class<A>) - 类中的静态方法 cn.taketoday.test.context.junit.jupiter.AbstractExpressionEvaluatingCondition
- findMethods(Class<?>, Set<Method>) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizerFactory
- findRepeatableAnnotations(Class<?>, Class<T>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- findRepeatableAnnotations(Class<?>, Class<T>, List<List<MergedAnnotation<T>>>, int[]) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- finished - 类中的变量 cn.taketoday.mock.web.DelegatingServletInputStream
- flagForCommit() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Flag the current test-managed transaction for commit.
- flagForRollback() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Flag the current test-managed transaction for rollback.
- flaggedForRollback - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- flash() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to flash attribute assertions.
- flashAttr(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set an "input" flash attribute.
- FlashAttributeResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for "output" flash attribute assertions.
- FlashAttributeResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.FlashAttributeResultMatchers
-
Protected constructor.
- flashAttributes - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- flashAttrs(Map<String, Object>) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set flash attributes.
- flashMapManager - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- flashMapManager(RedirectModelManager) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide a custom FlashMapManager.
- flashMapManager(RedirectModelManager) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- flush() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
- flush() - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
- flush() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- flush() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponseServletOutputStream
- flush() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- flushBuffer() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- FluxExchangeResult<T> - cn.taketoday.test.web.reactive.server中的类
-
ExchangeResultvariant with the response body decoded asFlux<T>but not yet consumed. - FluxExchangeResult(ExchangeResult, Flux<T>) - 类的构造器 cn.taketoday.test.web.reactive.server.FluxExchangeResult
- forContext(RequestContext) - 类中的静态方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- forElement(AnnotatedElement) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- formatBody(MediaType, Mono<byte[]>) - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
- formatDate(long) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- formatHeaders(HttpHeaders, String) - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
- formatMockServerResult() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
- formatStatus(HttpStatusCode) - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
- formData(MultiValueMap<String, String>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the body as form data and compare to the given
MultiValueMap. - formData(MultiValueMap<String, String>, boolean) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
- formDataContains(Map<String, String>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Variant of
ContentRequestMatchers.formData(MultiValueMap)that matches the given subset of expected form parameters. - forMvcResult(MvcResult) - 接口中的静态方法 cn.taketoday.test.web.servlet.ResultActions
- forRestTemplate(RestTemplate, RequestExpectationManager) - 类中的静态方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
-
Return
RequestExpectationManagerto be used for binding with the specifiedRestTemplate. - forView(Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
-
Returns a new instance of
JacksonTesterwith the view that should be used for json serialization/deserialization. - forward(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockRequestDispatcher
- forward(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- forwardedUrl - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- forwardedUrl - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.ForwardRequestPostProcessor
- forwardedUrl(String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was forwarded to the given URL.
- forwardedUrlPattern(String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was forwarded to the given URL.
- forwardedUrlTemplate(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was forwarded to the given URL template.
- forwardPostProcessor - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- ForwardRequestPostProcessor - cn.taketoday.test.web.servlet.htmlunit中的类
-
RequestPostProcessorto update the request for a forwarded dispatch. - ForwardRequestPostProcessor(String) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.ForwardRequestPostProcessor
- from(byte[]) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified JSON bytes.
- from(Resource) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified JSON resource.
- from(File) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified JSON file.
- from(InputStream) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified JSON input stream.
- from(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified String source.
- from(String) - enum class中的静态方法 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
-
Get the
EnclosingConfigurationenum constant with the supplied name, ignoring case. - from(String) - enum class中的静态方法 cn.taketoday.test.context.TestConstructor.AutowireMode
-
Get the
AutowireModeenum constant with the supplied name, ignoring case. - from(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Create JSON content from the specified resource path.
- fromMapEntry(Map.Entry<String, String>) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues.Pair
-
Factory method to create a
TestPropertyValues.Pairfrom aMap.Entry.
G
- generateAotTestAttributeMappings() - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- generateAotTestContextInitializerMappings(MultiValueMap<ClassName, Class<?>>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- generateCode() - 类中的方法 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- generateContextInitializerClassesMappingCode() - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- generateContextInitializersMappingCode() - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- GENERATED_ATTRIBUTES_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- GENERATED_ATTRIBUTES_METHOD_NAME - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- GENERATED_CONTEXT_HIERARCHY_LEVEL_PREFIX - 类中的静态变量 cn.taketoday.test.context.support.ContextLoaderUtils
- GENERATED_MAPPINGS_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- GENERATED_SUFFIX - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- GENERATED_SUFFIX - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- generatedClass - 类中的变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- generatedClass - 类中的变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- generateDefaultLocations(Class<?>) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Generate the default classpath resource locations array based on the supplied class.
- generateDefaultLocations(Class<?>) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
AnnotationConfigContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - generateDefaultLocations(Class<?>) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
AnnotationConfigWebContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - generatedFiles - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- GeneratedMapUtils - cn.taketoday.test.context.aot中的类
-
Utilities for loading generated maps.
- GeneratedMapUtils() - 类的构造器 cn.taketoday.test.context.aot.GeneratedMapUtils
- generateMethod() - 类中的方法 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- generateType(TypeSpec.Builder) - 类中的方法 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- generateType(TypeSpec.Builder) - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- GenericPropertiesContextLoader - cn.taketoday.test.context.support中的类
-
Concrete implementation of
AbstractGenericContextLoaderthat reads bean definitions from JavaPropertiesresources. - GenericPropertiesContextLoader() - 类的构造器 cn.taketoday.test.context.support.GenericPropertiesContextLoader
- GenericXmlContextLoader - cn.taketoday.test.context.support中的类
-
Concrete implementation of
AbstractGenericContextLoaderthat reads bean definitions from XML resources. - GenericXmlContextLoader() - 类的构造器 cn.taketoday.test.context.support.GenericXmlContextLoader
- GenericXmlWebContextLoader - cn.taketoday.test.context.web中的类
-
Concrete implementation of
AbstractGenericWebContextLoaderthat loads bean definitions from XML resources. - GenericXmlWebContextLoader() - 类的构造器 cn.taketoday.test.context.web.GenericXmlWebContextLoader
- get() - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener.ApplicationEventsObjectFactory
- get() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- get() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP GET request.
- get(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Obtain a cached
ApplicationContextfor the given key. - get(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Obtain a cached
ApplicationContextfor the given key. - get(Class<T>, Class<? extends C>, Supplier<? extends C>) - 接口中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
-
Factory method to create a new
ApplicationContextAssertProviderinstance. - get(Object) - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Get the
MockResetassociated with the given mock. - get(String) - 接口中的方法 cn.taketoday.test.annotation.ProfileValueSource
-
Get the profile value indicated by the specified key.
- get(String) - 类中的方法 cn.taketoday.test.annotation.SystemProfileValueSource
-
Get the profile value indicated by the specified key from the system properties.
- get(String) - 接口中的方法 cn.taketoday.test.context.support.PropertyProvider
-
Get the value of the named property.
- get(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
Create an HTTP GET builder with the given URI template.
- get(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a GET request. - get(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a GET request. - get(AtomicReference<String>, Predicate<OutputCapture.Type>) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- get(Supplier<? extends ConfigurableApplicationContext>) - 接口中的静态方法 cn.taketoday.framework.test.context.assertj.AssertableApplicationContext
-
Factory method to create a new
AssertableApplicationContextinstance. - get(Supplier<? extends ConfigurableReactiveWebApplicationContext>) - 接口中的静态方法 cn.taketoday.framework.test.context.assertj.AssertableReactiveWebApplicationContext
-
Factory method to create a new
AssertableReactiveWebApplicationContextinstance. - get(Supplier<? extends ConfigurableWebApplicationContext>) - 接口中的静态方法 cn.taketoday.framework.test.context.assertj.AssertableWebApplicationContext
-
Factory method to create a new
AssertableWebApplicationContextinstance. - get(Set<ContextCustomizer>) - 类中的静态方法 cn.taketoday.framework.test.context.InfraTestArgs
-
Return the application arguments from the given customizers.
- GET_CONTEXT_INITIALIZER_CLASSES_METHOD_NAME - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- GET_CONTEXT_INITIALIZERS_METHOD_NAME - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- GET_RESOURCE_BASE_PATH_METHOD_NAME - 类中的静态变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- getActiveProfiles() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged active bean definition profiles for the test class.
- getAll() - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
-
Return all content (both
System.outandSystem.err) in the order that it was captured. - getAll() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Return all content (both
System.outandSystem.err) in the order that it was captured. - getAll() - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
- getAndProcessPropertySourceProperties(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Get all methods in the supplied
classand its superclasses which are annotated with the suppliedannotationTypebut which are not shadowed by methods overridden in subclasses. - getAnnotation() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
-
Get the merged annotation for this descriptor.
- getAnnotation(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getAnnotationConfigLoader() - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Get the delegate
SmartContextLoaderthat supports annotated classes. - getAnnotationConfigLoader() - 类中的方法 cn.taketoday.test.context.support.DelegatingSmartContextLoader
- getAnnotationConfigLoader() - 类中的方法 cn.taketoday.test.context.web.WebDelegatingSmartContextLoader
- getAnnotationType() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- getAnswer() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
-
Return the answers mode.
- getAotContextLoader(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- getApplication() - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
-
Builds new
Applicationinstance. - getApplicationContext() - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- getApplicationContext() - 异常错误中的方法 cn.taketoday.test.context.ContextLoadException
-
Get the
ApplicationContextthat failed to load. - getApplicationContext() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
-
Get the application context for this test context.
- getApplicationContext() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Get the application context for this test context, possibly cached.
- getApplicationContext(ExtensionContext) - 类中的静态方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Get the
ApplicationContextassociated with the suppliedExtensionContext. - getApplicationEvents() - 类中的静态方法 cn.taketoday.test.context.event.ApplicationEventsHolder
-
Get the
ApplicationEventsfor the current thread. - getApplicationType(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getArgs() - 类中的方法 cn.taketoday.framework.test.context.InfraTestArgs
- getAssertThat(Object) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- getAsyncContext() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getAsyncResult() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getAsyncResult() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getAsyncResult() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Get the result of async execution.
- getAsyncResult(long) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getAsyncResult(long) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getAsyncResult(long) - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Get the result of async execution and wait if necessary.
- getAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getAttribute(String) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getAttribute(String, int) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getAttributeNames() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getAttributeNames() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getAttributeNames() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getAttributeNames() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getAttributeNames() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getAttributeNamesInScope(int) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getAttributes() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getAttributes() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestAttributesFactory
-
Get the underlying attributes map.
- getAttributes() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getAttributesScope(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getAuthType() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getBaseUrl(boolean, String) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- getBean(Class<T>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a single bean of the given type from the application context (or ancestors), the bean becoming the object under test.
- getBean(Class<T>, ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a single bean of the given type from the application context, the bean becoming the object under test.
- getBean(String) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a single bean of the given name from the application context, the bean becoming the object under test.
- getBean(String, Class<T>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a single bean of the given name and type from the application context, the bean becoming the object under test.
- getBeanName(ConfigurableBeanFactory, BeanDefinitionRegistry, MockDefinition, RootBeanDefinition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getBeanNames(Class<T>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain the beans names of the given type from the application context, the names becoming the object array under test.
- getBeanNamesForType(ApplicationContext, Class<?>) - enum class中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
- getBeans(Class<T>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a map bean names and instances of the given type from the application context (or ancestors), the map becoming the object under test.
- getBeans(Class<T>, ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain a map bean names and instances of the given type from the application context, the map becoming the object under test.
- getBeansOfType(ApplicationContext, Class<T>) - enum class中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
- getBindingResult(ModelAndView, String) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
- getBlockCommentEndDelimiter() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the end delimiter that identifies block comments within the SQL scripts.
- getBlockCommentStartDelimiter() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the start delimiter that identifies block comments within the SQL scripts.
- getBody() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- getBody() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
-
Return the request body, or an error stream if the body was never set or when
MockClientHttpRequest.setWriteHandler(java.util.function.Function<reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer>, reactor.core.publisher.Mono<java.lang.Void>>)is configured. - getBody() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getBody() - 类中的方法 cn.taketoday.mock.http.MockHttpInputMessage
- getBody() - 类中的方法 cn.taketoday.mock.http.MockHttpOutputMessage
-
Return the body content.
- getBody() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- getBody() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
-
Return the response body or an error stream if the body was not set.
- getBody() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpResponse
- getBodyAsBytes() - 类中的方法 cn.taketoday.mock.http.MockHttpOutputMessage
-
Return body content as a byte array.
- getBodyAsString() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
-
Aggregate response data and convert to a String using the "Content-Type" charset or "UTF-8" by default.
- getBodyAsString() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
-
Return the response body aggregated and converted to a String using the charset of the Content-Type response or otherwise as "UTF-8".
- getBodyAsString() - 类中的方法 cn.taketoday.mock.http.MockHttpOutputMessage
-
Return the body content interpreted as a UTF-8 string.
- getBodyAsString() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
-
Aggregate response data and convert to a String using the "Content-Type" charset or "UTF-8" by default.
- getBodyAsString() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- getBodyAsString(Charset) - 类中的方法 cn.taketoday.mock.http.MockHttpOutputMessage
-
Return the body content as a string.
- getBoolean(String) - 接口中的方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Retrieve the attribute value for the given name as a
boolean. - getBootstrapContext() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- getBootstrapContext() - 接口中的方法 cn.taketoday.test.context.TestContextBootstrapper
-
Get the
BootstrapContextassociated with this bootstrapper. - getBufferSize() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getBytes() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getCacheAwareContextLoaderDelegate() - 接口中的方法 cn.taketoday.test.context.BootstrapContext
-
Get the
CacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache. - getCacheAwareContextLoaderDelegate() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Get the
CacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache. - getCacheAwareContextLoaderDelegate() - 类中的方法 cn.taketoday.test.context.support.DefaultBootstrapContext
-
Get the
CacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache. - getCacheKey(Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- getCharacterEncoding() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getCharacterEncoding() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getCharset() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getCharset() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- getCharset() - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- getCharsetOrDefault(Part, Charset) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
- getClasses() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the annotated classes that were declared via
@ContextConfiguration. - getClasses() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged annotated classes for the test class.
- getClasses(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getClassLoader() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getClasspathRoots() - 类中的方法 cn.taketoday.test.context.aot.TestAotProcessor
-
Get the classpath roots to scan for test classes.
- getClientHttpResponse(HttpMethod, URI, HttpHeaders, byte[]) - 类中的方法 cn.taketoday.test.web.client.MockMvcClientHttpRequestFactory
- getComment() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getCommentPrefixes() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the prefixes that identify single-line comments within the SQL scripts.
- getCommentPrefixes(AnnotationAttributes) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- getCompletedResponse() - 异常错误中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector.FailureAfterResponseCompletedException
- getConfigurationBeanDefinitions(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getConfigurationClasses(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getContent() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- getContent() - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- getContent(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
- getContentAsByteArray() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Get the content of the request body as a byte array.
- getContentAsByteArray() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getContentAsByteArray() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getContentAsString() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Get the content of the request body as a
String, using the configured character encoding. - getContentAsString() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Get the content of the response body as a
String, using the charset specified for the response by the application, either throughHttpServletResponsemethods or through a charset parameter on theContent-Type. - getContentAsString() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getContentAsString(Charset) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Get the content of the response body as a
String, using the providedfallbackCharsetif no charset has been explicitly defined and otherwise using the charset specified for the response by the application, either throughHttpServletResponsemethods or through a charset parameter on theContent-Type. - getContentLength() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getContentLength() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getContentLengthLong() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getContentLengthLong() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getContentType() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getContentType() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getContentType() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getContentType() - 类中的方法 cn.taketoday.mock.web.MockPart
- getContext(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getContextCache() - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Get the
ContextCacheused by this context loader delegate. - getContextCustomizerFactories() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Get the
ContextCustomizerFactoryinstances for this bootstrapper. - getContextCustomizerFactories(Class<?>) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- getContextCustomizers() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged
ContextCustomizersthat will be applied when the application context is loaded. - getContextCustomizers(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- getContextInitializer(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializers
-
Get the AOT
ApplicationContextInitializerfor the specified test class. - getContextInitializerClass(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializers
-
Get the AOT
ApplicationContextInitializerClassfor the specified test class. - getContextInitializerClasses() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- getContextInitializerClasses() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged
ApplicationContextInitializerclasses for the test class. - getContextInitializers() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
-
Get the underlying map.
- getContextLoader() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the resolved
ContextLoaderfor the test class. - getContextLoader(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- getContextLoader(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- getContextLoaderClass() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the
ContextLoaderclass that was declared via@ContextConfiguration. - getContextOrStartupFailure(Supplier<?>) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- getContextPath() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getContextPath() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getCookie(MvcResult, String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
- getCookie(RequestContext, String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
- getCookie(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getCookie(String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
- getCookieHeader(Cookie) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getCookies() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getCookies() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getCookies() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getCookies() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- getCreationTime() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getCurrentTransactionContext() - 类中的静态方法 cn.taketoday.test.context.transaction.TransactionContextHolder
- getDataSource() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the bean name of the
DataSource. - getDataSourceFromTransactionManager(PlatformTransactionManager) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- getDateHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Return the long timestamp for the date header with the given
name. - getDateHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getDeclaredRoles() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getDeclaringClass() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the class that declared the
@ContextConfigurationannotation, either explicitly or implicitly. - getDeclaringClass() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Get the class that declared
@TestPropertySource. - getDeclaringClass() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- getDefaultAsyncSendTimeout() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- getDefaultContextLoaderClass(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getDefaultContextLoaderClass(Class<?>) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Determine the default
ContextLoaderclass to use for the supplied test class. - getDefaultContextLoaderClass(Class<?>) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContextBootstrapper
-
Returns
DelegatingSmartContextLoader. - getDefaultContextLoaderClass(Class<?>) - 类中的方法 cn.taketoday.test.context.web.WebTestContextBootstrapper
-
Returns
WebDelegatingSmartContextLoaderif the supplied class is annotated with@WebAppConfigurationand otherwise delegates to the superclass. - getDefaultEnclosingConfigurationMode() - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
- getDefaultMaxBinaryMessageBufferSize() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- getDefaultMaxSessionIdleTimeout() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- getDefaultMaxTextMessageBufferSize() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- getDefaultServletName() - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Get the name of the default
Servlet. - getDefaultSessionTrackingModes() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getDefaultTestExecutionListeners() - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getDefaultTestExecutionListeners() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Get the default
TestExecutionListenersfor this bootstrapper. - getDefinedEncoding(MockHttpServletResponse) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Get the response encoding if explicitly defined in the response,
nullotherwise. - getDefinitions() - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- getDelegate() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection
- getDescription() - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Return a description suitable for an ignored test class if the test is disabled via
@IfProfileValueat the class-level, and otherwise delegate to the parent implementation. - getDifferentiatorPropertySourceProperty() - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Return a "differentiator" property to ensure that there is something to differentiate regular tests and bootstrapped tests.
- getDispatchedPath() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- getDispatcherServlet() - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
Return the underlying
DispatcherServletinstance that thisMockMvcwas initialized with. - getDispatcherType() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getDomain() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getEarlyBeanReference(Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- getEffectiveMajorVersion() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getEffectiveMinorVersion() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getEffectiveSessionTrackingModes() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getELContext() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getEnclosingConfiguration(Class<?>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Get the
NestedTestConfiguration.EnclosingConfigurationmode for the supplied class. - getEncoding() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the encoding for the SQL scripts, if different from the platform encoding.
- getEnum(AnnotationAttributes, String, E, E) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- getEnvironment() - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
-
Returns the
ConfigurableEnvironmentinstance that should be applied toApplicationornullto use the default. - getErr() - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
-
Return
System.errcontent in the order that it was captured. - getErr() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Return
System.errcontent in the order that it was captured. - getErr() - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
- getErrorCount(ModelMap) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
- getErrorMessage() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getErrorMode() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the
SqlConfig.ErrorMode. - getException() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getExceptions() - 类中的方法 cn.taketoday.test.util.ExceptionCollector
-
Get the list of exceptions encountered in
ExceptionCollector.execute(Executable). - getExchangeResult(String, String, Duration) - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector
-
Create the
ExchangeResultfor the given "request-id" header value. - getExistingBeans(ConfigurableBeanFactory, ResolvableType) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getExistingBeans(ConfigurableBeanFactory, ResolvableType, QualifierDefinition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getExpectationManagers() - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- getExpectations() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
Return a read-only list of the expectations.
- getExpectations() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
- getExpectedCount() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- getExpectedException(FrameworkMethod) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Get the
exceptionthat the supplied test method is expected to throw. - getExpectedValueMessage(String) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- getExpires() - 类中的方法 cn.taketoday.mock.web.MockCookie
-
Get the "Expires" attribute for this cookie.
- getExpressionEvaluator() - 类中的方法 cn.taketoday.mock.web.MockPageContext
-
已过时。
- getExtraInterfaces() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
-
Return the extra interfaces.
- getFailOnErrorFlag() - 类中的静态方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- getFailure() - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Obtain the failure that stopped the application context from running, the failure becoming the object under test.
- getFailureCount(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Get the failure count for the given key.
- getFailureCount(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Get the failure count for the given key.
- getField(Definition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- getField(Class<?>, String) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- getField(Object, Class<?>, String) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- getField(Object, String) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- getFile(String) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getFileMap() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getFileNames() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getFiles(String) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getFilterConfigInitializer(String, Map<String, String>) - 类中的静态方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- getFilterName() - 类中的方法 cn.taketoday.mock.web.MockFilterConfig
- getFilterRegistration(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
This method always returns
null. - getFilterRegistrations() - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
This method always returns an empty map.
- getFlashMap() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getFlashMap() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getFlashMap() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return the "output" flash attributes saved during request processing.
- getForEntity(String, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve an entity by doing a GET on the specified URL.
- getForEntity(String, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve a representation by doing a GET on the URI template.
- getForEntity(URI, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve a representation by doing a GET on the URL .
- getForObject(String, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve a representation by doing a GET on the specified URL.
- getForObject(String, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve a representation by doing a GET on the URI template.
- getForObject(URI, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve a representation by doing a GET on the URL .
- getForwardedUrl() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getGeneratedClass() - 类中的方法 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- getGeneratedClass() - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- getHandler() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getHandler() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getHandler() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return the executed handler.
- getHandlerMethod(MvcResult) - 类中的静态方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
- getHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return the primary value for the given header as a String, if any.
- getHeader(String) - 类中的方法 cn.taketoday.mock.web.MockPart
- getHeader(String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- getHeaderNames() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getHeaderNames() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return the names of all specified headers as a Set of Strings.
- getHeaderNames() - 类中的方法 cn.taketoday.mock.web.MockPart
- getHeaders() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getHeaders() - 类中的方法 cn.taketoday.mock.http.MockHttpInputMessage
- getHeaders() - 类中的方法 cn.taketoday.mock.http.MockHttpOutputMessage
-
Return the headers.
- getHeaders() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getHeaders() - 类中的方法 cn.taketoday.mock.web.MockPart
-
Return the
HttpHeadersbacking header related accessor methods, allowing for populating selected header entries. - getHeaders() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- getHeaders() - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
- getHeaders(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getHeaders(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return all values for the given header as a List of Strings.
- getHeaders(String) - 类中的方法 cn.taketoday.mock.web.MockPart
- getHeaderValue(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return the primary value for the given header, if any.
- getHeaderValues(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return all values for the given header as a List of value objects.
- getHitCount() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Get the overall hit count for this cache.
- getHitCount() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Get the overall hit count for this cache.
- getHttpServletMapping() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getHttpStatusSeries(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
- getId() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getIncludedUrl() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getIncludedUrls() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getIndentedStackTraceAsString(Throwable) - 类中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.ContextFailedToStart
- getInfraTimeout(FrameworkMethod) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Retrieve the configured Infra-specific
timeoutfrom the@Timedannotation on the supplied test method. - getInitializers() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the
ApplicationContextInitializerclasses that were declared via@ContextConfiguration. - getInitializers(MergedContextConfiguration, Application) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
-
Return the
initializersthat will be applied to the context. - getInitParameter(String) - 类中的方法 cn.taketoday.mock.web.MockFilterConfig
- getInitParameter(String) - 类中的方法 cn.taketoday.mock.web.MockServletConfig
- getInitParameter(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getInitParameterNames() - 类中的方法 cn.taketoday.mock.web.MockFilterConfig
- getInitParameterNames() - 类中的方法 cn.taketoday.mock.web.MockServletConfig
- getInitParameterNames() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getInlinedProperties(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- getInputStream() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getInputStream() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getInputStream() - 类中的方法 cn.taketoday.mock.web.MockPart
- getInstalledExtensions() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- getInstance() - 类中的静态方法 cn.taketoday.test.annotation.SystemProfileValueSource
-
Obtain the canonical instance of this ProfileValueSource.
- getInstance() - 接口中的静态方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Get the current instance of
AotTestAttributesto use. - getInterceptors() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getInterceptors() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getInterceptors() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return interceptors around the handler.
- getIntHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getJavaClass(ClassSource) - 类中的方法 cn.taketoday.test.context.aot.TestClassScanner
- getJson() - 类中的方法 cn.taketoday.framework.test.json.JsonContent
-
Return the actual JSON content string.
- getJson(byte[]) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJson(Resource) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJson(File) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJson(InputStream) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJson(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJson(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getJsonContent(String) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Factory method used to get a
JsonContentinstance from a source JSON string. - getJsonContent(String) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
- getJsonContent(String) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- getJspConfigDescriptor() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getJUnitTimeout(FrameworkMethod) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Retrieve the configured JUnit
timeoutfrom the@Testannotation on the supplied test method. - getLastAccessedTime() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getListBodySpec(Flux<E>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- getListeners() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- getLocalAddr() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getLocalAddress() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- getLocale() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Return the first preferred locale configured in this mock request.
- getLocale() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getLocales() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Return an enumeration of the preferred locales configured in this mock request.
- getLocalName() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getLocalPort() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getLocations() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the resource locations that were declared via
@ContextConfiguration. - getLocations() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged resource locations for
ApplicationContextconfiguration files for the test class. - getMajorVersion() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getMappingMatch() - 类中的方法 cn.taketoday.mock.web.MockHttpServletMapping
- getMatchedRequestCount() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- getMatcher() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection
- getMatchValue() - 类中的方法 cn.taketoday.mock.web.MockHttpServletMapping
- getMaxAge() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getMaxCount() - 类中的方法 cn.taketoday.test.web.client.ExpectedCount
-
Return the
maxboundary of the expected count range. - getMaxInactiveInterval() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getMaxSize() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Get the maximum size of this cache.
- getMergedRepeatableAnnotations(Class<?>, Class<T>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Get all repeatable annotations of the specified
annotationTypewithin the annotation hierarchy above the supplied class; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specifiedannotationType. - getMessage(String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
- getMessage(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
- getMethod() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- getMethod() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- getMethod() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- getMethod() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getMethod() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the method of the request.
- getMethods() - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- getMethodValue() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
-
已过时。
- getMimeType(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getMinCount() - 类中的方法 cn.taketoday.test.web.client.ExpectedCount
-
Return the
minboundary of the expected count range. - getMinorVersion() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getMissCount() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Get the overall miss count for this cache.
- getMissCount() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Get the overall miss count for this cache.
- getMockHttpServletResponse(ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockRequestDispatcher
-
Obtain the underlying
MockHttpServletResponse, unwrappingHttpServletResponseWrapperdecorators if necessary. - getMockMvcBuilder() - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
-
Return the concrete
ConfigurableMockMvcBuilderto delegate configuration methods and to use to create theMockMvc. - getMockMvcBuilder() - 类中的方法 cn.taketoday.test.web.servlet.client.ApplicationContextMockMvcSpec
- getMockMvcBuilder() - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- getMockServerResult() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the result from the mock server exchange, if applicable, for further assertions on the state of the server response.
- getMockServerResult() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpResponse
- getModelAndView() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getModelAndView() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getModelAndView() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return the
ModelAndViewprepared by the handler. - getModelAndView(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
- getMultipartContentType(String) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getMultipartFiles() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
-
Obtain the MultipartFile Map for retrieval, lazily initializing it if necessary.
- getMultipartHeaders(String) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getMvcResult(RequestContext) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet
- getName() - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
-
Return the name for bean.
- getName() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getName() - 类中的方法 cn.taketoday.mock.web.MockPart
- getName() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getName() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the name of the context hierarchy level that was declared via
@ContextConfiguration. - getName() - 类中的方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils.TestContextTransactionAttribute
- getNamedDispatcher(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getNativeRequest() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- getNativeRequest() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- getNativeResponse() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- getNestedPublisherToUse() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- getObject() - 类中的方法 cn.taketoday.framework.test.json.ObjectContent
-
Return the actual object content.
- getObject() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- getObject() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- getObjectReader(ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- getObjectType() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- getObjectType() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- getObjectWriter(ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- getOrAddBeanDefinition(BeanDefinitionRegistry, Class<? extends MockitoPostProcessor>) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getOrDeduceTypes(AnnotatedElement, Class<?>[], Class<?>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- getOrder() - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.PrepareEnvironmentListener
- getOrder() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- getOrder() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- getOrder() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- getOrder() - 类中的方法 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- getOrder() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- getOrder() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- getOrder() - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
-
Returns
1800. - getOrder() - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
-
Returns
10000. - getOrder() - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Returns
5000. - getOrder() - 类中的方法 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
- getOrder() - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation returns
Ordered.LOWEST_PRECEDENCE, thereby ensuring that custom listeners are ordered after default listeners supplied by the framework. - getOrder() - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
Returns
2000. - getOrder() - 类中的方法 cn.taketoday.test.context.support.DirtiesContextBeforeModesTestExecutionListener
-
Returns
1500. - getOrder() - 类中的方法 cn.taketoday.test.context.support.DirtiesContextTestExecutionListener
-
Returns
3000. - getOrder() - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Returns
4000. - getOrder() - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Returns
1000. - getOrFindConfigurationClasses(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getOriginal() - 类中的方法 cn.taketoday.test.context.cache.AotMergedContextConfiguration
-
Get the original
MergedContextConfigurationthat thisAotMergedContextConfigurationwas created for. - getOriginalFilename() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getOriginalResource() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getOut() - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
-
Return
System.outcontent in the order that it was captured. - getOut() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Return
System.outcontent in the order that it was captured. - getOut() - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
- getOut() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getOutputCapture(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- getOutputStream() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getPage() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getParameter(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getParameterMap() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getParameterNames() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getParameterValues(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getParamsMultiValueMap(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- getParent() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.PrintStreamCapture
- getParent() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the
MergedContextConfigurationfor the parent application context in a context hierarchy. - getParentApplicationContext() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the parent
ApplicationContextfor the context defined by thisMergedContextConfigurationfrom the context cache. - getParentContextCount() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Determine the number of parent contexts currently tracked within the cache.
- getParentContextCount() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Determine the number of parent contexts currently tracked within the cache.
- getParentPackage(String) - 类中的方法 cn.taketoday.framework.test.context.AnnotatedClassFinder
- getPart(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getParts() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getPath() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- getPathInfo() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getPathTranslated() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getPattern() - 类中的方法 cn.taketoday.mock.web.MockHttpServletMapping
- getPatternResourceLoader() - 类中的方法 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- getPrimary(String[], ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- getPrinter() - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Return the result value printer.
- getProperties() - 类中的方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Get the properties in the form of key-value pairs.
- getProperties() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Get the inlined properties that were declared via
@TestPropertySource. - getProperties(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- getProperty(String) - 类中的方法 cn.taketoday.test.context.support.DynamicValuesPropertySource
- getPropertyAsInteger(ConfigurableEnvironment, String, Integer) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- getPropertyAsInteger(PropertySource<?>, String, ConfigurableEnvironment) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- getPropertySourceDescriptors() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged descriptors for resource locations for test
PropertySourcesfor the test class. - getPropertySourceDescriptors() - 类中的方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Get the descriptors for resource locations of properties files.
- getPropertySourceDescriptors() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Get the descriptors for resource locations that were declared via
@TestPropertySource. - getPropertySourceLocations() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged resource locations of properties files for the test class.
- getPropertySourceProperties() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the merged inlined properties for the test class.
- getProtocol() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getProtocolRequestId() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getPublisherToUse() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- getQualifier() - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
-
Return the qualifier or
null. - getQualifierAnnotations(Field) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- getQueryParams(ClientHttpRequest) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
- getQueryString() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRawStatusCode() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpResponse
- getRawStatusCode() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getRawStatusCode() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the HTTP status code as an integer.
- getReader() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- getReader() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRealPath(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getReasonPhrase(HttpStatusCode) - 类中的静态方法 cn.taketoday.test.web.reactive.server.StatusAssertions
- getRecorder() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- getRecorder() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpResponse
- getRedirectedUrl() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getRemaining() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- getRemaining() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- getRemoteAddr() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRemoteAddress() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- getRemoteHost() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRemotePort() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRemoteUser() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRepeatCount(Method) - 类中的静态方法 cn.taketoday.test.annotation.TestAnnotationUtils
-
Get the repeat count configured via the
@Repeatannotation on the suppliedmethod. - getRequest() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- getRequest() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- getRequest() - 类中的方法 cn.taketoday.mock.web.MockFilterChain
-
Return the request that
MockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with. - getRequest() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getRequest() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.ClientExchangeInfo
- getRequest() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getRequest() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getRequest() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return the performed request.
- getRequestBodyContent() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the raw request body content written through the request.
- getRequestCharacterEncoding() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getRequestContext() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getRequestContext() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getRequestContext() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
- getRequestCount() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- getRequestDetails() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
Return details of executed requests.
- getRequestDispatcher(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRequestDispatcher(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getRequestedSessionId() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRequestHeaders() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getRequestHeaders() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the request headers sent to the server.
- getRequestHeaders(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- getRequestId() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRequestMatchers() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- getRequestMethod() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- getRequests() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
Return a read-only list of requests executed so far.
- getRequestURI() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRequestURL() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getRequiredApplicationEvents() - 类中的静态方法 cn.taketoday.test.context.event.ApplicationEventsHolder
-
Get the
ApplicationEventsfor the current thread. - getRequiredValue(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
- getRequiredValues(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
- getReset() - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
-
Return the mock reset mode.
- getReset() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockReset.ResetInvocationListener
- getResolvedException() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getResolvedException() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getResolvedException() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return any exception raised by a handler and successfully resolved through a
HandlerExceptionHandler. - getResolvedValueIfPossible(ConfigurableEnvironment, String) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- getResource(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader
- getResource(String) - 类中的方法 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- getResource(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getResourceAsStream(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader
- getResourceAsStream(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getResourceBasePath() - 类中的方法 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Get the resource path to the root directory of the web application for the test class, configured via
@WebAppConfiguration. - getResourceBasePathLocation(String) - 类中的方法 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- getResourceBasePathMethod - 类中的静态变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- getResourceLoadClass() - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return class used to load relative resources.
- getResourceLoadClass() - 类中的方法 cn.taketoday.framework.test.json.JsonLoader
- getResourceLocation(String) - 类中的方法 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- getResourceLocation(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Build a full resource location for the given path, prepending the resource base path of this
MockServletContext. - getResourcePaths(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getResources(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader
- getResourceSuffix() - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- getResourceSuffix() - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Get the suffix to append to
ApplicationContextresource locations when detecting default locations. - getResourceSuffix() - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
AnnotationConfigContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - getResourceSuffix() - 类中的方法 cn.taketoday.test.context.support.GenericPropertiesContextLoader
-
Returns "
-context.properties". - getResourceSuffix() - 类中的方法 cn.taketoday.test.context.support.GenericXmlContextLoader
-
Returns
"-context.xml"in order to support detection of a default XML config file. - getResourceSuffix() - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
AnnotationConfigWebContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - getResourceSuffix() - 类中的方法 cn.taketoday.test.context.web.GenericXmlWebContextLoader
-
Returns
"-context.xml"in order to support detection of a default XML config file. - getResourceSuffixes() - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- getResourceSuffixes() - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Get the suffixes to append to
ApplicationContextresource locations when detecting default locations. - getResponse() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- getResponse() - 类中的方法 cn.taketoday.mock.web.MockFilterChain
-
Return the response that
MockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with. - getResponse() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getResponse() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.ClientExchangeInfo
- getResponse() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- getResponse() - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- getResponse() - 接口中的方法 cn.taketoday.test.web.servlet.MvcResult
-
Return the resulting response.
- getResponse(RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- getResponse(WebRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection
- getResponse(WebRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- getResponseBody() - 类中的方法 cn.taketoday.test.web.reactive.server.EntityExchangeResult
-
Return the entity extracted from the response body.
- getResponseBody() - 类中的方法 cn.taketoday.test.web.reactive.server.FluxExchangeResult
-
Return the response body as a
Flux<T>of decoded elements. - getResponseBodyContent() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the raw request body content written to the response.
- getResponseCharacterEncoding() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getResponseCookies() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return response cookies received from the server.
- getResponseCreator() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- getResponseHeaders() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the response headers received from the server.
- getResponseHeaders(MockHttpServletResponse) - 类中的方法 cn.taketoday.test.web.client.MockMvcClientHttpRequestFactory
- getResponseHeaders(MockHttpServletResponse) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- getResponseTimeout() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- getRestTemplate() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Returns the underlying
RestTemplatethat is actually used to perform the REST operations. - getRestTemplateBuilder(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- getResult() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- getReversedTestExecutionListeners() - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Get a copy of the
TestExecutionListenersregistered for thisTestContextManagerin reverse order. - getRootDeclaringClass() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- getRootUri() - 类中的方法 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
- getRootUri() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Returns the root URI applied by a
RootUriTemplateHandleror""if the root URI is not available. - getRouterFunction() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultRouterFunctionSpec
- getRuntimeHints() - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Get the
RuntimeHintsgathered during AOT processing. - getSameSite() - 类中的方法 cn.taketoday.mock.web.MockCookie
-
Get the "SameSite" attribute for this cookie.
- getScheme() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getScripts(Sql, Class<?>, Method, boolean) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- getSeparator() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the character string used to separate individual statements within the SQL scripts.
- getSeparatorIndex(String) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues.Pair
- getSequencedMap() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceUtils.SequencedProperties
- getServer() - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- getServer(RestTemplate) - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- getServerInfo() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getServerName() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getServerPort() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getServerResult() - 接口中的方法 cn.taketoday.test.web.reactive.server.MockServerClientHttpResponse
-
Return the result object with the server request and response.
- getServerResult() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.MockMvcServerClientHttpResponse
- getServers() - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- getServletConfig() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getServletConnection() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getServletContext() - 类中的方法 cn.taketoday.mock.web.MockFilterConfig
- getServletContext() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Return the ServletContext that this request is associated with.
- getServletContext() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- getServletContext() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getServletContext() - 类中的方法 cn.taketoday.mock.web.MockServletConfig
- getServletContextName() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getServletName() - 类中的方法 cn.taketoday.mock.web.MockHttpServletMapping
- getServletName() - 类中的方法 cn.taketoday.mock.web.MockServletConfig
- getServletPath() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getServletRegistration(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
This method always returns
null. - getServletRegistrations() - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
This method always returns an empty map.
- getSession() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getSession() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- getSession(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getSession(boolean) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpServletRequest
- getSession(MvcResult) - 类中的静态方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
- getSessionAttributes(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- getSessionCookieConfig() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getSessionTimeout() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getSize() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getSize() - 类中的方法 cn.taketoday.mock.web.MockPart
- getSource() - 类中的方法 cn.taketoday.test.context.event.TestContextEvent
-
Get the
TestContextassociated with this event. - getSourceApplicationContext() - 接口中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
-
Return the original source
ApplicationContext. - getSourceApplicationContext(Class<T>) - 接口中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
-
Return the original source
ApplicationContext, casting it to the requested type. - getSourceClass() - enum class中的方法 cn.taketoday.test.util.TestPropertyValues.Type
- getSourceContext(Object[]) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- getSourceStream() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
-
Return the underlying source stream (never
null). - getSqlAnnotationsFor(Class<?>) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Get the
@Sqlannotations declared on the supplied class. - getSqlAnnotationsFor(Method) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Get the
@Sqlannotations declared on the supplied method. - getSqlMergeModeFor(Class<?>) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Get the
@SqlMergeModeannotation declared on the supplied class. - getSqlMergeModeFor(Method) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Get the
@SqlMergeModeannotation declared on the supplied method. - getSqlMethods(Class<?>) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- getStackTraceAsString(Throwable) - 类中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.ContextFailedToStart
- getStartedApplicationContext() - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- getStartupFailure() - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- getStartupFailure() - 接口中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssertProvider
-
Return the failure that caused application context to fail or
nullif the context started without issue. - getStartupFailure() - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- getStatus() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getStatus() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the HTTP status code as an
HttpStatusCodevalue. - getStatusCode() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpResponse
- getStatusCode() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- getStatusText() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpResponse
- getStore(ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- getStore(ExtensionContext) - 类中的静态方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- getString() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- getString(AnnotationAttributes, String, String) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- getString(String) - 接口中的方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Retrieve the attribute value for the given name as a
String. - getString(String) - 类中的方法 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- getStringValue() - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- getStringValues() - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- getSubmittedFileName() - 类中的方法 cn.taketoday.mock.web.MockPart
- getSystemStream(PrintStream) - 类中的静态方法 cn.taketoday.framework.test.system.OutputCapture.PrintStreamCapture
- getTargetObject(Object) - 类中的静态方法 cn.taketoday.test.util.AopTestUtils
-
Get the target object of the supplied
candidateobject. - getTargetStream() - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
-
Return the underlying target stream (never
null). - getTargetWriter() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
-
Lazily initialize the target Writer.
- GETTER_PREFIX - 类中的静态变量 cn.taketoday.test.util.ReflectionTestUtils
- getTestClass() - 接口中的方法 cn.taketoday.test.context.BootstrapContext
-
Get the test class for this bootstrap context.
- getTestClass() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Get the test class associated with this
MergedContextConfiguration. - getTestClass() - 类中的方法 cn.taketoday.test.context.support.DefaultBootstrapContext
-
Get the test class for this bootstrap context.
- getTestClass() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getTestClass() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Get the test class for this test context.
- getTestContext() - 类中的方法 cn.taketoday.test.context.event.TestContextEvent
-
Alias for
TestContextEvent.getSource(). - getTestContext() - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Get the
TestContextmanaged by thisTestContextManager. - getTestContextManager() - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Get the
TestContextManagerassociated with this runner. - getTestContextManager(Class<?>) - 类中的静态方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Get the
TestContextManagerassociated with the supplied test class. - getTestContextManager(ExtensionContext) - 类中的静态方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Get the
TestContextManagerassociated with the suppliedExtensionContext. - getTestException() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getTestException() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Get the exception that was thrown during execution of the test method.
- getTestExecutionListeners() - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- getTestExecutionListeners() - 接口中的方法 cn.taketoday.test.context.TestContextBootstrapper
-
Get a list of newly instantiated
TestExecutionListenersfor the test class in theBootstrapContextassociated with this bootstrapper. - getTestExecutionListeners() - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Get the current
TestExecutionListenersregistered for thisTestContextManager. - getTestInstance() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getTestInstance() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Get the current test instance for this test context.
- getTestMethod() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- getTestMethod() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Get the current test method for this test context.
- getTimeout() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- getTimeout(Method) - 类中的静态方法 cn.taketoday.test.annotation.TestAnnotationUtils
- getTransactionManager() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the bean name of the
PlatformTransactionManager. - getTransactionManager(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Get the transaction manager to use for the supplied test context.
- getTransactionManager(TestContext, String) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Get the transaction manager to use for the supplied test context and
qualifier. - getTransactionMode() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Get the
SqlConfig.TransactionMode. - getTransactionStatus() - 类中的方法 cn.taketoday.test.context.transaction.TransactionContext
- getType() - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the type under test.
- getType() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.CapturedString
- getType(ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- getTypeToMock() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
-
Return the type that should be mocked.
- getTypeToSpy() - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- getUltimateTargetObject(Object) - 类中的静态方法 cn.taketoday.test.util.AopTestUtils
-
Get the ultimate target object of the supplied
candidateobject, unwrapping not only a top-level proxy but also any number of nested proxies. - getURI() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- getURI() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- getURI() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- getUriTemplate() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the original URI template used to prepare the request, if any.
- getUrl() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
-
Return the URI of the request.
- getUrlToUse() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- getUserPrincipal() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- getValue() - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- getValue() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- getValue(boolean) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- getValues() - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- getVariableResolver() - 类中的方法 cn.taketoday.mock.web.MockPageContext
-
已过时。
- getVirtualServerName() - 类中的方法 cn.taketoday.mock.web.MockServletContext
- getWebAppConfiguration(Class<?>) - 类中的静态方法 cn.taketoday.test.context.web.WebTestContextBootstrapper
- getWebClient() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Return the current
WebClientin a public fashion. - getWebConnection() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Access the current
WebConnectionfor theWebClient. - getWebEnvironment(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Return the
InfraTest.WebEnvironmenttype for this test or null if undefined. - getWriter() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- getXmlLoader() - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Get the delegate
SmartContextLoaderthat supports XML configuration files and/or Groovy scripts. - getXmlLoader() - 类中的方法 cn.taketoday.test.context.support.DelegatingSmartContextLoader
- getXmlLoader() - 类中的方法 cn.taketoday.test.context.web.WebDelegatingSmartContextLoader
- getXpathExpression() - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Return the compiled XPath expression.
- globalResultHandlers - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- globalResultMatchers - 类中的变量 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- GMT - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
- GMT - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletResponse
- gson - 类中的变量 cn.taketoday.framework.test.json.GsonTester
- GsonFieldInitializer() - 类的构造器 cn.taketoday.framework.test.json.GsonTester.GsonFieldInitializer
- GsonTester<T> - cn.taketoday.framework.test.json中的类
-
AssertJ based JSON tester backed by Gson.
- GsonTester(Gson) - 类的构造器 cn.taketoday.framework.test.json.GsonTester
-
Create a new uninitialized
GsonTesterinstance. - GsonTester(Class<?>, ResolvableType, Gson) - 类的构造器 cn.taketoday.framework.test.json.GsonTester
-
Create a new
GsonTesterinstance. - GsonTester.GsonFieldInitializer - cn.taketoday.framework.test.json中的类
H
- handle(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers.LoggingResultHandler
- handle(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print
MvcResultdetails. - handle(MvcResult) - 接口中的方法 cn.taketoday.test.web.servlet.ResultHandler
-
Perform an action on the given result.
- handleBeforeException(Throwable, String, TestExecutionListener, Object, Method) - 类中的方法 cn.taketoday.test.context.TestContextManager
- handleError(ClientHttpResponse) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate.NoOpResponseErrorHandler
- handleFailure(Class<?>, String, Throwable) - 类中的方法 cn.taketoday.test.context.util.TestContextFailureHandler
- handleOnComplete() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- handleOnError(Throwable) - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- handlePageException(Exception) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- handlePageException(Throwable) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- handler - 类中的变量 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- handler - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- handler() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to assertions for the handler that handled the request.
- handlerExceptionHandlers - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- handlerExceptionHandlers(HandlerExceptionHandler...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set the HandlerExceptionHandler types to use.
- handlerExceptionHandlers(HandlerExceptionHandler...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- handlerMappingFactory - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- HandlerResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the selected handler or handler method.
- HandlerResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Protected constructor.
- handlerType(Class<?>) - 类中的方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Assert the type of the handler that processed the request.
- hasAnnotation(Class<?>, Class<? extends Annotation>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Determine if an annotation of the specified
annotationTypeis present or meta-present on the suppliedClassaccording to the search algorithm used inTestContextAnnotationUtils.findMergedAnnotation(Class, Class). - hasAnnotations() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoAnnotationCollection
- hasApplicationContext() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
-
Determine if the application context for this test context is present in the context cache.
- hasApplicationContext() - 接口中的方法 cn.taketoday.test.context.TestContext
-
Determine if the application context for this test context is known to be available.
- hasAttribute(String) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- hasAttributes() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- hasBean(String) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context contains a bean with the given name.
- hasClasses() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Determine if this
ContextConfigurationAttributesinstance has class-based resources. - hasClasses() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Determine if this
MergedContextConfigurationinstance has class-based resources. - hasContentConsumer - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- hasDifferences() - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper.XmlUnitDiff
- hasEmptyJsonPathValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces an
emptyresult. - hasErrors() - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the model has errors.
- hasFailed() - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application has failed to start.
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.filter.ExcludeFilterContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.InfraTestArgs
- hashCode() - 类中的方法 cn.taketoday.framework.test.context.InfraTestWebEnvironment
- hashCode() - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
- hashCode() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- hashCode() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- hashCode() - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- hashCode() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- hashCode() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- hashCode() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Generate a unique hash code for all properties of this
ContextConfigurationAttributesinstance excluding the name. - hashCode() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Generate a unique hash code for all properties of this
MergedContextConfigurationexcluding the test class. - hashCode() - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Generate a unique hash code for all properties of this
MergedTestPropertySourcesinstance. - hashCode() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- hashCode() - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizer
- hashCode() - 类中的方法 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Generate a unique hash code for all properties of this
WebMergedContextConfigurationexcluding the test class. - hashCode() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- hashCode() - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- hasInitializersOrCustomizers(MergedContextConfiguration) - 类中的静态方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- hasJsonPath() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the response content and assert that a value, possibly
null, exists. - hasJsonPath() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- hasJsonPath() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that a value, possibly
null, exists. - hasJsonPath(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the JSON path is present without checking if it has a value.
- hasJsonPath(String) - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Evaluate the JSON path expression against the supplied
contentand assert that a value, possiblynull, exists. - hasJsonPathArrayValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null array result.
- hasJsonPathBooleanValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null boolean result.
- hasJsonPathMapValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null map result.
- hasJsonPathNumberValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null number result.
- hasJsonPathStringValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null string result.
- hasJsonPathValue(CharSequence, Object...) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verify that the actual value at the given JSON path produces a non-null result.
- hasLocations() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Determine if this
ContextConfigurationAttributesinstance has path-based resource locations. - hasLocations() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Determine if this
MergedContextConfigurationinstance has path-based context resource locations. - hasMockitoAnnotations(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- hasNamespaces - 类中的变量 cn.taketoday.test.util.XpathExpectationsHelper
- hasNoErrors() - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the model has no errors.
- hasNoLocations(List<PropertySourceDescriptor>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Determine if the supplied list contains no descriptor with locations.
- hasNotFailed() - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application has not failed to start.
- hasOriginalRequestAndResponse() - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- hasPatterns - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- hasRemainingCount() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- hasRemainingCount() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- hasRemainingCount() - 接口中的方法 cn.taketoday.test.web.client.RequestExpectation
-
Whether there is a remaining count of invocations for this expectation.
- hasResources() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Determine if this
ContextConfigurationAttributesinstance has either path-based resource locations or class-based resources. - hasResources() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Determine if this
MergedContextConfigurationinstance has either path-based context resource locations or class-based resources. - hasResources(ContextConfiguration) - 类中的静态方法 cn.taketoday.test.context.support.ContextLoaderUtils
- hasSingleBean(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context (or ancestors) contains a single bean with the given type.
- hasSingleBean(Class<?>, ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
-
Verifies that the application context contains a single bean with the given type.
- hasSize(int) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec
- hasSize(int) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ListBodySpec
-
Assert the extracted list of values is of the given size.
- head() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- head() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP HEAD request.
- head(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP HEAD variant.
- head(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a HEAD request. - head(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a HEAD request. - header() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response header assertions.
- header(String, Object...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Add a header to the request.
- header(String, String...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Add the given, single header value under the given name.
- header(String, String...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- header(String, String...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert request header values.
- header(String, String...) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Add a response header with one or more values.
- header(String, String...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- header(String, String...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Add the given, single header value under the given name.
- header(String, Matcher<? super String>...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert request header values with the given Hamcrest matcher(s).
- HeaderAssertions - cn.taketoday.test.web.reactive.server中的类
-
Assertions on headers of the response.
- HeaderAssertions(ExchangeResult, WebTestClient.ResponseSpec) - 类的构造器 cn.taketoday.test.web.reactive.server.HeaderAssertions
- headerDoesNotExist(String) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert that the given request header does not exist.
- HeaderResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for response header assertions.
- HeaderResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Protected constructor.
- headers - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- headers - 类中的变量 cn.taketoday.mock.http.MockHttpInputMessage
- headers - 类中的变量 cn.taketoday.mock.http.MockHttpOutputMessage
- headers - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- headers - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- headers - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- headers - 类中的变量 cn.taketoday.mock.web.MockMultipartFile
- headers - 类中的变量 cn.taketoday.mock.web.MockPart
- headers - 类中的变量 cn.taketoday.test.web.client.response.DefaultResponseCreator
- headers - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- headers - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- headers(HttpHeaders) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Copy all given headers.
- headers(HttpHeaders) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Add all headers to the request.
- headers(MultiValueMap<String, String>) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Add the given header values.
- headers(MultiValueMap<String, String>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- headers(Consumer<HttpHeaders>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- headers(Consumer<HttpHeaders>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Manipulate the request's headers with the given consumer.
- HeaderValueHolder - cn.taketoday.mock.web中的类
-
Internal helper class that serves as a value holder for request headers.
- HeaderValueHolder() - 类的构造器 cn.taketoday.mock.web.HeaderValueHolder
- headForHeaders(String, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve all headers of the resource specified by the URI template.
- headForHeaders(String, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve all headers of the resource specified by the URI template.
- headForHeaders(URI) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Retrieve all headers of the resource specified by the URL.
- hiddenClasses - 类中的变量 cn.taketoday.framework.test.context.FilteredClassLoader.ClassFilter
- hiddenPackages - 类中的变量 cn.taketoday.framework.test.context.FilteredClassLoader.PackageFilter
- hiddenResources - 类中的变量 cn.taketoday.framework.test.context.FilteredClassLoader.ClassPathResourceFilter
- hierarchyMap - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
-
Map of parent keys to sets of children keys, representing a top-down tree of context hierarchies.
- hierarchyMode() - annotation interface 中的元素 cn.taketoday.test.annotation.DirtiesContext
-
The context cache clearing mode to use when a context is configured as part of a hierarchy via
@ContextHierarchy. - HierarchyMode() - enum class的构造器 cn.taketoday.test.annotation.DirtiesContext.HierarchyMode
- hitCount - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
- HostRequestMatcher - cn.taketoday.test.web.servlet.htmlunit中的类
-
A
WebRequestMatcherthat allows matching on the host and optionally the port ofWebRequest#getUrl(). - HostRequestMatcher(String...) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.HostRequestMatcher
-
Create a new
HostRequestMatcherfor the given hosts — for example:"localhost","example.com:443", etc. - hosts - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HostRequestMatcher
- HtmlUnitMockHttpServletRequest(ServletContext, String, String) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpServletRequest
- HtmlUnitMockHttpSession(MockHttpServletRequest) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpSession
- HtmlUnitMockHttpSession(MockHttpServletRequest, String) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpSession
- HtmlUnitRequestBuilder - cn.taketoday.test.web.servlet.htmlunit中的类
-
Internal class used to transform a
WebRequestinto aMockHttpServletRequestusing Web MVC Test'sRequestBuilder. - HtmlUnitRequestBuilder(Map<String, MockHttpSession>, WebClient, WebRequest) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
-
Construct a new
HtmlUnitRequestBuilder. - HtmlUnitRequestBuilder.HtmlUnitMockHttpServletRequest - cn.taketoday.test.web.servlet.htmlunit中的类
-
An extension to
MockHttpServletRequestthat ensures that when a newHttpSessionis created, it is added to the managed sessions. - HtmlUnitRequestBuilder.HtmlUnitMockHttpSession - cn.taketoday.test.web.servlet.htmlunit中的类
-
An extension to
MockHttpSessionthat ensures whenHtmlUnitRequestBuilder.HtmlUnitMockHttpSession.invalidate()is called that theHttpSessionis removed from the managed sessions. - HTTP - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
- HttpClientOption() - enum class的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
- httpClientOptions - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplate
- httpComponentsClientPresent - 类中的静态变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- HttpHandlerConnector - cn.taketoday.test.web.reactive.server中的类
-
Connector that handles requests by invoking an
HttpHandlerrather than making actual requests to a network socket. - HttpHandlerConnector(HttpHandler) - 类的构造器 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
-
Constructor with the
HttpHandlerto handle requests with. - HttpHandlerConnector.FailureAfterResponseCompletedException - cn.taketoday.test.web.reactive.server中的异常错误
-
Indicates that an error occurred after the server response was completed, via
ReactiveHttpOutputMessage.writeWith(org.reactivestreams.Publisher<? extends cn.taketoday.core.io.buffer.DataBuffer>)orReactiveHttpOutputMessage.setComplete(), and can no longer be changed. - httpMethod - 类中的变量 cn.taketoday.mock.http.client.MockClientHttpRequest
- httpMethod - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- httpMethod - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- httpMethod - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- httpOnly - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- httpOnly(String, boolean) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's httpOnly attribute.
- httpOnly(String, boolean) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert whether the cookie must be HTTP only.
- httpRequestConsumer - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- HTTPS - 类中的静态变量 cn.taketoday.mock.web.MockHttpServletRequest
- httpServletMapping - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- httpSession(MockHttpServletRequest, String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
I
- id - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- ifModifiedSince(long) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the value of the
If-Modified-Sinceheader. - ifModifiedSince(long) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- ifModifiedSince(ZonedDateTime) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- ifModifiedSince(ZonedDateTime) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Set the value of the
If-Modified-Sinceheader. - ifNoneMatch(String...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the values of the
If-None-Matchheader. - ifNoneMatch(String...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- ifNoneMatch(String...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- ifNoneMatch(String...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.RequestHeadersSpec
-
Set the values of the
If-None-Matchheader. - IfProfileValue - cn.taketoday.test.annotation中的Annotation Interface
-
Test annotation for use with JUnit 4 to indicate whether a test is enabled or disabled for a specific testing profile.
- ifUnmodifiedSince(long) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the (new) value of the
If-Unmodified-Sinceheader. - ifUnmodifiedSince(long) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- IGNORE_FAILED_DROPS - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Indicates that failed SQL
DROPstatements can be ignored. - ignoreExpectOrder - 类中的变量 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- ignoreExpectOrder(boolean) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- ignoreExpectOrder(boolean) - 接口中的方法 cn.taketoday.test.web.client.MockRestServiceServer.MockRestServiceServerBuilder
-
Whether to allow expected requests to be executed in any order not necessarily matching the order of declaration.
- ImportsCleanupPostProcessor(String) - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsCleanupPostProcessor
- ImportsConfiguration() - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsConfiguration
- ImportsContextCustomizer - cn.taketoday.framework.test.context中的类
-
ContextCustomizerto allow@Importannotations to be used directly on test classes. - ImportsContextCustomizer(Class<?>) - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizer
- ImportsContextCustomizer.ContextCustomizerKey - cn.taketoday.framework.test.context中的类
-
The key used to ensure correct application context caching.
- ImportsContextCustomizer.ImportsCleanupPostProcessor - cn.taketoday.framework.test.context中的类
-
BeanDefinitionRegistryPostProcessorto cleanup temporary configuration added to load imports. - ImportsContextCustomizer.ImportsConfiguration - cn.taketoday.framework.test.context中的类
-
@Configurationregistered to trigger theImportsContextCustomizer.ImportsSelector. - ImportsContextCustomizer.ImportsSelector - cn.taketoday.framework.test.context中的类
-
ImportSelectorthat returns the original test class so that direct@Importannotations are processed. - ImportsContextCustomizerFactory - cn.taketoday.framework.test.context中的类
-
ContextCustomizerFactoryto allow@Importannotations to be used directly on test classes. - ImportsContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizerFactory
- ImportsSelector() - 类的构造器 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsSelector
- include(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockRequestDispatcher
- include(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- include(String, boolean) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- INCLUDE_ANCESTORS - enum class 中的枚举常量 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
-
Consider the ancestor contexts as well as the current context.
- includedUrls - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- incrementAndValidate() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- incrementAndValidate() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- incrementAndValidate() - 接口中的方法 cn.taketoday.test.web.client.RequestExpectation
-
Increase the matched request count and check we haven't passed the max count.
- incrementFailureCount(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Increment the failure count for the given key.
- incrementFailureCount(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Increment the failure count for the given key.
- indent(String) - 类中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.ContextFailedToStart
- INFERRED - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
-
Indicates that the transaction mode to use when executing SQL scripts should be inferred using the rules listed below.
- InfraApplicationContextLoader - cn.taketoday.framework.test.context中的类
-
A
ContextLoaderthat can be used to test Infra applications (those that normally startup usingApplication). - InfraApplicationContextLoader() - 类的构造器 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- InfraApplicationContextLoader.ContextCustomizerAdapter - cn.taketoday.framework.test.context中的类
-
Adapts a
ContextCustomizerto aApplicationContextInitializerso that it can be triggered viaApplication. - InfraApplicationContextLoader.ParentContextApplicationContextInitializer - cn.taketoday.framework.test.context中的类
-
ApplicationContextInitializerused to set the parent context. - InfraApplicationContextLoader.PrepareEnvironmentListener - cn.taketoday.framework.test.context中的类
-
ApplicationListenerused to prepare the application created environment. - InfraApplicationContextLoader.WebConfigurer - cn.taketoday.framework.test.context中的类
-
Inner class to configure
WebMergedContextConfiguration. - InfraClassRule - cn.taketoday.test.context.junit4.rules中的类
-
ApplicationClassRuleis a custom JUnitTestRulethat supports class-level features of the TestContext Framework in standard JUnit tests by means of theTestContextManagerand associated support classes and annotations. - InfraClassRule() - 类的构造器 cn.taketoday.test.context.junit4.rules.InfraClassRule
- InfraClassRule.TestContextManagerCacheEvictor - cn.taketoday.test.context.junit4.rules中的类
- InfraExtension - cn.taketoday.test.context.junit.jupiter中的类
-
ApplicationExtensionintegrates the TestContext Framework into JUnit 5's Jupiter programming model. - InfraExtension() - 类的构造器 cn.taketoday.test.context.junit.jupiter.InfraExtension
- InfraMethodRule - cn.taketoday.test.context.junit4.rules中的类
-
ApplicationMethodRuleis a custom JUnit 4MethodRulethat supports instance-level and method-level features of the TestContext Framework in standard JUnit tests by means of theTestContextManagerand associated support classes and annotations. - InfraMethodRule() - 类的构造器 cn.taketoday.test.context.junit4.rules.InfraMethodRule
- InfraMockResolver - cn.taketoday.framework.test.mock.mockito中的类
-
A
MockResolverfor testing Infra applications with Resolves mocks by returning theultimate target objectof the instance. - InfraMockResolver() - 类的构造器 cn.taketoday.framework.test.mock.mockito.InfraMockResolver
- InfraMockServletContext - cn.taketoday.framework.test.mock.web中的类
-
MockServletContextimplementation for Infra. - InfraMockServletContext(String) - 类的构造器 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- InfraMockServletContext(String, ResourceLoader) - 类的构造器 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- InfraRunner - cn.taketoday.test.context.junit4中的类
-
Runneris an alias for theJUnit4ClassRunner. - InfraRunner(Class<?>) - 类的构造器 cn.taketoday.test.context.junit4.InfraRunner
-
Construct a new
Runnerand initialize aTestContextManagerto provide Infra testing functionality to standard JUnit 4 tests. - InfraTest - cn.taketoday.framework.test.context中的Annotation Interface
-
Annotation that can be specified on a test class that runs Infra based tests.
- InfraTest.WebEnvironment - cn.taketoday.framework.test.context中的Enum Class
-
An enumeration web environment modes.
- InfraTestAotProcessor - cn.taketoday.framework.test.context中的类
-
Entry point for AOT processing of a Infra application's tests.
- InfraTestAotProcessor(Set<Path>, AbstractAotProcessor.Settings) - 类的构造器 cn.taketoday.framework.test.context.InfraTestAotProcessor
-
Create a new processor for the specified test classpath roots and general settings.
- InfraTestArgs - cn.taketoday.framework.test.context中的类
-
ContextCustomizerto track application arguments that are used in aInfraTest. - InfraTestArgs(Class<?>) - 类的构造器 cn.taketoday.framework.test.context.InfraTestArgs
- InfraTestContextBootstrapper - cn.taketoday.framework.test.context中的类
-
TestContextBootstrapperfor Infra. - InfraTestContextBootstrapper() - 类的构造器 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- InfraTestRandomPortEnvironmentPostProcessor - cn.taketoday.framework.test.web中的类
-
EnvironmentPostProcessorimplementation to start the management context on a random port if the main server's port is 0 and the management context is expected on a different port. - InfraTestRandomPortEnvironmentPostProcessor() - 类的构造器 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- InfraTestWebEnvironment - cn.taketoday.framework.test.context中的类
-
ContextCustomizerto track the web environment that is used in aInfraTest. - InfraTestWebEnvironment(Class<?>) - 类的构造器 cn.taketoday.framework.test.context.InfraTestWebEnvironment
- INHERIT - enum class 中的枚举常量 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
-
Indicates that test configuration for an inner test class should be inherited from its enclosing class, as if the enclosing class were a superclass.
- inheritFactories() - annotation interface 中的元素 cn.taketoday.test.context.support.ContextCustomizerFactories
-
Whether the configured set of
ContextCustomizerFactories.factories()from superclasses and enclosing classes should be inherited. - inheritInitializers - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- inheritInitializers() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
Whether or not context initializers from test superclasses should be inherited.
- inheritInitializers() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.inheritInitializers(). - inheritInitializers() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.inheritInitializers(). - inheritListeners() - annotation interface 中的元素 cn.taketoday.test.context.TestExecutionListeners
-
Whether or not
TestExecutionListenersfrom superclasses should be inherited. - inheritLocations - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- inheritLocations - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- inheritLocations() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
Whether or not resource locations or component classes from test superclasses should be inherited.
- inheritLocations() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.inheritLocations(). - inheritLocations() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.inheritLocations(). - inheritLocations() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Whether test property source
TestPropertySource.locations()from superclasses and enclosing classes should be inherited. - inheritProfiles() - annotation interface 中的元素 cn.taketoday.test.context.ActiveProfiles
-
Whether or not bean definition profiles from superclasses should be inherited.
- inheritProperties - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- inheritProperties() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Whether inlined test
TestPropertySource.properties()from superclasses and enclosing classes should be inherited. - init(ConfigurableEnvironment) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- init(FilterConfig) - 类中的方法 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- init(FilterConfig) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- initConnector() - 类中的静态方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initCookies() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- initCookies() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initEntityExchangeResult(B) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- initExchangeStrategies() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initFields(Object, ObjectMapper) - 类中的静态方法 cn.taketoday.framework.test.json.JacksonTester
-
Utility method to initialize
JacksonTesterfields. - initFields(Object, Gson) - 类中的静态方法 cn.taketoday.framework.test.json.GsonTester
-
Utility method to initialize
GsonTesterfields. - initFields(Object, Jsonb) - 类中的静态方法 cn.taketoday.framework.test.json.JsonbTester
-
Utility method to initialize
JsonbTesterfields. - initFields(Object, Supplier<ObjectMapper>) - 类中的静态方法 cn.taketoday.framework.test.json.JacksonTester
-
Utility method to initialize
JacksonTesterfields. - initFields(Object, Supplier<Gson>) - 类中的静态方法 cn.taketoday.framework.test.json.GsonTester
-
Utility method to initialize
GsonTesterfields. - initFields(Object, Supplier<Jsonb>) - 类中的静态方法 cn.taketoday.framework.test.json.JsonbTester
-
Utility method to initialize
JsonbTesterfields. - initFields(Object, Supplier<M>) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- initFields(Object, M) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- initFilterList(Servlet, Filter...) - 类中的静态方法 cn.taketoday.mock.web.MockFilterChain
- initFilters() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initHeaders() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initialize(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.ConfigDataApplicationContextInitializer
- initialize(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.filter.ExcludeFilterApplicationContextInitializer
- initialize(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ContextCustomizerAdapter
- initialize(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ParentContextApplicationContextInitializer
- initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- initialize(Class<?>) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Initialize the marshal tester for use, configuring it to load JSON resources as UTF-8.
- initialize(Class<?>, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Initialize the marshal tester for use.
- initialize(Class<?>, Charset) - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
-
Initialize the marshal tester for use.
- initializerClassMappings - 类中的变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- initializers - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- initializers - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- initializers() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
The application context initializer classes to use for initializing a
ConfigurableApplicationContext. - initializers() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.initializers(). - initializers() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.initializers(). - initIfRequired(ServletContext) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- initMocks(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- initParameters - 类中的变量 cn.taketoday.mock.web.MockFilterConfig
- initParameters - 类中的变量 cn.taketoday.mock.web.MockServletConfig
- initParameters - 类中的变量 cn.taketoday.mock.web.MockServletContext
- initPatterns(String...) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- initRequestBuilder() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- initRequestBuilder(HttpMethod, URI, MockClientHttpRequest, byte[]) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- initServletPath(String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.ForwardRequestPostProcessor
- initSslInfo() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- initUri() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- initUri(String, Object[]) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- initUriBuilderFactory() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- initWebAppContext() - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
-
A method to obtain the
WebApplicationContextto be passed to theDispatcherServlet. - initWebAppContext() - 类中的方法 cn.taketoday.test.web.servlet.setup.DefaultMockMvcBuilder
- initWebAppContext() - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- initXpathHelper(String, Map<String, String>, Object[]) - 类中的静态方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- inject(Field, Object, Definition) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- inject(Field, Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- injectDependencies(TestContext) - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
Performs dependency injection and bean initialization for the supplied
TestContextas described inprepareTestInstance(). - injectDependenciesInAotMode(TestContext) - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
- injectFields(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- injectRequestFactory(ClientHttpRequestFactory) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.AbstractMockRestServiceServerBuilder
- injectRequestFactory(ClientHttpRequestFactory) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.RestClientMockRestServiceServerBuilder
- injectRequestFactory(ClientHttpRequestFactory) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer.RestTemplateMockRestServiceServerBuilder
- INLINED_PROPERTIES_PROPERTY_SOURCE_NAME - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceUtils
-
The name of the
MapPropertySourcecreated from inlined properties. - inputStream - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- inserter - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- INSTANCE - 类中的静态变量 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- INSTANCE - 类中的静态变量 cn.taketoday.test.annotation.SystemProfileValueSource
- instanceFactory - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- instantiate(Class<T>) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- instantiateComponents(Class<T>, Class<? extends T>...) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- instantiateCustomizerFactories(Class<? extends ContextCustomizerFactory>...) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- instantiateIfNecessary(Object[]) - 类中的静态方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- instantiateListeners(Class<? extends TestExecutionListener>...) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- interceptors - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- interceptors(HandlerInterceptor...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Add global interceptors.
- interceptors(HandlerInterceptor...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- invalid - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- invalidate() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Invalidate this request, clearing its state.
- invalidate() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
Invalidates this session then unbinds any objects bound to it.
- invalidate() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpSession
- invoke(Object, Method, Object[]) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- invokeApplicationContextInitializers(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
- invokeApplicationContextMethod(Method, Object[]) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- invokeClose() - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- invokeGetterMethod(Object, String) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the getter method with the given
nameon the supplied target object with the suppliedvalue. - invokeMethod(Class<?>, String, Object...) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the static method with the given
nameon the supplied target class with the supplied arguments. - invokeMethod(Object, Class<?>, String, Object...) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the method with the given
nameon the providedtargetObject/targetClasswith the supplied arguments. - invokeMethod(Object, String, Object...) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the method with the given
nameon the supplied target object with the supplied arguments. - invokeSetterMethod(Object, String, Object) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the setter method with the given
nameon the supplied target object with the suppliedvalue. - invokeSetterMethod(Object, String, Object, Class<?>) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Invoke the setter method with the given
nameon the supplied target object with the suppliedvalue. - is(int) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is equal to an integer value.
- is(Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code with the given Hamcrest
Matcher. - is1xxInformational() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is in the 1xx range.
- is1xxInformational() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is in the 1xx range.
- is2xxSuccessful() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is in the 2xx range.
- is2xxSuccessful() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is in the 2xx range.
- is3xxRedirection() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is in the 3xx range.
- is3xxRedirection() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is in the 3xx range.
- is4xxClientError() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is in the 4xx range.
- is4xxClientError() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is in the 4xx range.
- is5xxServerError() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is in the 5xx range.
- is5xxServerError() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is in the 5xx range.
- isAccepted() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.ACCEPTED(202). - isAccepted() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.ACCEPTED(202). - isActivated(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
- isActive() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Return whether this request is still active (that is, not completed yet).
- isActive() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Determine whether a test-managed transaction is currently active.
- isAlreadyReported() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.ALREADY_REPORTED(208). - isAnnotated(Method) - 类中的方法 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizerFactory
- isAnnotatedWithAutowiredOrInject(Constructor<?>) - 类中的静态方法 cn.taketoday.test.context.support.TestConstructorUtils
- isAnnotatedWithWebAppConfiguration(Class<?>) - 类中的静态方法 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- isAopPresent - 类中的静态变量 cn.taketoday.test.util.AopTestUtils
- isArray() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is an array.
- isArray() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isArray() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is an array.
- isAssertThat(Method) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- isAssignable(String, Class<?>) - 类中的静态方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- isAsyncStarted() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isAsyncSupported() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isAutowirableConstructor(Constructor<?>, Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.TestConstructorUtils
-
Determine if the supplied constructor for the given test class is autowirable.
- isAutowirableConstructor(Constructor<?>, Class<?>, PropertyProvider) - 类中的静态方法 cn.taketoday.test.context.support.TestConstructorUtils
-
Determine if the supplied constructor for the given test class is autowirable.
- isAutowirableConstructor(Executable, Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.TestConstructorUtils
-
Determine if the supplied executable for the given test class is an autowirable constructor.
- isAutowirableConstructor(Executable, Class<?>, PropertyProvider) - 类中的静态方法 cn.taketoday.test.context.support.TestConstructorUtils
-
Determine if the supplied executable for the given test class is an autowirable constructor.
- isAutowiredTestOrLifecycleMethod(Method) - 类中的静态方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- isBadGateway() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.BAD_GATEWAY(502). - isBadRequest() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.BAD_REQUEST(400). - isBadRequest() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.BAD_REQUEST(400). - isBandwidthLimitExceeded() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.BANDWIDTH_LIMIT_EXCEEDED(509). - isBoolean() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is a
Boolean. - isBoolean() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isBoolean() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is a
Boolean. - isCharset() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Determine whether the character encoding has been explicitly set through
HttpServletResponsemethods or through acharsetparameter on theContent-Type. - isCheckpoint() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.CHECKPOINT(103). - isCloseMethod(Method) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- isCommitted() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- isConflict() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.CONFLICT(409). - isContextLoaded(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- isContextLoaded(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
Determine if the application context for the supplied
MergedContextConfigurationhas been loaded (i.e., is present in theContextCache). - isContinue() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.CONTINUE(100). - isCreated() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.CREATED(201). - isCreated() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.CREATED(201). - isDefaultConfigurationClassCandidate(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.AnnotationConfigContextLoaderUtils
-
Determine if the supplied
Classmeets the criteria for being considered a default configuration class candidate. - isDefaultRollback(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Determine whether or not to rollback transactions by default for the supplied test context.
- isDefinite() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- isDestinationLocked() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.DESTINATION_LOCKED - isDisabledInAotMode - 类中的静态变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- isEarlyHints() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.EARLY_HINTS(103). - isEmbedded() - enum class中的方法 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Return if the environment uses an
ServletWebServerApplicationContext. - isEmbeddedWebEnvironment(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- isEmpty - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- isEmpty() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- isEmpty() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- isEmpty() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- isEmpty() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that an empty value exists at the given path.
- isEmpty() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- isEmpty() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isEmpty() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Assert the response body is empty and return the exchange result.
- isEmpty() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that an empty value exists at the given path.
- isEmptyArray(Object) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- isEmptyString(Object) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- isEqualTo(boolean) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- isEqualTo(int) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status as an integer.
- isEqualTo(B) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- isEqualTo(B) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Assert the extracted body is equal to the given value.
- isEqualTo(HttpStatusCode) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status as an
HttpStatusCode. - isEqualTo(Double) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- isEqualTo(Object) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Overridden version of
isEqualToto perform JSON tests based on the object type. - isEqualTo(Object) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isEqualTo(String) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- isEqualToJson(byte[]) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON bytes. - isEqualToJson(byte[], JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON bytes.
- isEqualToJson(byte[], JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON bytes.
- isEqualToJson(Resource) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON resource. - isEqualToJson(Resource, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON resource.
- isEqualToJson(Resource, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON resource.
- isEqualToJson(File) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON file. - isEqualToJson(File, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON file.
- isEqualToJson(File, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON file.
- isEqualToJson(InputStream) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON input stream. - isEqualToJson(InputStream, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON input stream.
- isEqualToJson(InputStream, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON input stream.
- isEqualToJson(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON. - isEqualToJson(CharSequence, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON.
- isEqualToJson(CharSequence, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON.
- isEqualToJson(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
lenientlyequal to the specified JSON resource. - isEqualToJson(String, Class<?>, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON resource.
- isEqualToJson(String, Class<?>, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is equal to the specified JSON resource.
- isExecuted() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- isExpectationFailed() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.EXPECTATION_FAILED(417). - isExplicitValue(Object) - 类中的静态方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Determine if the supplied value is an explicit value (i.e., not a default).
- isFailedDependency() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.FAILED_DEPENDENCY(424). - isFilteredAnnotation(String) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- isFinished() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- isFlaggedForRollback() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Determine whether the current test-managed transaction has been flagged for rollback or flagged for commit.
- isFlaggedForRollback() - 类中的方法 cn.taketoday.test.context.transaction.TransactionContext
-
Has the current transaction been flagged for rollback?
- isForbidden() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.FORBIDDEN(403). - isForbidden() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.FORBIDDEN(403). - isFormField() - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- isFound() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.FOUND(302). - isFound() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.FOUND(302). - isFromConfiguration(MergedContextConfiguration, ContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- isGatewayTimeout() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.GATEWAY_TIMEOUT(504). - isGenerateDefaultLocations() - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Determine whether default resource locations should be generated if the
locationsprovided toAbstractContextLoader.processLocations(Class, String...)arenullor empty. - isGenericInfraTestClass(Class<?>) - 类中的静态方法 cn.taketoday.test.context.aot.TestClassScanner
- isGetSourceContext(Method) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- isGetStartupFailure(Method) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- isGone() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.GONE(410). - isHttpOnly() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- isHttpVersionNotSupported() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.HTTP_VERSION_NOT_SUPPORTED(505). - isIAmATeapot() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.I_AM_A_TEAPOT(418). - isImUsed() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.IM_USED(226). - isIndefiniteAndEmpty() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- isInfraTestClass(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.TestClassScanner
- isInheritInitializers() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the
inheritInitializersflag that was declared via@ContextConfiguration. - isInheritLocations() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Get the
inheritLocationsflag that was declared via@ContextConfiguration. - isInheritLocations() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Get the
inheritLocationsflag that was declared via@TestPropertySource. - isInheritProperties() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Get the
inheritPropertiesflag that was declared via@TestPropertySource. - isInsufficientSpaceOnResource() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE - isInsufficientStorage() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.INSUFFICIENT_STORAGE(507). - isInternalServerError() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.INTERNAL_SERVER_ERROR(500). - isInvalid() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- isJUnit4InfraTestClass(Class<?>) - 类中的静态方法 cn.taketoday.test.context.aot.TestClassScanner
- isJupiterInfraTestClass(Class<?>) - 类中的静态方法 cn.taketoday.test.context.aot.TestClassScanner
- isLengthRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.LENGTH_REQUIRED(411). - isListeningOnPort(InfraTest.WebEnvironment) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- isLocked() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.LOCKED(423). - isLoopDetected() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.LOOP_DETECTED(508). - isMap() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is a
Map. - isMap() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isMap() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is a
Map. - isMergeEnabled() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- isMergeEnabled() - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- isMethodFailure() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.METHOD_FAILURE - isMethodNotAllowed() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.METHOD_NOT_ALLOWED(405). - isMockOrSpyAnnotation(Class<? extends Annotation>) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- isMovedPermanently() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.MOVED_PERMANENTLY(301). - isMovedTemporarily() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。in favor of
StatusResultMatchers.isFound() - isMultipleChoices() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.MULTIPLE_CHOICES(300). - isMultiStatus() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.MULTI_STATUS(207). - isNetworkAuthenticationRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NETWORK_AUTHENTICATION_REQUIRED(511). - isNew - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- isNew() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- isNoContent() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.NO_CONTENT(204). - isNoContent() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NO_CONTENT(204). - isNonAuthoritativeInformation() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NON_AUTHORITATIVE_INFORMATION(203). - isNotAcceptable() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NOT_ACCEPTABLE(406). - isNotEmpty() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that a non-empty value exists at the given path.
- isNotEmpty() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isNotEmpty() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that a non-empty value exists at the given path.
- isNotEqualTo(Object) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Overridden version of
isNotEqualToto perform JSON tests based on the object type. - isNotEqualToJson(byte[]) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON bytes. - isNotEqualToJson(byte[], JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON bytes.
- isNotEqualToJson(byte[], JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON bytes.
- isNotEqualToJson(Resource) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON resource. - isNotEqualToJson(Resource, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON resource.
- isNotEqualToJson(Resource, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON resource.
- isNotEqualToJson(File) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON file. - isNotEqualToJson(File, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON file.
- isNotEqualToJson(File, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON file.
- isNotEqualToJson(InputStream) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON input stream. - isNotEqualToJson(InputStream, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON input stream.
- isNotEqualToJson(InputStream, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON input stream.
- isNotEqualToJson(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON. - isNotEqualToJson(CharSequence, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON.
- isNotEqualToJson(CharSequence, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON.
- isNotEqualToJson(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
lenientlyequal to the specified JSON resource. - isNotEqualToJson(String, Class<?>, JSONComparator) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON resource.
- isNotEqualToJson(String, Class<?>, JSONCompareMode) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not equal to the specified JSON resource.
- isNotExtended() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NOT_EXTENDED(510). - isNotFound() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.NOT_FOUND(404). - isNotFound() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NOT_FOUND(404). - isNotImplemented() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NOT_IMPLEMENTED(501). - isNotModified() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.NOT_MODIFIED(304). - isNotModified() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.NOT_MODIFIED(304). - isNotStrictlyEqualToJson(byte[]) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON bytes. - isNotStrictlyEqualToJson(Resource) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON resource. - isNotStrictlyEqualToJson(File) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON file. - isNotStrictlyEqualToJson(InputStream) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON input stream. - isNotStrictlyEqualToJson(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON. - isNotStrictlyEqualToJson(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is not
strictlyequal to the specified JSON resource. - isNumber() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is a
Number. - isNumber() - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- isNumber() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is a
Number. - isOk() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.OK(200). - isOk() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.OK(200). - ISOLATED - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
-
Indicates that SQL scripts should always be executed in a new, isolated transaction that will be immediately committed.
- isOutputStreamAccessAllowed() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return whether
MockHttpServletResponse.getOutputStream()access is allowed. - isPartialContent() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PARTIAL_CONTENT(206). - isPayloadTooLarge() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PAYLOAD_TOO_LARGE(413). - isPaymentRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PAYMENT_REQUIRED(402). - isPermanentRedirect() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.PERMANENT_REDIRECT(308). - isPermanentRedirect() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PERMANENT_REDIRECT(308). - isPreconditionFailed() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PRECONDITION_FAILED(412). - isPreconditionRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PRECONDITION_REQUIRED(428). - isPrimary(String, ApplicationContextAssert.Scope) - 类中的方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- isProcessing() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PROCESSING(102). - isProxyAuthenticationRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.PROXY_AUTHENTICATION_REQUIRED(407). - isProxyTargetAware() - 类中的方法 cn.taketoday.framework.test.mock.mockito.Definition
-
Return if AOP advised beans should be proxy target aware.
- isReady() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- isReady() - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
- isRequestedRangeNotSatisfiable() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE(416). - isRequestedSessionIdFromCookie() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isRequestedSessionIdFromURL() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isRequestedSessionIdValid() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isRequestEntityTooLarge() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.REQUEST_ENTITY_TOO_LARGE - isRequestHeaderFieldsTooLarge() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.REQUEST_HEADER_FIELDS_TOO_LARGE(431). - isRequestTimeout() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.REQUEST_TIMEOUT(408). - isRequestUriTooLong() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.REQUEST_URI_TOO_LONG - isResetContent() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.RESET_CONTENT(205). - isRollback(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Determine whether or not to rollback transactions for the supplied test context by taking into consideration the default rollback flag and a possible method-level override via the
@Rollbackannotation. - isSatisfied() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- isSatisfied() - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- isSatisfied() - 接口中的方法 cn.taketoday.test.web.client.RequestExpectation
-
Whether the requirements for this request expectation have been met.
- isScopedTarget(String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- isSecure() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isSecure() - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- isSeeOther() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.SEE_OTHER(303). - isSeeOther() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.SEE_OTHER(303). - isSerializable() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
-
Return if the mock is serializable.
- isServiceUnavailable() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.SERVICE_UNAVAILABLE(503). - isSingleton() - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- isSingleton() - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- isSkippedException(Throwable) - 类中的静态方法 cn.taketoday.test.context.TestContextManager
- isSslEnabled(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- isSslEnabled(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- isStaticNonPrivateAndNonFinal(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.AnnotationConfigContextLoaderUtils
- isStrictlyEqualToJson(byte[]) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON bytes. - isStrictlyEqualToJson(Resource) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON resource. - isStrictlyEqualToJson(File) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON file. - isStrictlyEqualToJson(InputStream) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON input stream. - isStrictlyEqualToJson(CharSequence) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON. - isStrictlyEqualToJson(String, Class<?>) - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert
-
Verifies that the actual value is
strictlyequal to the specified JSON resource. - isString() - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is a
String. - isString() - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is a
String. - isSupportedTestClass(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.AotTestContextInitializers
-
Determine if the specified test class has an AOT-optimized application context initializer.
- isSwitchingProtocols() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.SWITCHING_PROTOCOLS(101). - isTemporaryRedirect() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.TEMPORARY_REDIRECT(307). - isTemporaryRedirect() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.TEMPORARY_REDIRECT(307). - isTestClass(MetadataReader) - 类中的方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- isTestConfiguration(MetadataReader) - 类中的方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- isTestEnabledInThisEnvironment(ProfileValueSource, IfProfileValue) - 类中的静态方法 cn.taketoday.test.annotation.ProfileValueUtils
-
Determine if the
value(or one of thevalues) in the supplied@IfProfileValueannotation is enabled in the current environment. - isTestEnabledInThisEnvironment(ProfileValueSource, Method, Class<?>) - 类中的静态方法 cn.taketoday.test.annotation.ProfileValueUtils
-
Determine if the supplied
testMethodis enabled in the current environment, as specified by the@IfProfileValueannotation, which may be declared on the test method itself or at the class level. - isTestEnabledInThisEnvironment(Class<?>) - 类中的静态方法 cn.taketoday.test.annotation.ProfileValueUtils
-
Determine if the supplied
testClassis enabled in the current environment, as specified by the@IfProfileValueannotation at the class level. - isTestEnabledInThisEnvironment(Method, Class<?>) - 类中的静态方法 cn.taketoday.test.annotation.ProfileValueUtils
-
Determine if the supplied
testMethodis enabled in the current environment, as specified by the@IfProfileValueannotation, which may be declared on the test method itself or at the class level. - isTestManagementPortConfigured(PropertySource<?>) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- isTestMethodIgnored(FrameworkMethod) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Return
trueif@Ignoreis present for the supplied test method or if the test method is disabled via@IfProfileValue. - isTestServerPortFixed(MapPropertySource, ConfigurableEnvironment) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- isTooEarly() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.TOO_EARLY(425). - isTooManyRequests() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.TOO_MANY_REQUESTS(429). - isToString(Method) - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- isUnauthorized() - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response status code is
HttpStatus.UNAUTHORIZED(401). - isUnauthorized() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.UNAUTHORIZED(401). - isUnavailableForLegalReasons() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.UNAVAILABLE_FOR_LEGAL_REASONS(451). - isUnprocessableEntity() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.UNPROCESSABLE_ENTITY(422). - isUnsupportedMediaType() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.UNSUPPORTED_MEDIA_TYPE(415). - isUpgradeRequired() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.UPGRADE_REQUIRED(426). - isUriTooLong() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.REQUEST_URI_TOO_LONG(414). - isUseProxy() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
已过时。matching the deprecation of
HttpStatus.USE_PROXY - isUserInRole(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- isValidMethodLevelPhase(Sql.ExecutionPhase) - 类中的静态方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- isVariantAlsoNegotiates() - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the response status code is
HttpStatus.VARIANT_ALSO_NEGOTIATES(506). - isWebEnvironmentSupported(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- isWriterAccessAllowed() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Return whether
MockHttpServletResponse.getOutputStream()access is allowed. - iterator - 类中的变量 cn.taketoday.mock.web.MockFilterChain
- iterator() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoBeans
J
- JacksonFieldInitializer() - 类的构造器 cn.taketoday.framework.test.json.JacksonTester.JacksonFieldInitializer
- JacksonTester<T> - cn.taketoday.framework.test.json中的类
-
AssertJ based JSON tester backed by Jackson.
- JacksonTester(ObjectMapper) - 类的构造器 cn.taketoday.framework.test.json.JacksonTester
-
Create a new
JacksonTesterinstance. - JacksonTester(Class<?>, ResolvableType, ObjectMapper) - 类的构造器 cn.taketoday.framework.test.json.JacksonTester
-
Create a new
JacksonTesterinstance. - JacksonTester(Class<?>, ResolvableType, ObjectMapper, Class<?>) - 类的构造器 cn.taketoday.framework.test.json.JacksonTester
- JacksonTester.JacksonFieldInitializer - cn.taketoday.framework.test.json中的类
-
AbstractJsonMarshalTester.FieldInitializerfor Jackson. - javascriptEnabled - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- javascriptEnabled(boolean) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Specify whether JavaScript should be enabled.
- jdbcTemplate - 类中的变量 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
The
JdbcTemplatethat this base class manages, available to subclasses. - JdbcTestUtils - cn.taketoday.test.jdbc中的类
-
JdbcTestUtilsis a collection of JDBC related utility functions intended to simplify standard database testing scenarios. - JdbcTestUtils() - 类的构造器 cn.taketoday.test.jdbc.JdbcTestUtils
- jettyClientPresent - 类中的静态变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- json - 类中的变量 cn.taketoday.framework.test.json.JsonContent
- json(String) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the expected and actual strings as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting with a lenient checking (extensible, and non-strict array ordering).
- json(String) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Parse the expected and actual response content as JSON and perform a comparison verifying that they contain the same attribute-value pairs regardless of formatting with lenient checking (extensible and non-strict array ordering).
- json(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Parse the expected and actual strings as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting with a lenient checking (extensible, and non-strict array ordering).
- json(String, boolean) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the request body and the given string as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting.
- json(String, boolean) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- json(String, boolean) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Parse the expected and actual response content as JSON and perform a comparison verifying that they contain the same attribute-value pairs regardless of formatting.
- json(String, boolean) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Parse the response content and the given string as JSON and assert the two are "similar" - i.e. they contain the same attribute-value pairs regardless of formatting.
- jsonb - 类中的变量 cn.taketoday.framework.test.json.JsonbTester
- JsonbFieldInitializer() - 类的构造器 cn.taketoday.framework.test.json.JsonbTester.JsonbFieldInitializer
- JsonbTester<T> - cn.taketoday.framework.test.json中的类
-
AssertJ based JSON tester backed by Jsonb.
- JsonbTester(Jsonb) - 类的构造器 cn.taketoday.framework.test.json.JsonbTester
-
Create a new uninitialized
JsonbTesterinstance. - JsonbTester(Class<?>, ResolvableType, Jsonb) - 类的构造器 cn.taketoday.framework.test.json.JsonbTester
-
Create a new
JsonbTesterinstance. - JsonbTester.JsonbFieldInitializer - cn.taketoday.framework.test.json中的类
-
AbstractJsonMarshalTester.FieldInitializerfor Jsonb. - JsonContent<T> - cn.taketoday.framework.test.json中的类
-
JSON content usually created from a JSON tester.
- JsonContent(Class<?>, ResolvableType, String) - 类的构造器 cn.taketoday.framework.test.json.JsonContent
-
Create a new
JsonContentinstance. - JsonContent(Class<?>, ResolvableType, String, Configuration) - 类的构造器 cn.taketoday.framework.test.json.JsonContent
-
Create a new
JsonContentinstance. - JsonContentAssert - cn.taketoday.framework.test.json中的类
-
AssertJ
AssertforJsonContent. - JsonContentAssert(Class<?>, CharSequence) - 类的构造器 cn.taketoday.framework.test.json.JsonContentAssert
-
Create a new
JsonContentAssertinstance that will load resources as UTF-8. - JsonContentAssert(Class<?>, Charset, CharSequence) - 类的构造器 cn.taketoday.framework.test.json.JsonContentAssert
-
Create a new
JsonContentAssertinstance that will load resources in the givencharset. - JsonContentAssert(Class<?>, Charset, CharSequence, Configuration) - 类的构造器 cn.taketoday.framework.test.json.JsonContentAssert
-
Create a new
JsonContentAssertinstance that will load resources in the givencharset. - JsonContentAssert.JsonPathValue - cn.taketoday.framework.test.json中的类
-
A
JsonPathvalue. - JsonExpectationsHelper - cn.taketoday.test.util中的类
-
A helper class for assertions on JSON content.
- JsonExpectationsHelper() - 类的构造器 cn.taketoday.test.util.JsonExpectationsHelper
- jsonHelper - 类中的变量 cn.taketoday.test.web.client.match.ContentRequestMatchers
- jsonHelper - 类中的变量 cn.taketoday.test.web.servlet.result.ContentResultMatchers
- JsonLoader - cn.taketoday.framework.test.json中的类
-
Internal helper used to load JSON from various sources.
- JsonLoader(Class<?>, Charset) - 类的构造器 cn.taketoday.framework.test.json.JsonLoader
- jsonPath - 类中的变量 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- jsonPath - 类中的变量 cn.taketoday.test.util.JsonPathExpectationsHelper
- jsonPath(String, Object...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Access to request body matchers using a JsonPath expression to inspect a specific subset of the body.
- jsonPath(String, Object...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- jsonPath(String, Object...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Access to response body assertions using a JsonPath expression to inspect a specific subset of the body.
- jsonPath(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response body assertions using a JsonPath expression to inspect a specific subset of the body.
- jsonPath(String, Matcher<? super T>) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Access to request body matchers using a JsonPath expression to inspect a specific subset of the body and a Hamcrest match for asserting the value found at the JSON path.
- jsonPath(String, Matcher<? super T>) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Evaluate the given JsonPath expression against the response body and assert the resulting value with the given Hamcrest
Matcher. - jsonPath(String, Matcher<? super T>, Class<T>) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Evaluate the given JsonPath expression against the response body and assert the resulting value with the given Hamcrest
Matcher, coercing the resulting value into the given target type before applying the matcher. - JsonPathAssertions - cn.taketoday.test.web.reactive.server中的类
-
JsonPath assertions.
- JsonPathAssertions(WebTestClient.BodyContentSpec, String, String, Object...) - 类的构造器 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- JsonPathExpectationsHelper - cn.taketoday.test.util中的类
-
A helper class for applying assertions via JSON path expressions.
- JsonPathExpectationsHelper(String, Object...) - 类的构造器 cn.taketoday.test.util.JsonPathExpectationsHelper
-
Construct a new
JsonPathExpectationsHelper. - jsonPathHelper - 类中的变量 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
- jsonPathHelper - 类中的变量 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
- JsonPathRequestMatchers - cn.taketoday.test.web.client.match中的类
-
Factory for assertions on the request content using JsonPath expressions.
- JsonPathRequestMatchers(String, Object...) - 类的构造器 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Protected constructor.
- JsonPathRequestMatchers.AbstractJsonPathRequestMatcher - cn.taketoday.test.web.client.match中的类
-
Abstract base class for
JsonPath-basedRequestMatchers. - JsonPathResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the response content using JsonPath expressions.
- JsonPathResultMatchers(String, Object...) - 类的构造器 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Protected constructor.
- JsonPathValue(CharSequence, Object...) - 类的构造器 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- JUnit4ClassRunner - cn.taketoday.test.context.junit4中的类
-
JUnit4ClassRunneris a custom extension of JUnit'sBlockJUnit4ClassRunnerwhich provides functionality of the TestContext Framework to standard JUnit tests by means of theTestContextManagerand associated support classes and annotations. - JUnit4ClassRunner(Class<?>) - 类的构造器 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Construct a new
JUnit4ClassRunnerand initialize aTestContextManagerto provide Infra testing functionality to standard JUnit tests. - JUnitConfig - cn.taketoday.test.context.junit.jupiter中的Annotation Interface
-
@ApplicationJUnitConfigis a composed annotation that combines@ExtendWith(ApplicationExtension.class)from JUnit Jupiter with@ContextConfigurationfrom the Infra TestContext Framework. - JUnitWebConfig - cn.taketoday.test.context.junit.jupiter.web中的Annotation Interface
-
@ApplicationJUnitWebConfigis a composed annotation that combines@ExtendWith(ApplicationExtension.class)from JUnit Jupiter with@ContextConfigurationand@WebAppConfigurationfrom the TestContext Framework. - JUPITER_ANNOTATION_TYPES - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
K
- key - 类中的变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- key - 类中的变量 cn.taketoday.framework.test.context.ImportsContextCustomizer
- KEY - 类中的静态变量 cn.taketoday.test.web.servlet.TestDispatcherServlet
L
- lastAccessedTime - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- lastModified(long) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Last-Modified" header with the given value.
- length() - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
- listeners - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- listeners() - annotation interface 中的元素 cn.taketoday.test.context.TestExecutionListeners
-
The
TestExecutionListenersto register with theTestContextManager. - listOf(String...) - 类中的静态方法 cn.taketoday.test.context.hint.TestContextRuntimeHints
- loadAttributesMap() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestAttributesFactory
- loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load bean definitions into the supplied
contextfrom the locations or classes in the suppliedMergedContextConfiguration. - loadBeanDefinitions(GenericApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
Register classes in the supplied
contextfrom the classes in the suppliedMergedContextConfiguration. - loadBeanDefinitions(GenericWebApplicationContext, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Load bean definitions into the supplied
contextfrom the locations or classes in the suppliedWebMergedContextConfiguration. - loadBeanDefinitions(GenericWebApplicationContext, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
Register classes in the supplied context from the classes in the supplied
WebMergedContextConfiguration. - loadBeanDefinitions(GenericWebApplicationContext, WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.GenericXmlWebContextLoader
-
Load bean definitions into the supplied
contextfrom the locations in the suppliedWebMergedContextConfiguration, using anXmlBeanDefinitionReader. - loadClass(String, boolean) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader
- loadContext() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.DisabledIf
-
Whether the
ApplicationContextassociated with the current test should be eagerly loaded in order to evaluate theDisabledIf.expression(). - loadContext() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.EnabledIf
-
Whether the
ApplicationContextassociated with the current test should be eagerly loaded in order to evaluate theEnabledIf.expression(). - loadContext(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- loadContext(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- loadContext(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.CacheAwareContextLoaderDelegate
-
Load the application context for the supplied
MergedContextConfigurationby delegating to theContextLoaderconfigured in the givenMergedContextConfiguration. - loadContext(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.SmartContextLoader
-
Load a new
ApplicationContextbased on the suppliedMergedContextConfiguration, configure the context, and return the context in a fully refreshed state. - loadContext(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Delegates to an appropriate candidate
SmartContextLoaderto load anApplicationContext. - loadContext(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load a
GenericApplicationContextfor the suppliedMergedContextConfiguration. - loadContext(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Load a
GenericWebApplicationContextfor the suppliedMergedContextConfiguration. - loadContext(MergedContextConfiguration, boolean) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load a
GenericApplicationContextfor the suppliedMergedContextConfiguration. - loadContext(MergedContextConfiguration, boolean) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Load a
GenericWebApplicationContextfor the suppliedMergedContextConfiguration. - loadContext(String...) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- loadContext(String...) - 接口中的方法 cn.taketoday.test.context.ContextLoader
-
Loads a new
ApplicationContextbased on the suppliedlocations, configures the context, and finally returns the context in fully refreshed state. - loadContext(String...) - 接口中的方法 cn.taketoday.test.context.SmartContextLoader
-
SmartContextLoaderdoes not support deprecatedContextLoadermethods. - loadContext(String...) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load a Infra ApplicationContext from the supplied
locations. - loadContext(String...) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
AbstractGenericWebContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - loadContextForAotProcessing(MergedContextConfiguration) - 接口中的方法 cn.taketoday.test.context.aot.AotContextLoader
-
Load a new
ApplicationContextfor AOT build-time processing based on the suppliedMergedContextConfiguration, configure the context, and return the context. - loadContextForAotProcessing(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Load the
GenericApplicationContextfor the supplied merged context configuration for AOT processing. - loadContextForAotProcessing(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Delegates to an appropriate candidate
SmartContextLoaderto load anApplicationContextfor AOT processing. - loadContextForAotProcessing(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load a
GenericApplicationContextfor AOT build-time processing based on the suppliedMergedContextConfiguration. - loadContextForAotProcessing(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Load a
GenericWebApplicationContextfor AOT build-time processing based on the suppliedMergedContextConfiguration. - loadContextForAotRuntime(MergedContextConfiguration, ApplicationContextInitializer) - 接口中的方法 cn.taketoday.test.context.aot.AotContextLoader
-
Load a new
ApplicationContextfor AOT run-time execution based on the suppliedMergedContextConfigurationandApplicationContextInitializer. - loadContextForAotRuntime(MergedContextConfiguration, ApplicationContextInitializer) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Delegates to an appropriate candidate
SmartContextLoaderto load anApplicationContextfor AOT run-time execution. - loadContextForAotRuntime(MergedContextConfiguration, ApplicationContextInitializer) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Load a
GenericApplicationContextfor AOT run-time execution based on the suppliedMergedContextConfigurationandApplicationContextInitializer. - loadContextForAotRuntime(MergedContextConfiguration, ApplicationContextInitializer) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Load a
GenericWebApplicationContextfor AOT run-time execution based on the suppliedMergedContextConfigurationandApplicationContextInitializer. - loadContextInAotMode(AotMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- loadContextInitializerClassesMap() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- loadContextInitializersMap() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
- loadContextInternal(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
Load the
ApplicationContextfor the supplied merged context configuration. - loader - 类中的变量 cn.taketoday.framework.test.json.BasicJsonTester
- loader - 类中的变量 cn.taketoday.framework.test.json.JsonContentAssert
- loader() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
- loader() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.loader(). - loader() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.loader(). - loadFactoryImplementations(Class<T>) - 类中的静态方法 cn.taketoday.test.context.util.TestContextFactoriesUtils
-
Load factory implementations of the given type via the
TodayStrategiesmechanism. - loadGetResourceBasePathMethod() - 类中的静态方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- loadMap(String, String) - 类中的静态方法 cn.taketoday.test.context.aot.GeneratedMapUtils
-
Load a generated map.
- loadWebAppConfigurationClass() - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
- loadWebMergedContextConfigurationClass() - 类中的静态方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- localAddr - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- localAddress - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- localAddress - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- localAddress(InetSocketAddress) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the local address to return.
- localAddress(InetSocketAddress) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- locale - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- locale(Locale) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the locale of the request, overriding any previous locales.
- locale(Locale...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Add the specified locales as preferred request locales.
- localeResolver - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- localeResolver(LocaleResolver) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide the LocaleResolver to use.
- localeResolver(LocaleResolver) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- locales - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
-
List of locales in descending order.
- locales - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- locales(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- LocalHostUriTemplateHandler - cn.taketoday.framework.test.web.client中的类
-
UriTemplateHandlerwill automatically prefix relative URIs withlocalhost:${local.server.port}. - LocalHostUriTemplateHandler(Environment) - 类的构造器 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
-
Create a new
LocalHostUriTemplateHandlerthat will generatehttpURIs using the givenenvironmentto determine the context path and port. - LocalHostUriTemplateHandler(Environment, String) - 类的构造器 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
-
Create a new
LocalHostUriTemplateHandlerthat will generate URIs with the givenschemeand use the givenenvironmentto determine the context-path and port. - LocalHostUriTemplateHandler(Environment, String, UriTemplateHandler) - 类的构造器 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
-
Create a new
LocalHostUriTemplateHandlerthat will generate URIs with the givenscheme, use the givenenvironmentto determine the context-path and port and delegate to the given templatehandler. - localName - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- localPort - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- LocalServerPort - cn.taketoday.framework.test.web.server中的Annotation Interface
-
Annotation at the field or method/constructor parameter level that injects the HTTP port that got allocated at runtime.
- location(String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a "Location" header with the given value.
- location(URI) - 类中的方法 cn.taketoday.test.web.client.response.DefaultResponseCreator
-
Set the
Locationheader. - locations - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- locations - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- locations() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
The resource locations to use for loading an
ApplicationContext. - locations() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.locations(). - locations() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.locations(). - locations() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
The resource locations of properties files to be loaded into the
Environment's set ofPropertySources. - log - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- log - 类中的静态变量 cn.taketoday.test.context.support.AbstractContextLoader
- log - 类中的静态变量 cn.taketoday.test.context.support.AbstractGenericContextLoader
- log - 类中的静态变量 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- log - 类中的静态变量 cn.taketoday.test.context.support.ActiveProfilesUtils
- log - 类中的静态变量 cn.taketoday.test.context.support.DefaultActiveProfilesResolver
- log - 类中的静态变量 cn.taketoday.test.context.TestContextManager
- log - 类中的静态变量 cn.taketoday.test.util.ReflectionTestUtils
- log() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
-
Log
MvcResultdetails as aDEBUGlog message via Apache Commons Logging using the log categorycn.taketoday.test.web.servlet.result. - log(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- log(String, HttpMethod, URI) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- log(String, Throwable) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- logBeansException(TestContext, BeansException, Class<?>) - 类中的静态方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils
- logDuplicateJsonObjectsWarning(List<URL>) - 类中的方法 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- logException(Throwable, String, TestExecutionListener, Class<?>) - 类中的方法 cn.taketoday.test.context.TestContextManager
- logException(Throwable, String, TestExecutionListener, Object, Method) - 类中的方法 cn.taketoday.test.context.TestContextManager
- logger - 类中的静态变量 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- logger - 类中的变量 cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory.DuplicateJsonObjectContextCustomizer
- logger - 类中的变量 cn.taketoday.mock.web.MockRequestDispatcher
- logger - 类中的变量 cn.taketoday.mock.web.MockServletContext
- logger - 类中的静态变量 cn.taketoday.test.annotation.ProfileValueUtils
- logger - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- logger - 类中的静态变量 cn.taketoday.test.context.aot.AotTestContextInitializersCodeGenerator
- logger - 类中的变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- logger - 类中的变量 cn.taketoday.test.context.aot.TestClassScanner
- logger - 类中的静态变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- logger - 类中的静态变量 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
- logger - 类中的静态变量 cn.taketoday.test.context.ContextConfigurationAttributes
- logger - 类中的静态变量 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- logger - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.AbstractExpressionEvaluatingCondition
- logger - 类中的变量 cn.taketoday.test.context.junit4.AbstractJUnit4ContextTests
-
Logger available to subclasses.
- logger - 类中的静态变量 cn.taketoday.test.context.junit4.JUnit4ClassRunner
- logger - 类中的静态变量 cn.taketoday.test.context.junit4.rules.InfraClassRule
- logger - 类中的静态变量 cn.taketoday.test.context.junit4.rules.InfraMethodRule
- logger - 类中的静态变量 cn.taketoday.test.context.junit4.statements.RepeatTest
- logger - 类中的静态变量 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- logger - 类中的静态变量 cn.taketoday.test.context.support.AbstractDirtiesContextTestExecutionListener
- logger - 类中的静态变量 cn.taketoday.test.context.support.AnnotationConfigContextLoader
- logger - 类中的静态变量 cn.taketoday.test.context.support.AnnotationConfigContextLoaderUtils
- logger - 类中的静态变量 cn.taketoday.test.context.support.ApplicationContextInitializerUtils
- logger - 类中的静态变量 cn.taketoday.test.context.support.ContextLoaderUtils
- logger - 类中的静态变量 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
- logger - 类中的静态变量 cn.taketoday.test.context.support.TestConstructorUtils
- logger - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- logger - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceUtils
- logger - 类中的静态变量 cn.taketoday.test.context.transaction.TestContextTransactionUtils
- logger - 类中的静态变量 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
- logger - 类中的静态变量 cn.taketoday.test.context.transaction.TransactionContext
- logger - 类中的静态变量 cn.taketoday.test.context.util.TestContextFactoriesUtils
- logger - 类中的变量 cn.taketoday.test.context.util.TestContextFailureHandler
- logger - 类中的静态变量 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
- logger - 类中的静态变量 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
- logger - 类中的静态变量 cn.taketoday.test.context.web.ServletTestExecutionListener
- logger - 类中的静态变量 cn.taketoday.test.jdbc.JdbcTestUtils
- logger - 类中的静态变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- logger - 类中的静态变量 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- logger - 类中的静态变量 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
- LoggingResultHandler() - 类的构造器 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers.LoggingResultHandler
- login(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- logout() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- logStatistics() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Log the statistics for this
ContextCacheatDEBUGlevel using the "cn.taketoday.test.context.cache" logging category. - logStatistics() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Log the statistics for this
ContextCacheatDEBUGlevel using the "cn.taketoday.test.context.cache" logging category. - longValue(String, long) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the primary value of the named response header as a
long. - lookUpEnclosingConfiguration(Class<?>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
- lookupHandler(RequestContext) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet
- LruCache(int, float) - 类的构造器 cn.taketoday.test.context.cache.DefaultContextCache.LruCache
-
Create a new
LruCachewith the supplied initial capacity and load factor.
M
- main(String[]) - 类中的静态方法 cn.taketoday.framework.test.context.InfraTestAotProcessor
- majorVersion - 类中的变量 cn.taketoday.mock.web.MockServletContext
- MANAGEMENT_PORT_PROPERTY - 类中的静态变量 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- manyTimes() - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
Many times (range of 1..Integer.MAX_VALUE).
- map - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceUtils.SequencedProperties
- MAP - enum class 中的枚举常量 cn.taketoday.test.util.TestPropertyValues.Type
-
Used for
MapPropertySource. - MAP_TYPE - 类中的静态变量 cn.taketoday.test.context.aot.AotTestAttributesCodeGenerator
- mappedInterceptors - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- mappedInterceptors(String[], HandlerInterceptor...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Add interceptors for specific patterns.
- mappedInterceptors(String[], HandlerInterceptor...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- mappingMatch - 类中的变量 cn.taketoday.mock.web.MockHttpServletMapping
- markApplicationContextDirty(DirtiesContext.HierarchyMode) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
-
Mark the application context associated with this test context as dirty (i.e., by removing it from the context cache and closing it).
- markApplicationContextDirty(DirtiesContext.HierarchyMode) - 接口中的方法 cn.taketoday.test.context.TestContext
-
Call this method to signal that the application context associated with this test context is dirty and should be removed from the context cache.
- match(MetadataReader, MetadataReaderFactory) - 类中的方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- match(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.DefaultRequestExpectation
- match(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers.AbstractXmlRequestMatcher
- match(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers.AbstractJsonPathRequestMatcher
- match(ClientHttpRequest) - 接口中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers.XpathRequestMatcher
- match(ClientHttpRequest) - 接口中的方法 cn.taketoday.test.web.client.RequestMatcher
-
Match the given request against specific expectations.
- match(MvcResult) - 接口中的方法 cn.taketoday.test.web.servlet.ResultMatcher
-
Assert the result of an executed request.
- matchAll(ResultMatcher...) - 接口中的静态方法 cn.taketoday.test.web.servlet.ResultMatcher
-
Static method for matching with an array of result matchers.
- matchDispatcherType(DispatcherType) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- matchedRequestCount - 类中的变量 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- matcher - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection
- matcher(HttpStatusCode) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Match the expected response status to that of the HttpServletResponse.
- matchers - 类中的变量 cn.taketoday.framework.test.system.OutputCaptureRule
- matches(ConfigurableBeanFactory, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- matches(WebRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HostRequestMatcher
- matches(WebRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.UrlRegexRequestMatcher
- matches(WebRequest) - 接口中的方法 cn.taketoday.test.web.servlet.htmlunit.WebRequestMatcher
-
Whether this matcher matches on the supplied web request.
- matchInternal(MockClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers.AbstractXmlRequestMatcher
- matchInternal(MockClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers.AbstractJsonPathRequestMatcher
- matchInternal(MockClientHttpRequest) - 接口中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers.XpathRequestMatcher
- matchRequest(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
-
subclasses should implement this method instead of
#validateRequestInternal(ClientHttpRequest)in order to match the request to an expectation, leaving the call to create the response as a separate step (to be invoked by this class). - matchRequest(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.SimpleRequestExpectationManager
- matchRequest(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.UnorderedRequestExpectationManager
- matchRequestPath(String) - 类中的方法 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- matchValue - 类中的变量 cn.taketoday.mock.web.MockHttpServletMapping
- max(int) - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
At most
maxnumber of times. - MAX_CONTEXT_CACHE_SIZE_PROPERTY_NAME - 接口中的静态变量 cn.taketoday.test.context.cache.ContextCache
-
System property used to configure the maximum size of the
ContextCacheas a positive integer: "infra.test.context.cache.maxSize". - MAX_FORWARDS - 类中的静态变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- maxAge - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- maxAge(String, int) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's maxAge.
- maxAge(String, Duration) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's maxAge attribute.
- maxAge(String, Duration) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's maxAge.
- maxAge(String, Matcher<? super Long>) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's maxAge attribute with a Hamcrest
Matcher. - maxAge(String, Matcher<? super Duration>) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's maxAge with a Hamcrest
Matcher. - maxCount - 类中的变量 cn.taketoday.test.web.client.ExpectedCount
- maxInactiveInterval - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- maxSize - 类中的变量 cn.taketoday.framework.test.context.AnnotatedClassFinder.Cache
- maxSize - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
- merge(Class<?>, Class<?>[]) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- merge(Object) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- merge(Object) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Merges the properties of the "parent" RequestBuilder accepting values only if not already set in "this" instance.
- merge(Object) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
- MERGE - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlMergeMode.MergeMode
-
Indicates that method-level
@Sqldeclarations should be merged with class-level@Sqldeclarations, with class-level SQL scripts and statements executed before method-level scripts and statements. - MERGE_WITH_DEFAULTS - enum class 中的枚举常量 cn.taketoday.test.context.support.ContextCustomizerFactories.MergeMode
-
Indicates that locally declared factories should be merged with the default factories.
- MERGE_WITH_DEFAULTS - enum class 中的枚举常量 cn.taketoday.test.context.TestExecutionListeners.MergeMode
-
Indicates that locally declared listeners should be merged with the default listeners.
- mergeAttributes(SqlConfig, Class<?>) - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
- mergedConfig - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- mergedConfigRuntimeHints - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- MergedContextConfiguration - cn.taketoday.test.context中的类
-
MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource. - MergedContextConfiguration(MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance by copying all fields from the suppliedMergedContextConfiguration. - MergedContextConfiguration(Class<?>, String[], Class<?>[], String[], ContextLoader) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], ContextLoader) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], String[], String[], ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], String[], String[], Set<ContextCustomizer>, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], List<PropertySourceDescriptor>, String[], Set<ContextCustomizer>, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfigurationinstance for the supplied parameters. - MergedContextConfigurationRuntimeHints - cn.taketoday.test.context.aot中的类
-
MergedContextConfigurationRuntimeHintsregisters run-time hints for standard functionality in the Infra TestContext Framework based onMergedContextConfiguration. - MergedContextConfigurationRuntimeHints() - 类的构造器 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- MergedSqlConfig - cn.taketoday.test.context.jdbc中的类
-
MergedSqlConfigencapsulates the merged@SqlConfigattributes declared locally viaSql.config()and globally as a class-level annotation. - MergedSqlConfig(SqlConfig, Class<?>) - 类的构造器 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Construct a
MergedSqlConfiginstance by merging the configuration from the supplied local (potentially method-level)@SqlConfigannotation with class-level configuration discovered on the suppliedtestClass. - MergedTestPropertySources - cn.taketoday.test.context.support中的类
-
MergedTestPropertySourcesencapsulates the merged property sources declared on a test class and all of its superclasses via@TestPropertySource. - MergedTestPropertySources(List<PropertySourceDescriptor>, String[]) - 类的构造器 cn.taketoday.test.context.support.MergedTestPropertySources
-
Create a
MergedTestPropertySourcesinstance with the supplieddescriptorsandproperties. - mergeLocations(List<TestPropertySourceAttributes>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- mergeMode() - annotation interface 中的元素 cn.taketoday.test.context.support.ContextCustomizerFactories
-
The merge mode to use when
@ContextCustomizerFactoriesis declared on a class that does not inherit factories from a superclass or enclosing class. - mergeMode() - annotation interface 中的元素 cn.taketoday.test.context.TestExecutionListeners
-
The merge mode to use when
@TestExecutionListenersis declared on a class that does not inherit listeners from a superclass. - MergeMode() - enum class的构造器 cn.taketoday.test.context.jdbc.SqlMergeMode.MergeMode
- MergeMode() - enum class的构造器 cn.taketoday.test.context.support.ContextCustomizerFactories.MergeMode
- MergeMode() - enum class的构造器 cn.taketoday.test.context.TestExecutionListeners.MergeMode
- mergeProperties(List<TestPropertySourceAttributes>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- mergePropertiesAndLocationsFrom(TestPropertySourceAttributes) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
- mergeSqlAnnotations(TestContext) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Determine if method-level
@Sqlannotations should be merged with class-level@Sqlannotations. - mergeTestPropertySourceAttributes(List<TestPropertySourceAttributes>) - 类中的静态方法 cn.taketoday.test.context.support.TestPropertySourceUtils
- mergeWith(TestPropertySourceAttributes) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Merge this
TestPropertySourceAttributesinstance with the suppliedTestPropertySourceAttributes, asserting that the two sets of test property source attributes have identical values for theTestPropertySource.inheritLocations()andTestPropertySource.inheritProperties()flags and that the two underlying annotations were declared on the same class. - messageConverters - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- messageConverters(HttpMessageConverter<?>...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set the message converters to use.
- messageConverters(HttpMessageConverter<?>...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- method - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- method - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- method - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- method(HttpMethod) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert the
HttpMethodof the request. - method(HttpMethod) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- method(HttpMethod) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare a request for the specified
HttpMethod. - method(HttpMethod, String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
Alternative to
MockServerHttpRequest.method(HttpMethod, URI)that accepts a URI template. - method(HttpMethod, URI) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
Create a builder with the given HTTP method and a
URI. - method(Method) - 类中的方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Assert the controller method used to process the request.
- method(String, String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
已过时。
- METHOD_ANNOTATIONS - 类中的静态变量 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- methodBlock(FrameworkMethod) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Augment the default JUnit behavior with potential repeats of the entire execution chain.
- methodCall(Object) - 类中的方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Assert the controller method used to process the request.
- methodInternal(HttpMethod) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- methodMode() - annotation interface 中的元素 cn.taketoday.test.annotation.DirtiesContext
-
The mode to use when a test method is annotated with
@DirtiesContext. - MethodMode() - enum class的构造器 cn.taketoday.test.annotation.DirtiesContext.MethodMode
- methodName(String) - 类中的方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Assert the name of the controller method used to process the request.
- methodName(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.HandlerResultMatchers
-
Assert the name of the controller method used to process the request using the given Hamcrest
Matcher. - methods - 类中的变量 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- millis() - annotation interface 中的元素 cn.taketoday.test.annotation.Timed
-
The maximum amount of time (in milliseconds) that a test execution can take without being marked as failed due to taking too long.
- mimeTypes - 类中的变量 cn.taketoday.mock.web.MockServletContext
- min(int) - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
At least
minnumber of times. - minCount - 类中的变量 cn.taketoday.test.web.client.ExpectedCount
- minorVersion - 类中的变量 cn.taketoday.mock.web.MockServletContext
- missCount - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
- MISSING_CHARACTER_ENCODING - 类中的静态变量 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- MOCK - enum class 中的枚举常量 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Creates a
WebApplicationContextwith a mock servlet environment if servlet APIs are on the classpath, aReactiveWebApplicationContextif Infra WebFlux is on the classpath or a regularApplicationContextotherwise. - MOCK_PROPERTIES_PROPERTY_SOURCE_NAME - 类中的静态变量 cn.taketoday.mock.env.MockPropertySource
-
"mockProperties" is the default name for
MockPropertySourceinstances not otherwise given an explicit name. - MOCK_SERVER_CONTAINER_CONTEXT_CUSTOMIZER_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- MockAsyncContext - cn.taketoday.mock.web中的类
-
Mock implementation of the
AsyncContextinterface. - MockAsyncContext(ServletRequest, ServletResponse) - 类的构造器 cn.taketoday.mock.web.MockAsyncContext
- MockBean - cn.taketoday.framework.test.mock.mockito中的Annotation Interface
-
Annotation that can be used to add mocks to a Infra
ApplicationContext. - MockBeans - cn.taketoday.framework.test.mock.mockito中的Annotation Interface
-
Container annotation that aggregates several
@MockBeanannotations. - MockBodyContent - cn.taketoday.mock.web中的类
-
Mock implementation of the
BodyContentclass. - MockBodyContent(String, HttpServletResponse) - 类的构造器 cn.taketoday.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockBodyContent(String, HttpServletResponse, Writer) - 类的构造器 cn.taketoday.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockBodyContent(String, Writer) - 类的构造器 cn.taketoday.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockClientHttpRequest - cn.taketoday.mock.http.client中的类
-
Mock implementation of
ClientHttpRequest. - MockClientHttpRequest - cn.taketoday.mock.http.client.reactive中的类
-
Mock implementation of
ClientHttpRequest. - MockClientHttpRequest() - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpRequest
-
Default constructor.
- MockClientHttpRequest(HttpMethod, String, Object...) - 类的构造器 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- MockClientHttpRequest(HttpMethod, URI) - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpRequest
-
Create an instance with the given HttpMethod and URI.
- MockClientHttpRequest(HttpMethod, URI) - 类的构造器 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- MockClientHttpRequestFactory() - 类的构造器 cn.taketoday.test.web.client.MockRestServiceServer.MockClientHttpRequestFactory
- MockClientHttpResponse - cn.taketoday.mock.http.client中的类
-
Mock implementation of
ClientHttpResponse. - MockClientHttpResponse - cn.taketoday.mock.http.client.reactive中的类
-
Mock implementation of
ClientHttpResponse. - MockClientHttpResponse(byte[], int) - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpResponse
-
Variant of
MockClientHttpResponse(byte[], HttpStatusCode)with a custom HTTP status code. - MockClientHttpResponse(byte[], HttpStatusCode) - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpResponse
-
Constructor with response body as a byte array.
- MockClientHttpResponse(int) - 类的构造器 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- MockClientHttpResponse(HttpStatusCode) - 类的构造器 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- MockClientHttpResponse(InputStream, int) - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpResponse
-
Variant of
MockClientHttpResponse(InputStream, HttpStatusCode)with a custom HTTP status code. - MockClientHttpResponse(InputStream, HttpStatusCode) - 类的构造器 cn.taketoday.mock.http.client.MockClientHttpResponse
-
Constructor with response body as InputStream.
- MockCookie - cn.taketoday.mock.web中的类
-
Extension of
Cookiewith extra attributes, as defined in RFC 6265. - MockCookie(String, String) - 类的构造器 cn.taketoday.mock.web.MockCookie
-
Construct a new
MockCookiewith the supplied name and value. - MockDefinition - cn.taketoday.framework.test.mock.mockito中的类
-
A complete definition that can be used to create a Mockito mock.
- MockDefinition(String, ResolvableType, Class<?>[], Answers, boolean, MockReset, QualifierDefinition) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockDefinition
- MockEnvironment - cn.taketoday.mock.env中的类
-
Simple
ConfigurableEnvironmentimplementation exposingMockEnvironment.setProperty(String, String)andMockEnvironment.withProperty(String, String)methods for testing purposes. - MockEnvironment() - 类的构造器 cn.taketoday.mock.env.MockEnvironment
-
Create a new
MockEnvironmentwith a singleMockPropertySource. - MockFilterChain - cn.taketoday.mock.web中的类
-
Mock implementation of the
FilterChaininterface. - MockFilterChain() - 类的构造器 cn.taketoday.mock.web.MockFilterChain
-
Register a single do-nothing
Filterimplementation. - MockFilterChain(Servlet) - 类的构造器 cn.taketoday.mock.web.MockFilterChain
-
Create a FilterChain with a Servlet.
- MockFilterChain(Servlet, Filter...) - 类的构造器 cn.taketoday.mock.web.MockFilterChain
-
Create a
FilterChainwith Filter's and a Servlet. - MockFilterChain.ServletFilterProxy - cn.taketoday.mock.web中的类
-
A filter that simply delegates to a Servlet.
- MockFilterConfig - cn.taketoday.mock.web中的类
-
Mock implementation of the
FilterConfiginterface. - MockFilterConfig() - 类的构造器 cn.taketoday.mock.web.MockFilterConfig
-
Create a new MockFilterConfig with a default
MockServletContext. - MockFilterConfig(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockFilterConfig
-
Create a new MockFilterConfig.
- MockFilterConfig(ServletContext, String) - 类的构造器 cn.taketoday.mock.web.MockFilterConfig
-
Create a new MockFilterConfig.
- MockFilterConfig(String) - 类的构造器 cn.taketoday.mock.web.MockFilterConfig
-
Create a new MockFilterConfig with a default
MockServletContext. - MockHttpInputMessage - cn.taketoday.mock.http中的类
-
Mock implementation of
HttpInputMessage. - MockHttpInputMessage(byte[]) - 类的构造器 cn.taketoday.mock.http.MockHttpInputMessage
- MockHttpInputMessage(InputStream) - 类的构造器 cn.taketoday.mock.http.MockHttpInputMessage
- MockHttpOutputMessage - cn.taketoday.mock.http中的类
-
Mock implementation of
HttpOutputMessage. - MockHttpOutputMessage() - 类的构造器 cn.taketoday.mock.http.MockHttpOutputMessage
- MockHttpServletMapping - cn.taketoday.mock.web中的类
-
Mock implementation of
HttpServletMapping. - MockHttpServletMapping(String, String, String, MappingMatch) - 类的构造器 cn.taketoday.mock.web.MockHttpServletMapping
- MockHttpServletRequest - cn.taketoday.mock.web中的类
-
Mock implementation of the
HttpServletRequestinterface. - MockHttpServletRequest() - 类的构造器 cn.taketoday.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequestwith a defaultMockServletContext. - MockHttpServletRequest(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequestwith the suppliedServletContext. - MockHttpServletRequest(ServletContext, String, String) - 类的构造器 cn.taketoday.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequestwith the suppliedServletContext,method, andrequestURI. - MockHttpServletRequest(String, String) - 类的构造器 cn.taketoday.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequestwith a defaultMockServletContext. - MockHttpServletRequestBuilder - cn.taketoday.test.web.servlet.request中的类
-
Default builder for
MockHttpServletRequestrequired as input to perform requests inMockMvc. - MockHttpServletRequestBuilder(HttpMethod, String, Object...) - 类的构造器 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Package private constructor.
- MockHttpServletRequestBuilder(HttpMethod, URI) - 类的构造器 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Alternative to
MockHttpServletRequestBuilder(HttpMethod, String, Object...)with a pre-built URI. - MockHttpServletRequestBuilder(String, URI) - 类的构造器 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Alternative constructor for custom HTTP methods.
- MockHttpServletResponse - cn.taketoday.mock.web中的类
-
Mock implementation of the
HttpServletResponseinterface. - MockHttpServletResponse() - 类的构造器 cn.taketoday.mock.web.MockHttpServletResponse
- MockHttpServletResponse.ResponsePrintWriter - cn.taketoday.mock.web中的类
-
Inner class that adapts the PrintWriter to mark the response as committed once the buffer size is exceeded.
- MockHttpServletResponse.ResponseServletOutputStream - cn.taketoday.mock.web中的类
-
Inner class that adapts the ServletOutputStream to mark the response as committed once the buffer size is exceeded.
- MockHttpSession - cn.taketoday.mock.web中的类
-
Mock implementation of the
HttpSessioninterface. - MockHttpSession() - 类的构造器 cn.taketoday.mock.web.MockHttpSession
-
Create a new MockHttpSession with a default
MockServletContext. - MockHttpSession(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockHttpSession
-
Create a new MockHttpSession.
- MockHttpSession(ServletContext, String) - 类的构造器 cn.taketoday.mock.web.MockHttpSession
-
Create a new MockHttpSession.
- MOCKITO_IS_PRESENT - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- MockitoAnnotationCollection() - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoAnnotationCollection
- mockitoBeans - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- MockitoBeans - cn.taketoday.framework.test.mock.mockito中的类
-
Beans created using
- MockitoBeans() - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoBeans
- MockitoContextCustomizer - cn.taketoday.framework.test.mock.mockito中的类
-
A
ContextCustomizerto add Mockito support. - MockitoContextCustomizer(Set<? extends Definition>) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizer
- MockitoContextCustomizerFactory - cn.taketoday.framework.test.mock.mockito中的类
-
A
ContextCustomizerFactoryto add Mockito support. - MockitoContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizerFactory
- MockitoField(Field, Object, Definition) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoField
- mockitoPostProcessor - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- MockitoPostProcessor - cn.taketoday.framework.test.mock.mockito中的类
- MockitoPostProcessor(Set<Definition>) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
-
Create a new
MockitoPostProcessorinstance with the given initial definitions. - MockitoPostProcessor.SpyPostProcessor - cn.taketoday.framework.test.mock.mockito中的类
-
BeanPostProcessorto handleSpyBeandefinitions. - MockitoTestExecutionListener - cn.taketoday.framework.test.mock.mockito中的类
- MockitoTestExecutionListener() - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- MockitoTestExecutionListener.MockitoAnnotationCollection - cn.taketoday.framework.test.mock.mockito中的类
-
ReflectionUtils.FieldCallbackto collect Mockito annotations. - MockitoTestExecutionListener.MockitoField - cn.taketoday.framework.test.mock.mockito中的类
- MockJspWriter - cn.taketoday.mock.web中的类
-
Mock implementation of the
JspWriterclass. - MockJspWriter(HttpServletResponse) - 类的构造器 cn.taketoday.mock.web.MockJspWriter
-
Create a MockJspWriter for the given response, using the response's default Writer.
- MockJspWriter(HttpServletResponse, Writer) - 类的构造器 cn.taketoday.mock.web.MockJspWriter
-
Create a MockJspWriter for the given response.
- MockJspWriter(Writer) - 类的构造器 cn.taketoday.mock.web.MockJspWriter
-
Create a MockJspWriter for the given plain Writer.
- MockMultipartFile - cn.taketoday.mock.web中的类
-
Mock implementation of the
MultipartFileinterface. - MockMultipartFile(String, byte[]) - 类的构造器 cn.taketoday.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, InputStream) - 类的构造器 cn.taketoday.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, String, String, byte[]) - 类的构造器 cn.taketoday.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, String, String, InputStream) - 类的构造器 cn.taketoday.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartHttpServletRequest - cn.taketoday.mock.web中的类
-
Mock implementation of the
MultipartRequestinterface. - MockMultipartHttpServletRequest() - 类的构造器 cn.taketoday.mock.web.MockMultipartHttpServletRequest
-
Create a new
MockMultipartHttpServletRequestwith a defaultMockServletContext. - MockMultipartHttpServletRequest(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockMultipartHttpServletRequest
-
Create a new
MockMultipartHttpServletRequestwith the suppliedServletContext. - MockMultipartHttpServletRequestBuilder - cn.taketoday.test.web.servlet.request中的类
-
Default builder for
MockMultipartHttpServletRequest. - MockMultipartHttpServletRequestBuilder(HttpMethod, String, Object...) - 类的构造器 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Variant of
MockMultipartHttpServletRequestBuilder(String, Object...)that also accepts anHttpMethod. - MockMultipartHttpServletRequestBuilder(HttpMethod, URI) - 类的构造器 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
- MockMultipartHttpServletRequestBuilder(String, Object...) - 类的构造器 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Package-private constructor.
- MockMultipartHttpServletRequestBuilder(URI) - 类的构造器 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Variant of
MockMultipartHttpServletRequestBuilder(String, Object...)with aURI. - mockMvc - 类中的变量 cn.taketoday.test.web.client.MockMvcClientHttpRequestFactory
- mockMvc - 类中的变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- mockMvc - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- mockMvc - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
- MockMvc - cn.taketoday.test.web.servlet中的类
-
Main entry point for server-side Web MVC test support.
- MockMvc(TestDispatcherServlet, Filter...) - 类的构造器 cn.taketoday.test.web.servlet.MockMvc
-
Private constructor, not for direct instantiation.
- mockMvcBuilder - 类中的变量 cn.taketoday.test.web.servlet.client.ApplicationContextMockMvcSpec
- mockMvcBuilder - 类中的变量 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- MockMvcBuilder - cn.taketoday.test.web.servlet中的接口
-
Builds a
MockMvcinstance. - MockMvcBuilders - cn.taketoday.test.web.servlet.setup中的类
-
The main class to import in order to access all available
MockMvcBuilders. - MockMvcBuilders() - 类的构造器 cn.taketoday.test.web.servlet.setup.MockMvcBuilders
- MockMvcBuilderSupport - cn.taketoday.test.web.servlet中的类
-
Base class for MockMvc builder implementations, providing the capability to create a
MockMvcinstance. - MockMvcBuilderSupport() - 类的构造器 cn.taketoday.test.web.servlet.MockMvcBuilderSupport
- MockMvcClientHttpRequestFactory - cn.taketoday.test.web.client中的类
-
A
ClientHttpRequestFactoryfor requests executed viaMockMvc. - MockMvcClientHttpRequestFactory(MockMvc) - 类的构造器 cn.taketoday.test.web.client.MockMvcClientHttpRequestFactory
- MockMvcConfigurer - cn.taketoday.test.web.servlet.setup中的接口
-
Contract for customizing a
ConfigurableMockMvcBuilderin some specific way, e.g. a 3rd party library that wants to provide shortcuts for setting up a MockMvc. - MockMvcConfigurerAdapter - cn.taketoday.test.web.servlet.setup中的类
-
An empty method implementation of
MockMvcConfigurer. - MockMvcConfigurerAdapter() - 类的构造器 cn.taketoday.test.web.servlet.setup.MockMvcConfigurerAdapter
- MockMvcFilterDecorator - cn.taketoday.test.web.servlet.setup中的类
-
A Filter that invokes a delegate
Filteronly if the request URL matches the pattern it is mapped to using pattern matching as defined in the Servlet spec. - MockMvcFilterDecorator(Filter, String[]) - 类的构造器 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
-
Create instance with URL patterns only.
- MockMvcFilterDecorator(Filter, String, Map<String, String>, EnumSet<DispatcherType>, String...) - 类的构造器 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
-
Create instance with init parameters to initialize the filter with, as well as dispatcher types and URL patterns to match.
- MockMvcHtmlUnitDriverBuilder - cn.taketoday.test.web.servlet.htmlunit.webdriver中的类
-
MockMvcHtmlUnitDriverBuildersimplifies the building of anHtmlUnitDriverthat delegates toMockMvcand optionally delegates to an actual connection for specific requests. - MockMvcHtmlUnitDriverBuilder(MockMvc) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHtmlUnitDriverBuilder(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHtmlUnitDriverBuilder(WebApplicationContext, MockMvcConfigurer) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHttpConnector - cn.taketoday.test.web.servlet.client中的类
-
Connector that handles requests by invoking a
MockMvcrather than making actual requests over HTTP. - MockMvcHttpConnector(MockMvc) - 类的构造器 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- MockMvcHttpConnector(MockMvc, List<RequestPostProcessor>) - 类的构造器 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- MockMvcHttpConnector.MockMvcServerClientHttpResponse - cn.taketoday.test.web.servlet.client中的类
- MockMvcHttpConnector.PrintingMvcResult - cn.taketoday.test.web.servlet.client中的类
- MockMvcRequestBuilders - cn.taketoday.test.web.servlet.request中的类
-
Static factory methods for
RequestBuilders. - MockMvcRequestBuilders() - 类的构造器 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
- MockMvcResultHandlers - cn.taketoday.test.web.servlet.result中的类
-
Static factory methods for
ResultHandler-based result actions. - MockMvcResultHandlers() - 类的构造器 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
- MockMvcResultHandlers.LoggingResultHandler - cn.taketoday.test.web.servlet.result中的类
- MockMvcResultHandlers.PrintWriterPrintingResultHandler - cn.taketoday.test.web.servlet.result中的类
-
A
PrintingResultHandlerthat writes to aPrintWriter. - MockMvcResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Static factory methods for
ResultMatcher-based result actions. - MockMvcResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
- MockMvcServerClientHttpResponse(MvcResult) - 类的构造器 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.MockMvcServerClientHttpResponse
- mockMvcSetup(MockMvc) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
-
Create a new
MockMvcWebClientBuilderbased on the suppliedMockMvcinstance. - mockMvcSetup(MockMvc) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Create a new
MockMvcHtmlUnitDriverBuilderbased on the suppliedMockMvcinstance. - MockMvcWebClientBuilder - cn.taketoday.test.web.servlet.htmlunit中的类
-
MockMvcWebClientBuildersimplifies the creation of an HtmlUnitWebClientthat delegates to aMockMvcinstance. - MockMvcWebClientBuilder(MockMvc) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebClientBuilder(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebClientBuilder(WebApplicationContext, MockMvcConfigurer) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebConnection - cn.taketoday.test.web.servlet.htmlunit中的类
- MockMvcWebConnection(MockMvc, WebClient) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
-
Create a new instance that assumes the context path of the application is
""(i.e., the root context). - MockMvcWebConnection(MockMvc, WebClient, String) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
-
Create a new instance with the specified context path.
- MockMvcWebConnectionBuilderSupport<T extends MockMvcWebConnectionBuilderSupport<T>> - cn.taketoday.test.web.servlet.htmlunit中的类
-
Support class that simplifies the creation of a
WebConnectionthat usesMockMvcand optionally delegates to a realWebConnectionfor specific requests. - MockMvcWebConnectionBuilderSupport(MockMvc) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
MockMvcinstance. - MockMvcWebConnectionBuilderSupport(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
WebApplicationContext. - MockMvcWebConnectionBuilderSupport(WebApplicationContext, MockMvcConfigurer) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
WebApplicationContextandMockMvcConfigurer. - MockMvcWebTestClient - cn.taketoday.test.web.servlet.client中的接口
-
The main class for testing Web MVC applications via
WebTestClientwithMockMvcfor server request handling. - MockMvcWebTestClient.ControllerSpec - cn.taketoday.test.web.servlet.client中的接口
-
Specification for configuring
MockMvcto test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder. - MockMvcWebTestClient.MockMvcServerSpec<B extends MockMvcWebTestClient.MockMvcServerSpec<B>> - cn.taketoday.test.web.servlet.client中的接口
-
Base specification for configuring
MockMvc, and a simple facade aroundConfigurableMockMvcBuilder. - MockPageContext - cn.taketoday.mock.web中的类
-
Mock implementation of the
PageContextinterface. - MockPageContext() - 类的构造器 cn.taketoday.mock.web.MockPageContext
-
Create new MockPageContext with a default
MockServletContext,MockHttpServletRequest,MockHttpServletResponse,MockServletConfig. - MockPageContext(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockPageContext
-
Create new MockPageContext with a default
MockHttpServletRequest,MockHttpServletResponse,MockServletConfig. - MockPageContext(ServletContext, HttpServletRequest) - 类的构造器 cn.taketoday.mock.web.MockPageContext
-
Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.
- MockPageContext(ServletContext, HttpServletRequest, HttpServletResponse) - 类的构造器 cn.taketoday.mock.web.MockPageContext
-
Create new MockPageContext with a MockServletConfig.
- MockPageContext(ServletContext, HttpServletRequest, HttpServletResponse, ServletConfig) - 类的构造器 cn.taketoday.mock.web.MockPageContext
-
Create new MockServletConfig.
- MockPart - cn.taketoday.mock.web中的类
-
Mock implementation of
jakarta.servlet.http.Part. - MockPart(String, byte[]) - 类的构造器 cn.taketoday.mock.web.MockPart
-
Constructor for a part with byte[] content only.
- MockPart(String, String, byte[]) - 类的构造器 cn.taketoday.mock.web.MockPart
-
Constructor for a part with a filename and byte[] content.
- MockPropertySource - cn.taketoday.mock.env中的类
-
Simple
PropertySourceimplementation for use in testing. - MockPropertySource() - 类的构造器 cn.taketoday.mock.env.MockPropertySource
-
Create a new
MockPropertySourcenamed "mockProperties" that will maintain its own internalPropertiesinstance. - MockPropertySource(String) - 类的构造器 cn.taketoday.mock.env.MockPropertySource
-
Create a new
MockPropertySourcewith the given name that will maintain its own internalPropertiesinstance. - MockPropertySource(String, Properties) - 类的构造器 cn.taketoday.mock.env.MockPropertySource
-
Create a new
MockPropertySourcewith the given name and backed by the givenPropertiesobject. - MockPropertySource(Properties) - 类的构造器 cn.taketoday.mock.env.MockPropertySource
- mockRequest - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- MockRequestDispatcher - cn.taketoday.mock.web中的类
-
Mock implementation of the
RequestDispatcherinterface. - MockRequestDispatcher(String) - 类的构造器 cn.taketoday.mock.web.MockRequestDispatcher
-
Create a new MockRequestDispatcher for the given resource.
- MockReset - cn.taketoday.framework.test.mock.mockito中的Enum Class
-
Reset strategy used on a mock bean.
- MockReset() - enum class的构造器 cn.taketoday.framework.test.mock.mockito.MockReset
- MockReset.ResetInvocationListener - cn.taketoday.framework.test.mock.mockito中的类
-
Dummy
InvocationListenerused to hold theMockResetvalue. - mockResponse - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- MockRestRequestMatchers - cn.taketoday.test.web.client.match中的类
-
Static factory methods for
RequestMatcherclasses. - MockRestRequestMatchers() - 类的构造器 cn.taketoday.test.web.client.match.MockRestRequestMatchers
- MockRestResponseCreators - cn.taketoday.test.web.client.response中的类
-
Static factory methods for obtaining a
ResponseCreatorinstance. - MockRestResponseCreators() - 类的构造器 cn.taketoday.test.web.client.response.MockRestResponseCreators
- MockRestServiceServer - cn.taketoday.test.web.client中的类
-
Main entry point for client-side REST testing.
- MockRestServiceServer(RequestExpectationManager) - 类的构造器 cn.taketoday.test.web.client.MockRestServiceServer
-
Private constructor with
RequestExpectationManager. - MockRestServiceServer.AbstractMockRestServiceServerBuilder - cn.taketoday.test.web.client中的类
- MockRestServiceServer.MockClientHttpRequestFactory - cn.taketoday.test.web.client中的类
-
Mock ClientHttpRequestFactory that creates requests by iterating over the list of expected
DefaultRequestExpectation's. - MockRestServiceServer.MockRestServiceServerBuilder - cn.taketoday.test.web.client中的接口
-
Builder to create a
MockRestServiceServer. - MockRestServiceServer.RestClientMockRestServiceServerBuilder - cn.taketoday.test.web.client中的类
- MockRestServiceServer.RestTemplateMockRestServiceServerBuilder - cn.taketoday.test.web.client中的类
- MOCKS_ATTRIBUTE_NAME - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- MockServerClientHttpResponse - cn.taketoday.test.web.reactive.server中的接口
-
Simple
ClientHttpResponseextension that also exposes a result object from the underlying mock server exchange for further assertions on the state of the server response after the request is performed. - MockServerConfigurer - cn.taketoday.test.web.reactive.server中的接口
-
Contract that frameworks or applications can use to pre-package a set of customizations to a
WebTestClient.MockServerSpecand expose that as a shortcut. - MockServerContainer - cn.taketoday.test.context.web.socket中的类
-
Mock implementation of the
ServerContainerinterface. - MockServerContainer() - 类的构造器 cn.taketoday.test.context.web.socket.MockServerContainer
- MockServerContainerContextCustomizer - cn.taketoday.test.context.web.socket中的类
-
ContextCustomizerthat instantiates a newMockServerContainerand stores it in theServletContextunder the attribute named"jakarta.websocket.server.ServerContainer". - MockServerContainerContextCustomizer() - 类的构造器 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizer
- MockServerContainerContextCustomizerFactory - cn.taketoday.test.context.web.socket中的类
-
ContextCustomizerFactorywhich creates aMockServerContainerContextCustomizerif WebSocket support is present in the classpath and the test class is annotated with@WebAppConfiguration. - MockServerContainerContextCustomizerFactory() - 类的构造器 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- MockServerHttpRequest - cn.taketoday.mock.http.server.reactive中的类
-
Mock extension of
AbstractServerHttpRequestfor use in tests without an actual server. - MockServerHttpRequest(HttpMethod, URI, String, HttpHeaders, MultiValueMap<String, HttpCookie>, InetSocketAddress, InetSocketAddress, SslInfo, Publisher<? extends DataBuffer>) - 类的构造器 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- MockServerHttpRequest.BaseBuilder<B extends MockServerHttpRequest.BaseBuilder<B>> - cn.taketoday.mock.http.server.reactive中的接口
-
Request builder exposing properties not related to the body.
- MockServerHttpRequest.BodyBuilder - cn.taketoday.mock.http.server.reactive中的接口
-
A builder that adds a body to the request.
- MockServerHttpRequest.DefaultBodyBuilder - cn.taketoday.mock.http.server.reactive中的类
- MockServerHttpResponse - cn.taketoday.mock.http.server.reactive中的类
-
Mock extension of
AbstractServerHttpResponsefor use in tests without an actual server. - MockServerHttpResponse() - 类的构造器 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- MockServerHttpResponse(DataBufferFactory) - 类的构造器 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- MockServerRestTemplateCustomizer - cn.taketoday.framework.test.web.client中的类
-
RestTemplateCustomizerthat can be applied to aRestTemplateBuilderinstances to addMockRestServiceServersupport. - MockServerRestTemplateCustomizer() - 类的构造器 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- MockServerRestTemplateCustomizer(Class<? extends RequestExpectationManager>) - 类的构造器 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
-
Crate a new
MockServerRestTemplateCustomizerinstance. - MockServerRestTemplateCustomizer(Supplier<? extends RequestExpectationManager>) - 类的构造器 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
-
Crate a new
MockServerRestTemplateCustomizerinstance. - mockServerResult - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- MockServletConfig - cn.taketoday.mock.web中的类
-
Mock implementation of the
ServletConfiginterface. - MockServletConfig() - 类的构造器 cn.taketoday.mock.web.MockServletConfig
-
Create a new MockServletConfig with a default
MockServletContext. - MockServletConfig(ServletContext) - 类的构造器 cn.taketoday.mock.web.MockServletConfig
-
Create a new MockServletConfig.
- MockServletConfig(ServletContext, String) - 类的构造器 cn.taketoday.mock.web.MockServletConfig
-
Create a new MockServletConfig.
- MockServletConfig(String) - 类的构造器 cn.taketoday.mock.web.MockServletConfig
-
Create a new MockServletConfig with a default
MockServletContext. - MockServletContext - cn.taketoday.mock.web中的类
-
Mock implementation of the
ServletContextinterface. - MockServletContext() - 类的构造器 cn.taketoday.mock.web.MockServletContext
-
Create a new
MockServletContext, using no base path and aDefaultResourceLoader(i.e. the classpath root as WAR root). - MockServletContext(ResourceLoader) - 类的构造器 cn.taketoday.mock.web.MockServletContext
-
Create a new
MockServletContext, using the specifiedResourceLoaderand no base path. - MockServletContext(String) - 类的构造器 cn.taketoday.mock.web.MockServletContext
-
Create a new
MockServletContext, using aDefaultResourceLoader. - MockServletContext(String, ResourceLoader) - 类的构造器 cn.taketoday.mock.web.MockServletContext
-
Create a new
MockServletContextusing the supplied resource base path and resource loader. - MockSessionCookieConfig - cn.taketoday.mock.web中的类
-
Mock implementation of the
SessionCookieConfiginterface. - MockSessionCookieConfig() - 类的构造器 cn.taketoday.mock.web.MockSessionCookieConfig
- MockWebResponseBuilder - cn.taketoday.test.web.servlet.htmlunit中的类
-
Builder used internally to create
WebResponses. - MockWebResponseBuilder(long, WebRequest, MockHttpServletResponse) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- model() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to model-related assertions.
- MODEL_AND_VIEW_ATTRIBUTE - 接口中的静态变量 cn.taketoday.test.web.servlet.MvcResult
- modelAndView - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- ModelAndViewAssert - cn.taketoday.test.web中的类
-
A collection of assertions intended to simplify testing scenarios dealing with Infra Web MVC
ModelAndViewobjects. - ModelAndViewAssert() - 类的构造器 cn.taketoday.test.web.ModelAndViewAssert
- ModelResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the model.
- ModelResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Protected constructor.
- modifyLocations(Class<?>, String...) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Generate a modified version of the supplied locations array and return it.
- modifyLocations(Class<?>, String...) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
AnnotationConfigContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - modifyLocations(Class<?>, String...) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
AnnotationConfigWebContextLoadershould be used as aSmartContextLoader, not as a legacyContextLoader. - modifyParameterResolvingRegistry(ParameterResolvingRegistry) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- modifyReturnValueHandlerManager(ReturnValueHandlerManager) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- modifyWebClient(WebClient) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Modify the supplied
WebClientand retain a reference to it so that itsWebConnectionis accessible for later use. - modifyWebClientInternal(WebClient) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Modify the supplied
WebClient. - monitor - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- multipart(HttpMethod, String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Variant of
MockMvcRequestBuilders.multipart(String, Object...)that also accepts anHttpMethod. - multipart(HttpMethod, URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
- multipart(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockMultipartHttpServletRequestBuilderfor a multipart request, using POST as the HTTP method. - multipart(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Variant of
MockMvcRequestBuilders.multipart(String, Object...)with aURI. - MULTIPART_READER - 类中的静态变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- multipartData - 类中的变量 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- multipartData() - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- multipartData(MultiValueMap<String, ?>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the body as multipart data and assert it contains exactly the values from the given
MultiValueMap. - multipartData(MultiValueMap<String, ?>, boolean) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
- multipartData(String) - 类中的方法 cn.taketoday.mock.web.MockMultipartHttpServletRequest
- multipartDataContains(Map<String, ?>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Variant of
ContentRequestMatchers.multipartData(MultiValueMap)that does the same but only for a subset of the actual values. - MultipartHelper() - 类的构造器 cn.taketoday.test.web.client.match.ContentRequestMatchers.MultipartHelper
- MULTIPLIER - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.Definition
- MULTIPLIER - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.MockDefinition
- MULTIPLIER - 类中的静态变量 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- mutate() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- mutate() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Return a builder to mutate properties of this web test client.
- mutateWith(WebTestClientConfigurer) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- mutateWith(WebTestClientConfigurer) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Mutate the
WebTestClient, apply the given configurer, and build a new instance. - MVC_RESULT_ATTRIBUTE - 类中的静态变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- mvcContentNegotiationManager() - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- mvcConversionService() - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- mvcResult - 类中的变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.MockMvcServerClientHttpResponse
- mvcResult - 类中的变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- MvcResult - cn.taketoday.test.web.servlet中的接口
-
Provides access to the result of an executed request.
- MvcResultProcessingInterceptor() - 类的构造器 cn.taketoday.test.web.servlet.TestDispatcherServlet.MvcResultProcessingInterceptor
- mvcValidator() - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
N
- name - 类中的变量 cn.taketoday.framework.test.mock.mockito.Definition
- name - 类中的变量 cn.taketoday.mock.web.MockMultipartFile
- name - 类中的变量 cn.taketoday.mock.web.MockPart
- name - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- name - 类中的变量 cn.taketoday.test.context.ContextConfigurationAttributes
- name - 类中的变量 cn.taketoday.test.context.transaction.TestContextTransactionUtils.TestContextTransactionAttribute
- name - 类中的变量 cn.taketoday.test.util.TestPropertyValues.Pair
- name() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
The name of the bean to register or replace.
- name() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBean
-
The name of the bean to spy.
- name() - annotation interface 中的元素 cn.taketoday.test.annotation.IfProfileValue
-
The
nameof the profile value against which to test. - name() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
The name of the context hierarchy level represented by this configuration.
- name() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.name(). - name() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.name(). - name(SmartContextLoader) - 类中的静态方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- name(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ViewResultMatchers
-
Assert the selected view name.
- name(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.ViewResultMatchers
-
Assert the selected view name with the given Hamcrest
Matcher. - namedRequestDispatchers - 类中的变量 cn.taketoday.mock.web.MockServletContext
- NestedTestConfiguration - cn.taketoday.test.context中的Annotation Interface
-
@NestedTestConfigurationis a type-level annotation that is used to configure how Infra test configuration annotations are processed within enclosing class hierarchies (i.e., for inner test classes). - NestedTestConfiguration.EnclosingConfiguration - cn.taketoday.test.context中的Enum Class
-
Enumeration of modes that dictate how test configuration from enclosing classes is processed for inner test classes.
- never() - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
No calls expected at all, i.e. min=0 and max=0.
- newDateFormat() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- newInstance(AbstractApplicationContextRunner.RunnerConfiguration<C>) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- newLine() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- newLine() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- next - 类中的变量 cn.taketoday.test.context.junit4.rules.InfraClassRule.TestContextManagerCacheEvictor
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.FailOnTimeout
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.ProfileValueChecker
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RepeatTest
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestClassCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestClassCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
- next - 类中的变量 cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
- next() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
-
Find the next
TestContextAnnotationUtils.AnnotationDescriptorfor the specified annotation type in the hierarchy above the root declaring class of this descriptor. - next() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
-
Find the next
TestContextAnnotationUtils.UntypedAnnotationDescriptorfor the specified annotation types in the hierarchy above the root declaring class of this descriptor. - nextFilterChain - 类中的变量 cn.taketoday.mock.web.PassThroughFilterChain
- nextId - 类中的静态变量 cn.taketoday.mock.web.MockHttpSession
- nextTestContextId() - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- NO_ANCESTORS - enum class 中的枚举常量 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
-
Limited to the current context.
- NO_ARGS - 类中的静态变量 cn.taketoday.framework.test.context.InfraTestArgs
- NO_IMPORTS - 类中的静态变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsSelector
- NO_VIOLATIONS_DETECTED - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
- node(Matcher<? super Node>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the request content as
Nodeand apply the givenMatcher. - node(Matcher<? super Node>) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert it with the given
Matcher<Node>. - node(Matcher<? super Node>) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Parse the response content as
Nodeand apply the given HamcrestMatcher. - node(Matcher<? super Node>) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the
Nodecontent found with the given HamcrestMatcher. - nodeCount(int) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the number of nodes found.
- nodeCount(int) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- nodeCount(int) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the number of nodes found.
- nodeCount(Consumer<Integer>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
-
Consume the count of nodes as result of the XPath evaluation.
- nodeCount(Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the number of nodes found with the given
Matcher<Integer>. - nodeCount(Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- nodeCount(Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the number of nodes found with the given Hamcrest
Matcher. - nodeList(Matcher<? super NodeList>) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the
NodeListcontent found with the given HamcrestMatcher. - NONE - enum class 中的枚举常量 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Creates an
ApplicationContextand setsApplication.setApplicationType(ApplicationType)toApplicationType.NORMAL. - NONE - enum class 中的枚举常量 cn.taketoday.framework.test.mock.mockito.MockReset
-
Don't reset the mock.
- NoOpResponseErrorHandler() - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate.NoOpResponseErrorHandler
- nullSafeClassName(ContextLoader) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
-
Generate a null-safe
Stringrepresentation of the suppliedContextLoaderbased solely on the fully qualified name of the loader or "null" if the supplied loader isnull. - number(Double) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the number value found.
- number(Double) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the
Doublevalue found. - number(Consumer<Double>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
-
Consume the result of the XPath evaluation as a Double.
- number(Matcher<? super Double>) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the number found with the given matcher.
- number(Matcher<? super Double>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- number(Matcher<? super Double>) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Evaluate the XPath and assert the
Doublevalue found with the given HamcrestMatcher.
O
- object - 类中的变量 cn.taketoday.framework.test.json.ObjectContent
- object - 类中的变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- ObjectContent<T> - cn.taketoday.framework.test.json中的类
-
Object content usually created from
AbstractJsonMarshalTester. - ObjectContent(ResolvableType, T) - 类的构造器 cn.taketoday.framework.test.json.ObjectContent
-
Create a new
ObjectContentinstance. - ObjectContentAssert<A> - cn.taketoday.framework.test.json中的类
-
AssertJ
AssertforObjectContent. - ObjectContentAssert(A) - 类的构造器 cn.taketoday.framework.test.json.ObjectContentAssert
- objectMapper - 类中的变量 cn.taketoday.framework.test.json.JacksonTester
- of(ClassPathResource...) - 类中的静态方法 cn.taketoday.framework.test.context.FilteredClassLoader.ClassPathResourceFilter
- of(Class<?>...) - 类中的静态方法 cn.taketoday.framework.test.context.FilteredClassLoader.ClassFilter
- of(Iterable<String>) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValueswith the underlying map populated with the given property pairs. - of(String...) - 类中的静态方法 cn.taketoday.framework.test.context.FilteredClassLoader.PackageFilter
- of(String...) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValueswith the underlying map populated with the given property pairs. - of(String, String) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues.Pair
-
Factory method to create a
TestPropertyValues.Pairfrom a name and value. - of(Map<String, String>) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValueswith the underlying map populated with the given map entries. - of(Stream<String>) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValueswith the underlying map populated with the given property pairs. - of(Stream<T>, Function<T, TestPropertyValues.Pair>) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues
-
Return a new
TestPropertyValueswith the underlying map populated with the given stream. - onApplicationEvent(ApplicationEvent) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsApplicationListener
- onApplicationEvent(ApplicationEnvironmentPreparedEvent) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader.PrepareEnvironmentListener
- onCapture - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- once() - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
Exactly once.
- onVerificationStarted(VerificationStartedEvent) - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition.AopBypassingVerificationStartedListener
- options() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- options() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP OPTIONS request.
- options(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP OPTIONS variant.
- options(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor an OPTIONS request. - options(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor an OPTIONS request. - optionsForAllow(String, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Return the value of the Allow header for the given URI.
- optionsForAllow(String, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Return the value of the Allow header for the given URI.
- optionsForAllow(URI) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Return the value of the Allow header for the given URL.
- original - 类中的变量 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- originalFilename - 类中的变量 cn.taketoday.mock.web.MockMultipartFile
- out - 类中的变量 cn.taketoday.framework.test.system.OutputCapture
- out - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- out - 类中的变量 cn.taketoday.mock.web.MockPageContext
- OUT - enum class 中的枚举常量 cn.taketoday.framework.test.system.OutputCapture.Type
- OutputCapture - cn.taketoday.framework.test.system中的类
-
Provides support for capturing
System.outandSystem.err. - OutputCapture() - 类的构造器 cn.taketoday.framework.test.system.OutputCapture
- OutputCapture.AnsiOutputState - cn.taketoday.framework.test.system中的类
-
Save, disable and restore AnsiOutput without it needing to be on the classpath.
- OutputCapture.CapturedString - cn.taketoday.framework.test.system中的类
-
A captured string that forms part of the full output.
- OutputCapture.OutputStreamCapture - cn.taketoday.framework.test.system中的类
-
An
OutputStreamimplementation that captures written strings. - OutputCapture.PrintStreamCapture - cn.taketoday.framework.test.system中的类
-
A
PrintStreamimplementation that captures written strings. - OutputCapture.SystemCapture - cn.taketoday.framework.test.system中的类
-
A capture session that captures
System.outandSystem.err. - OutputCapture.Type - cn.taketoday.framework.test.system中的Enum Class
-
Types of content that can be captured.
- OutputCaptureExtension - cn.taketoday.framework.test.system中的类
- OutputCaptureExtension() - 类的构造器 cn.taketoday.framework.test.system.OutputCaptureExtension
- OutputCaptureRule - cn.taketoday.framework.test.system中的类
-
JUnit
@Ruleto capture output from System.out and System.err. - OutputCaptureRule() - 类的构造器 cn.taketoday.framework.test.system.OutputCaptureRule
- outputStream - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- outputStreamAccessAllowed - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- OutputStreamCapture(PrintStream, Consumer<String>) - 类的构造器 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
- OVERRIDE - enum class 中的枚举常量 cn.taketoday.test.context.jdbc.SqlMergeMode.MergeMode
-
Indicates that method-level
@Sqldeclarations should override class-level@Sqldeclarations. - OVERRIDE - enum class 中的枚举常量 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
-
Indicates that test configuration for an inner test class should override configuration from its enclosing class.
P
- PackageFilter(String[]) - 类的构造器 cn.taketoday.framework.test.context.FilteredClassLoader.PackageFilter
- Pair(String, String) - 类的构造器 cn.taketoday.test.util.TestPropertyValues.Pair
- param(String, String...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Add a request parameter to
MockHttpServletRequest.getParameterMap(). - parameterResolvingRegistry - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- parameters - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- parameters - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- params(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- params(MultiValueMap<String, String>) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Variant of
MockHttpServletRequestBuilder.param(String, String...)with aMultiValueMap. - parent - 类中的变量 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ParentContextApplicationContextInitializer
- parent - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- parent - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.PrintStreamCapture
- parent - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- parent(MockHttpServletRequest, RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- parentBuilder - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- ParentContextApplicationContextInitializer(ApplicationContext) - 类的构造器 cn.taketoday.framework.test.context.InfraApplicationContextLoader.ParentContextApplicationContextInitializer
- parentPostProcessor - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- parse(byte[]) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom parsing the specific JSON bytes. - parse(MockClientHttpRequest) - 类中的静态方法 cn.taketoday.test.web.client.match.ContentRequestMatchers.MultipartHelper
- parse(Class<?>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- parse(String) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom parsing the specific JSON String. - parse(String) - 类中的静态方法 cn.taketoday.mock.web.MockCookie
-
Factory method that parses the value of the supplied "Set-Cookie" header.
- parse(String) - 类中的静态方法 cn.taketoday.test.util.TestPropertyValues.Pair
- parseDateHeader(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- parseDefinitions(Class<?>, DefinitionsParser) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoContextCustomizerFactory
- parseElement(AnnotatedElement, Class<?>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- parseFormData(MediaType) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- parseMockBeanAnnotation(MockBean, AnnotatedElement, Class<?>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- parseObject(byte[]) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from parsing the specific JSON bytes.
- parseObject(String) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from parsing the specific JSON String.
- parseSpyBeanAnnotation(SpyBean, AnnotatedElement, Class<?>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.DefinitionsParser
- parseXmlByteArray(byte[], String) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
-
Parse the given XML content to a
Document. - parseXmlString(String) - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper
- part(Part...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
-
Add
Partcomponents to the request. - parts - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- parts - 类中的变量 cn.taketoday.test.web.servlet.request.MockMultipartHttpServletRequestBuilder
- PassThroughFilterChain - cn.taketoday.mock.web中的类
-
Implementation of the
FilterConfiginterface which simply passes the call through to a given Filter/FilterChain combination (indicating the next Filter in the chain along with the FilterChain that it is supposed to work on) or to a given Servlet (indicating the end of the chain). - PassThroughFilterChain(Filter, FilterChain) - 类的构造器 cn.taketoday.mock.web.PassThroughFilterChain
-
Create a new PassThroughFilterChain that delegates to the given Filter, calling it with the given FilterChain.
- PassThroughFilterChain(Servlet) - 类的构造器 cn.taketoday.mock.web.PassThroughFilterChain
-
Create a new PassThroughFilterChain that delegates to the given Servlet.
- patch() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- patch() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP PATCH request.
- patch(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP PATCH variant.
- patch(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a PATCH request. - patch(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a PATCH request. - patchForObject(String, Object, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Update a resource by PATCHing the given object to the URI template, and returns the representation found in the response.
- patchForObject(String, Object, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Update a resource by PATCHing the given object to the URI template, and returns the representation found in the response.
- patchForObject(URI, Object, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Update a resource by PATCHing the given object to the URL, and returns the representation found in the response.
- path - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- path(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's path attribute.
- path(String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's path.
- path(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's path attribute with a Hamcrest
Matcher. - path(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's path with a Hamcrest
Matcher. - PATH_MAPPING_PATTERN - 类中的静态变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
- pathHelper - 类中的变量 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- pathInfo - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- pathInfo - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- pathInfo(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Specify the portion of the requestURI that represents the pathInfo.
- pathIsIndefinite() - 类中的方法 cn.taketoday.test.util.JsonPathExpectationsHelper
- pathMatcher - 类中的静态变量 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
- pattern - 类中的变量 cn.taketoday.mock.web.MockHttpServletMapping
- pattern - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.UrlRegexRequestMatcher
- perform(RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
Perform a request and return a type that allows chaining further actions, such as asserting expectations, on the result.
- perform(RequestBuilder) - 接口中的方法 cn.taketoday.test.web.servlet.MockMvcBuilder
-
Perform a request and return a type that allows chaining further actions, such as asserting expectations, on the result.
- performAotProcessing() - 类中的方法 cn.taketoday.test.context.aot.TestAotProcessor
-
Perform ahead-of-time processing of Infra integration test classes.
- PLACEHOLDER_PATTERN - 类中的静态变量 cn.taketoday.test.context.util.TestContextResourceUtils
- placeholderValue(String, Object) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Configure placeholder values to use.
- placeholderValue(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- placeholderValues - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- pop() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Pop the last system capture session from the stack.
- POPULATED_REQUEST_CONTEXT_HOLDER_ATTRIBUTE - 类中的静态变量 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Attribute name for a
TestContextattribute which indicates thatServletTestExecutionListenerhas already populated Infra Web'sRequestContextHolder. - ports(UriComponents, MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- possiblyExpectingExceptions(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Perform the same logic as
BlockJUnit4ClassRunner.possiblyExpectingExceptions(FrameworkMethod, Object, Statement)except that the expected exception is retrieved usingJUnit4ClassRunner.getExpectedException(FrameworkMethod). - post() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- post() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP POST request.
- post(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP POST variant.
- post(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a POST request. - post(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a POST request. - postForEntity(String, Object, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the response as
ResponseEntity. - postForEntity(String, Object, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the response as
HttpEntity. - postForEntity(URI, Object, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the response as
ResponseEntity. - postForLocation(String, Object, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the value of the
Locationheader. - postForLocation(String, Object, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the value of the
Locationheader. - postForLocation(URI, Object) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the value of the
Locationheader. - postForObject(String, Object, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
- postForObject(String, Object, Class<T>, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URI template, and returns the representation found in the response.
- postForObject(URI, Object, Class<T>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new resource by POSTing the given object to the URL, and returns the representation found in the response.
- postProcess(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- postProcess(RequestContext, DeferredResult<T>, Object) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet.MvcResultProcessingInterceptor
- postProcess(RequestContext, Callable<T>, Object) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet.MvcResultProcessingInterceptor
- postProcessAfterInitialization(Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsCleanupPostProcessor
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- postProcessBeanFactory(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsCleanupPostProcessor
- postProcessBeanFactory(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- postProcessBeanFactory(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- postProcessBeanFactory(ConfigurableBeanFactory) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- postProcessBeanFactory(ConfigurableBeanFactory, BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- postProcessEnvironment(ConfigurableEnvironment, Application) - 类中的方法 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- postProcessField(Object, Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- postProcessFields(TestContext, BiConsumer<MockitoTestExecutionListener.MockitoField, MockitoPostProcessor>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- postProcessListeners(List<TestExecutionListener>) - 接口中的方法 cn.taketoday.framework.test.context.TestExecutionListenersPostProcessor
-
Post process the list of default
TestExecutionListenerclasses to be used. - postProcessors - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- postProcessRequest(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.ForwardRequestPostProcessor
- postProcessRequest(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- postProcessRequest(MockHttpServletRequest) - 接口中的方法 cn.taketoday.test.web.servlet.request.RequestPostProcessor
-
Post-process the given
MockHttpServletRequestafter its creation and initialization through aMockHttpServletRequestBuilder. - postProcessRequest(MockHttpServletRequest) - 接口中的方法 cn.taketoday.test.web.servlet.SmartRequestBuilder
-
Apply request post-processing.
- postProcessTestInstance(Object, ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Delegates to
TestContextManager.prepareTestInstance(java.lang.Object). - prefix - 类中的变量 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
- prefix(String) - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Configures the current
JsonPathResultMatchersinstance to verify that the JSON payload is prepended with the given prefix. - PREFIX - 类中的静态变量 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
- prepare(ContextConsumer<? super A>) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Prepare a new
ApplicationContextbased on the current state of this loader. - prepareContext(ConfigurableApplicationContext, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
Prepare the
ConfigurableApplicationContextcreated by thisSmartContextLoaderbefore bean definitions are read. - prepareContext(GenericApplicationContext) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Prepare the
GenericApplicationContextcreated by thisContextLoader. - prepareEnvironment(MergedContextConfiguration, Application, ConfigurableEnvironment, boolean) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- PrepareEnvironmentListener(MergedContextConfiguration) - 类的构造器 cn.taketoday.framework.test.context.InfraApplicationContextLoader.PrepareEnvironmentListener
- prepareForAfterCallback(String, Object, Method, Throwable) - 类中的方法 cn.taketoday.test.context.TestContextManager
- prepareForBeforeCallback(String, Object, Method) - 类中的方法 cn.taketoday.test.context.TestContextManager
- prepareResponse(ServerHttpResponse, ServerHttpRequest) - 类中的方法 cn.taketoday.test.web.reactive.server.HttpHandlerConnector
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.test.context.event.EventPublishingTestExecutionListener
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestExecutionListener
-
The default implementation is empty.
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
Performs dependency injection on the
test instanceof the suppliedtest contextbyautowiringandinitializingthe test instance via its ownapplication context(without checking dependencies). - prepareTestInstance(TestContext) - 接口中的方法 cn.taketoday.test.context.TestExecutionListener
-
Prepares the test instance of the supplied test context — for example, to inject dependencies.
- prepareTestInstance(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Sets up thread-local state during the test instance preparation callback phase via Infra Web's
RequestContextHolder, but only if the test class is annotated with@WebAppConfiguration. - prepareTestInstance(Object) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Hook for preparing a test instance prior to execution of any individual test methods — for example, to inject dependencies.
- PrepareTestInstance - cn.taketoday.test.context.event.annotation中的Annotation Interface
-
@EventListenerannotation used to consume aPrepareTestInstanceEventpublished by theEventPublishingTestExecutionListener. - PrepareTestInstanceEvent - cn.taketoday.test.context.event中的类
-
TestContextEventpublished by theEventPublishingTestExecutionListenerwhenTestExecutionListener.prepareTestInstance(TestContext)is invoked. - PrepareTestInstanceEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.PrepareTestInstanceEvent
- previous - 类中的变量 cn.taketoday.test.util.TestPropertyValues.SystemPropertiesHandler
- principal - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- principal(Principal) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the principal of the request.
- print() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
-
Print
MvcResultdetails to the "standard" output stream. - print(boolean) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(boolean) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(char) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(char) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(char[]) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(char[]) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(double) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(double) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(float) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(float) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(int) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(int) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(long) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(long) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(OutputStream) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
-
Print
MvcResultdetails to the suppliedOutputStream. - print(Writer) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers
- print(Object) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(Object) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- print(String) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- print(String) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- PRINTABLE_MEDIA_TYPES - 类中的静态变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- printAsyncResult(MvcResult) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- printCookies(Cookie[]) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print the supplied cookies in a human-readable form, assuming the
Cookieimplementation does not provide its owntoString(). - printer - 类中的变量 cn.taketoday.test.web.servlet.result.PrintingResultHandler
- printFlashMap(RedirectModel) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print "output" flash attributes.
- printHandler(Object, HandlerInterceptor[]) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print the handler.
- printHeading(String) - 接口中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler.ResultValuePrinter
- PrintingMvcResult(MvcResult) - 类的构造器 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- PrintingResultHandler - cn.taketoday.test.web.servlet.result中的类
-
Result handler that prints
MvcResultdetails to a given output stream — for example:System.out,System.err, a customjava.io.PrintWriter, etc. - PrintingResultHandler(PrintingResultHandler.ResultValuePrinter) - 类的构造器 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Protected constructor.
- PrintingResultHandler.ResultValuePrinter - cn.taketoday.test.web.servlet.result中的接口
-
A contract for how to actually write result information.
- println() - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println() - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(boolean) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(boolean) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(char) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(char) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(char[]) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(char[]) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(double) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(double) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(float) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(float) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(int) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(int) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(long) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(long) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(Object) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(Object) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- println(String) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- println(String) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- printModelAndView(ModelAndView) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print the ModelAndView.
- printRequest(MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print the request.
- printResolvedException(Throwable) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print exceptions resolved through a HandlerExceptionHandler.
- printResponse(MockHttpServletResponse) - 类中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler
-
Print the response.
- PrintStreamCapture(PrintStream, Consumer<String>) - 类的构造器 cn.taketoday.framework.test.system.OutputCapture.PrintStreamCapture
- printValue(String, Object) - 接口中的方法 cn.taketoday.test.web.servlet.result.PrintingResultHandler.ResultValuePrinter
- PrintWriterPrintingResultHandler(PrintWriter) - 类的构造器 cn.taketoday.test.web.servlet.result.MockMvcResultHandlers.PrintWriterPrintingResultHandler
- processActiveProfiles(String[]) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
- processAheadOfTime(RuntimeHints, Class<?>, ClassLoader) - 接口中的方法 cn.taketoday.test.context.aot.AotTestExecutionListener
-
Process the supplied test class ahead-of-time using the given
RuntimeHintsinstance. - processAheadOfTime(RuntimeHints, Class<?>, ClassLoader) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Process the supplied test class and its methods and register run-time hints for any SQL scripts configured or detected as classpath resources via
@Sql. - processAheadOfTime(MergedContextConfiguration, GenerationContext) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Process the specified
MergedContextConfigurationahead-of-time using the specifiedGenerationContext. - processAheadOfTime(MultiValueMap<MergedContextConfiguration, Class<?>>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- processAheadOfTime(Stream<Class<?>>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Process each of the supplied Infra integration test classes and generate AOT artifacts.
- processClasses(Class<?>[]) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
- processContextConfiguration(ContextConfigurationAttributes) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- processContextConfiguration(ContextConfigurationAttributes) - 接口中的方法 cn.taketoday.test.context.SmartContextLoader
-
Process the
ContextConfigurationAttributesfor a given test class. - processContextConfiguration(ContextConfigurationAttributes) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
The default implementation processes locations analogous to
AbstractContextLoader.processLocations(Class, String...), using thedeclaring classas the test class and theresource locationsretrieved from the suppliedconfiguration attributesas the locations to process. - processContextConfiguration(ContextConfigurationAttributes) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
-
Delegates to candidate
SmartContextLoadersto process the suppliedContextConfigurationAttributes. - processContextConfiguration(ContextConfigurationAttributes) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
Process component classes in the supplied
ContextConfigurationAttributes. - processContextConfiguration(ContextConfigurationAttributes) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
Process annotated classes in the supplied
ContextConfigurationAttributes. - processContextCustomizers(Set<ContextCustomizer>) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
- processContextInitializerClasses(Set<Class<? extends ApplicationContextInitializer>>) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
- processCookie(MockHttpServletRequest, List<Cookie>, Cookie) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- processDependencies(PropertyValues, Object, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- processHandlerException(RequestContext, Object, Throwable) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet
- processLoadFailure(ApplicationContext, Throwable) - 接口中的方法 cn.taketoday.test.context.ApplicationContextFailureProcessor
-
Invoked when a failure was encountered while attempting to load an
ApplicationContext. - processLocations(Class<?>, String...) - 接口中的方法 cn.taketoday.test.context.ContextLoader
-
Processes application context resource locations for a specified class.
- processLocations(Class<?>, String...) - 接口中的方法 cn.taketoday.test.context.SmartContextLoader
-
SmartContextLoaderdoes not support deprecatedContextLoadermethods. - processLocations(Class<?>, String...) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
-
If the supplied
locationsarenullor empty andAbstractContextLoader.isGenerateDefaultLocations()returnstrue, default locations will begenerated(i.e., detected) for the specifiedclassand the configured resource suffixes; otherwise, the suppliedlocationswill be modified if necessary and returned. - processLocationsInternal(Class<?>, String...) - 类中的方法 cn.taketoday.test.context.support.AbstractContextLoader
- processMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- processMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Process the supplied, newly instantiated
MergedContextConfigurationinstance. - processMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.WebTestContextBootstrapper
-
Returns a
WebMergedContextConfigurationif the test class in the suppliedMergedContextConfigurationis annotated with@WebAppConfigurationand otherwise returns the supplied instance unmodified. - processPropertySourceProperties(MergedContextConfiguration, List<String>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
-
Post process the property source properties, adding or removing elements as required.
- processStrings(String[]) - 类中的静态方法 cn.taketoday.test.context.MergedContextConfiguration
- profiles() - annotation interface 中的元素 cn.taketoday.test.context.ActiveProfiles
-
The bean definition profiles to activate.
- ProfileValueChecker - cn.taketoday.test.context.junit4.statements中的类
-
ProfileValueCheckeris a custom JUnitStatementthat checks whether a test class or test method is enabled in the current environment via Framework's@IfProfileValueannotation. - ProfileValueChecker(Statement, Class<?>, Method) - 类的构造器 cn.taketoday.test.context.junit4.statements.ProfileValueChecker
-
Construct a new
ProfileValueCheckerstatement. - ProfileValueSource - cn.taketoday.test.annotation中的接口
-
Strategy interface for retrieving profile values for a given testing environment.
- ProfileValueSourceConfiguration - cn.taketoday.test.annotation中的Annotation Interface
-
ProfileValueSourceConfigurationis a class-level annotation for use with JUnit 4 which is used to specify what type ofProfileValueSourceto use when retrieving profile values configured via@IfProfileValue. - ProfileValueUtils - cn.taketoday.test.annotation中的类
-
General utility methods for working with profile values.
- ProfileValueUtils() - 类的构造器 cn.taketoday.test.annotation.ProfileValueUtils
- properties - 类中的变量 cn.taketoday.test.context.support.MergedTestPropertySources
- properties - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- properties - 类中的变量 cn.taketoday.test.util.TestPropertyValues
- properties() - annotation interface 中的元素 cn.taketoday.framework.test.context.InfraTest
-
Properties in form key=value that should be added to the Infra
Environmentbefore the test runs. - properties() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Inlined properties in the form of key-value pairs that should be added to the Infra
Environmentbefore theApplicationContextis loaded for the test. - PROPERTY_SOURCE_NAME - 类中的静态变量 cn.taketoday.test.context.support.DynamicPropertiesContextCustomizer
- PropertyProvider - cn.taketoday.test.context.support中的接口
-
Strategy for providing named properties — for example, for looking up key-value pairs in a generic fashion.
- propertySource - 类中的变量 cn.taketoday.mock.env.MockEnvironment
- propertySourceDescriptors - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- propertySourceLocations - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- propertySourceProperties - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- protocol - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- proxyBeanMethods() - annotation interface 中的元素 cn.taketoday.framework.test.context.TestConfiguration
-
Specify whether
@Beanmethods should get proxied in order to enforce bean lifecycle behavior, e.g. to return shared singleton bean instances even in case of direct@Beanmethod calls in user code. - proxyTargetAware - 类中的变量 cn.taketoday.framework.test.mock.mockito.Definition
- proxyTargetAware() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBean
-
Indicates that Mockito methods such as
verify(mock)should use thetargetof AOP advised beans, rather than the proxy itself. - publicDefineClass(String, byte[], ProtectionDomain) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader
- publisher - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- publisherNested - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- publishEvent(Function<TestContext, ? extends ApplicationEvent>) - 接口中的方法 cn.taketoday.test.context.TestContext
-
Publish the
ApplicationEventcreated by the giveneventFactoryto the application context for this test context. - push() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Push a new system capture session onto the stack.
- put() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- put() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient
-
Prepare an HTTP PUT request.
- put(MergedContextConfiguration, ApplicationContext) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Explicitly add an
ApplicationContextinstance to the cache under the given key, potentially honoring a custom eviction policy. - put(MergedContextConfiguration, ApplicationContext) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Explicitly add an
ApplicationContextinstance to the cache under the given key, potentially honoring a custom eviction policy. - put(Object, Object) - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceUtils.SequencedProperties
- put(String, Object...) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
-
HTTP PUT variant.
- put(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a PUT request. - put(String, Object, Object...) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create or update a resource by PUTting the given object to the URI.
- put(String, Object, Map<String, ?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Creates a new resource by PUTting the given object to URI template.
- put(URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a PUT request. - put(URI, Object) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Creates a new resource by PUTting the given object to URL.
Q
- qualifier - 类中的变量 cn.taketoday.framework.test.mock.mockito.Definition
- QualifierDefinition - cn.taketoday.framework.test.mock.mockito中的类
-
Definition of a Infra
@Qualifier. - QualifierDefinition(Field, Set<Annotation>) - 类的构造器 cn.taketoday.framework.test.mock.mockito.QualifierDefinition
- queryParam(String, Object...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Append the given query parameter to the existing query parameters.
- queryParam(String, Object...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- queryParam(String, String...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert request query parameter values.
- queryParam(String, String...) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Append to the query string and also add to the
request parametersmap. - queryParam(String, Matcher<? super String>...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert request query parameter values with the given Hamcrest matcher(s).
- queryParams - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- queryParams(MultiValueMap<String, String>) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Add the given query parameters and values.
- queryParams(MultiValueMap<String, String>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- queryParams(MultiValueMap<String, String>) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Append to the query string and also add to the
request parametersmap. - queryParamsBuilder - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- queryString - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
R
- RANDOM_PORT - enum class 中的枚举常量 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Creates a web application context (reactive or servlet based) and sets a
server.port=0Environmentproperty (which usually triggers listening on a random port). - range(HttpRange...) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the (new) value of the Range header.
- range(HttpRange...) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- REACTIVE_APPLICATION_CONTEXT_CLASS - 类中的静态变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- ReactiveWebApplicationContextRunner - cn.taketoday.framework.test.context.runner中的类
-
An
ApplicationContext runnerfor aConfigurableReactiveWebApplicationContext. - ReactiveWebApplicationContextRunner() - 类的构造器 cn.taketoday.framework.test.context.runner.ReactiveWebApplicationContextRunner
-
Create a new
ReactiveWebApplicationContextRunnerinstance using aAnnotationConfigReactiveWebApplicationContextas the underlying source. - ReactiveWebApplicationContextRunner(AbstractApplicationContextRunner.RunnerConfiguration<ConfigurableReactiveWebApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.ReactiveWebApplicationContextRunner
- ReactiveWebApplicationContextRunner(Supplier<ConfigurableReactiveWebApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.ReactiveWebApplicationContextRunner
-
Create a new
ApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source. - ReactiveWebMergedContextConfiguration - cn.taketoday.framework.test.context中的类
-
Encapsulates the merged context configuration declared on a test class and all of its superclasses for a reactive web application.
- ReactiveWebMergedContextConfiguration(MergedContextConfiguration) - 类的构造器 cn.taketoday.framework.test.context.ReactiveWebMergedContextConfiguration
- reactorNetty2ClientPresent - 类中的静态变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- reactorNettyClientPresent - 类中的静态变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- read() - 类中的方法 cn.taketoday.framework.test.json.JsonContentAssert.JsonPathValue
- read() - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- read(Resource) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom reading from the specified resource. - read(File) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom reading from the specified file. - read(InputStream) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom reading from the specified input stream. - read(Reader) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom reading from the specified reader. - read(String) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
ObjectContentfrom reading from the specified classpath resource. - readAllBytes(File) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- reader - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- readObject(Resource) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from reading from the specified resource.
- readObject(File) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from reading from the specified file.
- readObject(InputStream) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from reading from the specified input stream.
- readObject(InputStream, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Read from the specified input stream to create an object of the specified type.
- readObject(InputStream, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- readObject(Reader) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from reading from the specified reader.
- readObject(Reader, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Read from the specified reader to create an object of the specified type.
- readObject(Reader, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.GsonTester
- readObject(Reader, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- readObject(Reader, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JsonbTester
- readObject(String) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return the object created from reading from the specified classpath resource.
- reason() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.DisabledIf
-
The reason this test is disabled.
- reason() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.EnabledIf
-
The reason this test is enabled.
- reason(String) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the Servlet response error message.
- reason(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Assert the Servlet response error message with the given Hamcrest
Matcher. - reasonEquals(String) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Assert the response error message.
- RECORD_APPLICATION_EVENTS - 类中的静态变量 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
-
Attribute name for a
TestContextattribute which indicates whether the test class for the given test context is annotated with@RecordApplicationEvents. - RECORD_APPLICATION_EVENTS_VALIDATION_NAMESPACE - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
ExtensionContext.Namespacein which@RecordApplicationEventsvalidation error messages are stored, keyed by test class. - recordApplicationEvents(TestContext) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- RecordApplicationEvents - cn.taketoday.test.context.event中的Annotation Interface
-
@RecordApplicationEventsis a class-level annotation that is used to instruct the Infra TestContext Framework to record all application events that are published in theApplicationContextduring the execution of a single test, either from the test thread or its descendants. - recorder - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- recorder - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpResponse
- redirectedUrl(String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was redirected to the given URL.
- redirectedUrlPattern(String) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was redirected to the given URL.
- redirectedUrlTemplate(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Asserts the request was redirected to the given URL template.
- redirectModelManager - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- ReflectionTestUtils - cn.taketoday.test.util中的类
-
ReflectionTestUtilsis a collection of reflection-based utility methods for use in unit and integration testing scenarios. - ReflectionTestUtils() - 类的构造器 cn.taketoday.test.util.ReflectionTestUtils
- register(ConfigurableBeanFactory, BeanDefinitionRegistry, Definition, Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- register(BeanDefinitionRegistry) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
-
Register the processor with a
BeanDefinitionRegistry. - register(BeanDefinitionRegistry) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- register(BeanDefinitionRegistry, Class<? extends MockitoPostProcessor>, Set<Definition>) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
-
Register the processor with a
BeanDefinitionRegistry. - register(BeanDefinitionRegistry, Set<Definition>) - 类中的静态方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
-
Register the processor with a
BeanDefinitionRegistry. - registerAnnotation(ReflectionHints, Class<? extends Annotation>) - 类中的静态方法 cn.taketoday.test.context.hint.TestContextRuntimeHints
- registerApplicationEvents() - 类中的静态方法 cn.taketoday.test.context.event.ApplicationEventsHolder
-
Register a new
DefaultApplicationEventsinstance to be used for the current thread. - registerApplicationEventsIfNecessary() - 类中的静态方法 cn.taketoday.test.context.event.ApplicationEventsHolder
-
Register a new
DefaultApplicationEventsinstance to be used for the current thread, if necessary. - registerAsyncResultInterceptors(RequestContext) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet
- registerBean(BeanDefinitionRegistry, AnnotatedBeanDefinitionReader, String, Class<?>) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- registerClasspathResourceDirectoryStructure(String, RuntimeHints) - 类中的方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- registerClasspathResources(String[], RuntimeHints, ClassLoader) - 类中的方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- registerClasspathResources(String, String[], RuntimeHints, ClassLoader) - 类中的方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- registerClasspathResources(String, List<String>, RuntimeHints, ClassLoader) - 类中的方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- registerCleanupPostProcessor(BeanDefinitionRegistry, AnnotatedBeanDefinitionReader) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- registerContext(String, ServletContext) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- registerDeclaredConstructors(ReflectionHints, String...) - 类中的静态方法 cn.taketoday.test.context.hint.TestContextRuntimeHints
- registerDeclaredConstructors(Class<?>) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- registerDeclaredConstructors(Class<?>, RuntimeHints) - 类中的方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- registerDeclaredConstructors(Class<?>, RuntimeHints) - 类中的方法 cn.taketoday.test.context.hint.StandardTestRuntimeHints
- registerHints(RuntimeHints, MergedContextConfiguration, ClassLoader) - 类中的方法 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- registerHints(RuntimeHints, Class<?>, ClassLoader) - 接口中的方法 cn.taketoday.test.context.aot.TestRuntimeHintsRegistrar
-
Contribute hints to the given
RuntimeHintsinstance. - registerHints(RuntimeHints, Class<?>, ClassLoader) - 类中的方法 cn.taketoday.test.context.hint.StandardTestRuntimeHints
- registerHints(RuntimeHints, ClassLoader) - 类中的方法 cn.taketoday.test.context.hint.TestContextRuntimeHints
- registerImportsConfiguration(BeanDefinitionRegistry, AnnotatedBeanDefinitionReader) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- registerListenerAndResolvableDependencyIfNecessary(ApplicationContext) - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener
- registerMock(ConfigurableBeanFactory, BeanDefinitionRegistry, MockDefinition, Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- registerMvcSingletons(StubWebApplicationContext) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- registerNamedDispatcher(String, RequestDispatcher) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Register a
RequestDispatcher(typically aMockRequestDispatcher) that acts as a wrapper for the named Servlet. - registerPublicConstructors(ReflectionHints, Class<?>...) - 类中的静态方法 cn.taketoday.test.context.hint.TestContextRuntimeHints
- registerPublicMethods(String) - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- registerSkippedExceptionType(String) - 类中的静态方法 cn.taketoday.test.context.TestContextManager
- registerSkippedExceptionTypes() - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Register hints for skipped exception types loaded via reflection in
TestContextManager. - registerSpies(BeanDefinitionRegistry, SpyDefinition, Field, Collection<String>) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- registerSpy(ConfigurableBeanFactory, BeanDefinitionRegistry, SpyDefinition, Field) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- registerSpy(SpyDefinition, Field, String) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- registerTestExecutionListeners(TestExecutionListener...) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Register the supplied array of
TestExecutionListenersby appending them to the list of listeners used by thisTestContextManager. - registerTestExecutionListeners(List<TestExecutionListener>) - 类中的方法 cn.taketoday.test.context.TestContextManager
-
Register the supplied list of
TestExecutionListenersby appending them to the list of listeners used by thisTestContextManager. - registerTestRestTemplate(BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- registerTestRestTemplate(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- registerWebTestClient(BeanDefinitionRegistry) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- registerWebTestClient(ConfigurableApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- registerWith(ConfigurableBeanFactory) - 类中的静态方法 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- registrar - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.BeanRegistration
- REINJECT_DEPENDENCIES_ATTRIBUTE - 类中的静态变量 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
Attribute name for a
TestContextattribute which indicates whether the dependencies of a test instance should be reinjected inbeforeTestMethod(). - reinjectFields(TestContext) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener
- release() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- release() - 类中的方法 cn.taketoday.mock.web.MockPageContext
- remainingExpectations - 类中的变量 cn.taketoday.test.web.client.UnorderedRequestExpectationManager
- remoteAddr - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- remoteAddress - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- remoteAddress - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- remoteAddress - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- remoteAddress(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the remote address of the request.
- remoteAddress(InetSocketAddress) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set the remote address to return.
- remoteAddress(InetSocketAddress) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- remoteHost - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- remotePort - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- remoteUser - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- remove(MergedContextConfiguration, DirtiesContext.HierarchyMode) - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Remove the context with the given key from the cache and explicitly close it if it is an instance of
ConfigurableApplicationContext. - remove(MergedContextConfiguration, DirtiesContext.HierarchyMode) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Remove the context with the given key from the cache and explicitly close it if it is an instance of
ConfigurableApplicationContext. - remove(List<MergedContextConfiguration>, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
- removeAllParameters() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Remove all existing parameters.
- removeAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- removeAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- removeAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- removeAttribute(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- removeAttribute(String) - 接口中的方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Remove the attribute stored under the provided name.
- removeAttribute(String) - 类中的方法 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- removeAttribute(String) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- removeAttribute(String, int) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- removeCurrentTransactionContext() - 类中的静态方法 cn.taketoday.test.context.transaction.TransactionContextHolder
- removeEldestEntry(Map.Entry<MergedContextConfiguration, ApplicationContext>) - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache.LruCache
- removeEldestEntry(Map.Entry<String, Class<?>>) - 类中的方法 cn.taketoday.framework.test.context.AnnotatedClassFinder.Cache
- removeHeader(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Remove already registered entries for the specified HTTP header, if any.
- removeParameter(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Remove already registered values for the specified HTTP parameter, if any.
- removeSessionCookie(MockHttpServletRequest, String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- renderView(RequestContext, ModelAndView) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler
- renderView(RequestContext, ViewRef) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler
- renderView(RequestContext, View, Map<String, Object>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler
- renderView(RequestContext, String) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler
- repeat - 类中的变量 cn.taketoday.test.context.junit4.statements.RepeatTest
- Repeat - cn.taketoday.test.annotation中的Annotation Interface
-
Test annotation for use with JUnit 4 to indicate that a test method should be invoked repeatedly.
- repeatExpectations - 类中的变量 cn.taketoday.test.web.client.SimpleRequestExpectationManager
-
Track expectations that have a remaining count.
- RepeatTest - cn.taketoday.test.context.junit4.statements中的类
-
RepeatTestis a custom JUnitStatementwhich adds support for Framework's@Repeatannotation by repeating the test the specified number of times. - RepeatTest(Statement, Method) - 类的构造器 cn.taketoday.test.context.junit4.statements.RepeatTest
-
Construct a new
RepeatTeststatement for the suppliedtestMethod, retrieving the configured repeat count from the@Repeatannotation on the supplied method. - RepeatTest(Statement, Method, int) - 类的构造器 cn.taketoday.test.context.junit4.statements.RepeatTest
-
Construct a new
RepeatTeststatement for the suppliedtestMethodandrepeatcount. - REPLACE_DEFAULTS - enum class 中的枚举常量 cn.taketoday.test.context.support.ContextCustomizerFactories.MergeMode
-
Indicates that locally declared factories should replace the default factories.
- REPLACE_DEFAULTS - enum class 中的枚举常量 cn.taketoday.test.context.TestExecutionListeners.MergeMode
-
Indicates that locally declared listeners should replace the default listeners.
- replaceIfNecessary(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.cache.DefaultCacheAwareContextLoaderDelegate
-
If the test class associated with the supplied
MergedContextConfigurationhas an AOT-optimizedApplicationContext, this method will create anAotMergedContextConfigurationto replace the providedMergedContextConfiguration. - replaceURI(ClientHttpRequest, String) - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- ReplaceUriClientHttpRequest(URI, ClientHttpRequest) - 类的构造器 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- reportInvocation(MethodInvocationReport) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockReset.ResetInvocationListener
- request - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- request - 类中的变量 cn.taketoday.mock.web.MockFilterChain
- request - 类中的变量 cn.taketoday.mock.web.MockPageContext
- request - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- request - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.ClientExchangeInfo
- request - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder.HtmlUnitMockHttpSession
- request() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to request-related assertions.
- request(HttpMethod, String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a request with the given HTTP method. - request(HttpMethod, URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockHttpServletRequestBuilderfor a request with the given HTTP method. - request(String, URI) - 类中的静态方法 cn.taketoday.test.web.servlet.request.MockMvcRequestBuilders
-
Alternative factory method that allows for custom HTTP verbs (e.g.
- request(Consumer<RequestContext>) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert the given RequestContext.
- requestAttr(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set a request attribute.
- requestAttributes - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- requestBody - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- RequestBuilder - cn.taketoday.test.web.servlet中的接口
-
Builds a
MockHttpServletRequest. - requestCharacterEncoding - 类中的变量 cn.taketoday.mock.web.MockServletContext
- requestContext - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- requestCount - 类中的变量 cn.taketoday.test.web.client.DefaultRequestExpectation
- RequestCount(ExpectedCount) - 类的构造器 cn.taketoday.test.web.client.DefaultRequestExpectation.RequestCount
- requestedSessionId - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- requestedSessionIdFromCookie - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- requestedSessionIdFromURL - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- requestedSessionIdValid - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- RequestExpectation - cn.taketoday.test.web.client中的接口
-
An extension of
ResponseActionsthat also implementsRequestMatcherandResponseCreator - RequestExpectationGroup() - 类的构造器 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
- RequestExpectationManager - cn.taketoday.test.web.client中的接口
-
Encapsulates the behavior required to implement
MockRestServiceServerincluding its public API (create expectations + verify/reset) along with an extra method for verifying actual requests. - requestFailures - 类中的变量 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- requestId - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- requestIndex - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- RequestMatcher - cn.taketoday.test.web.client中的接口
-
A contract for matching requests to expectations.
- requestMatchers - 类中的变量 cn.taketoday.test.web.client.DefaultRequestExpectation
- requestMatchers - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
- RequestPostProcessor - cn.taketoday.test.web.servlet.request中的接口
-
Extension point for applications or 3rd party libraries that wish to further initialize a
MockHttpServletRequestinstance after it has been built byMockHttpServletRequestBuilderor its subclassMockMultipartHttpServletRequestBuilder. - requestPostProcessors - 类中的变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- RequestResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the request.
- RequestResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Protected constructor.
- requests - 类中的变量 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- requestTo(String) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert the request URI matches the given string.
- requestTo(URI) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Expect a request to the given URI.
- requestTo(Matcher<? super String>) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Assert the request URI string with the given Hamcrest matcher.
- requestToUriTemplate(String, Object...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Variant of
MockRestRequestMatchers.requestTo(URI)that prepares the URI from a URI template plus optional variables viaUriComponentsBuilderincluding encoding. - requestURI - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- requireCurrentTransactionContext() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
- reset - 类中的变量 cn.taketoday.framework.test.mock.mockito.Definition
- reset - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockReset.ResetInvocationListener
- reset() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
The reset mode to apply to the mock bean.
- reset() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBean
-
The reset mode to apply to the spied bean.
- reset() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
-
Resets the current capture session, clearing its captured output.
- reset() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- reset() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- reset() - 类中的方法 cn.taketoday.mock.web.MockFilterChain
-
Reset the
MockFilterChainallowing it to be invoked again. - reset() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- reset() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestAttributesFactory
-
Reset the factory.
- reset() - 类中的静态方法 cn.taketoday.test.context.aot.AotTestContextInitializersFactory
-
Reset the factory.
- reset() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Reset all state maintained by this cache including statistics.
- reset() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Reset all state maintained by this cache including statistics.
- reset() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
-
Reset all expectations for this group.
- reset() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- reset() - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Reset the internal state removing all expectations and recorded requests.
- reset() - 接口中的方法 cn.taketoday.test.web.client.RequestExpectationManager
-
Reset the internal state removing all expectations and recorded requests.
- reset() - 类中的方法 cn.taketoday.test.web.client.SimpleRequestExpectationManager
- reset() - 类中的方法 cn.taketoday.test.web.client.UnorderedRequestExpectationManager
- RESET_REQUEST_CONTEXT_HOLDER_ATTRIBUTE - 类中的静态变量 cn.taketoday.test.context.web.ServletTestExecutionListener
-
Attribute name for a
TestContextattribute which indicates whether or not theServletTestExecutionListenershould reset Infra Web'sRequestContextHolderinServletTestExecutionListener.afterTestMethod(TestContext). - resetAotFactories() - 类中的方法 cn.taketoday.test.context.aot.TestContextAotGenerator
- resetBuffer() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- ResetInvocationListener(MockReset) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockReset.ResetInvocationListener
- resetMocks(ApplicationContext, MockReset) - 类中的方法 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- resetMocks(ConfigurableApplicationContext, MockReset) - 类中的方法 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- ResetMocksTestExecutionListener - cn.taketoday.framework.test.mock.mockito中的类
-
TestExecutionListenerto reset any mock beans that have been marked with aMockReset. - ResetMocksTestExecutionListener() - 类的构造器 cn.taketoday.framework.test.mock.mockito.ResetMocksTestExecutionListener
- resolve(Class<?>) - 接口中的方法 cn.taketoday.test.context.ActiveProfilesResolver
-
Resolve the bean definition profiles to use when loading an
ApplicationContextfor the given test class. - resolve(Class<?>) - 类中的方法 cn.taketoday.test.context.support.DefaultActiveProfilesResolver
-
Resolve the bean definition profiles for the given test class based on profiles configured declaratively via
ActiveProfiles.profiles()orActiveProfiles.value(). - resolve(Object) - 类中的方法 cn.taketoday.framework.test.mock.mockito.InfraMockResolver
- resolveActiveProfiles(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.ActiveProfilesUtils
-
Resolve active bean definition profiles for the supplied
Class. - resolveContextConfigurationAttributes(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.ContextLoaderUtils
-
Resolve the list of context configuration attributes for the supplied test class and its superclasses.
- resolveContextHierarchyAttributes(Class<?>) - 类中的静态方法 cn.taketoday.test.context.support.ContextLoaderUtils
-
Resolve the list of lists of context configuration attributes for the supplied test class and its superclasses, taking into account context hierarchies declared via
@ContextHierarchyand@ContextConfiguration. - resolveContextLoader(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- resolveContextLoader(Class<?>, List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
-
Resolve the
ContextLoaderclass to use for the supplied list ofContextConfigurationAttributesand then instantiate and return thatContextLoader. - resolveDefaultTestContextBootstrapper(Class<?>) - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
- resolvedException - 类中的变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- resolveExplicitContextLoaderClass(List<ContextConfigurationAttributes>) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- resolveExplicitTestContextBootstrapper(Class<?>) - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
- resolveInitializerClasses(List<ContextConfigurationAttributes>) - 类中的静态方法 cn.taketoday.test.context.support.ApplicationContextInitializerUtils
-
Resolve the set of merged
ApplicationContextInitializerclasses for the supplied list ofContextConfigurationAttributes. - resolveParameter(ParameterContext, ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- resolveParameter(ParameterContext, ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Resolve a value for the
Parameterin the suppliedParameterContextby retrieving the corresponding dependency from the test'sApplicationContext. - resolver() - annotation interface 中的元素 cn.taketoday.test.context.ActiveProfiles
-
The type of
ActiveProfilesResolverto use for resolving the active bean definition profiles programmatically. - resolveTestContextBootstrapper(BootstrapContext) - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
-
Resolve the
TestContextBootstrappertype for the test class in the suppliedBootstrapContext, instantiate it, and provide it a reference to theBootstrapContext. - resolveTestContextBootstrapper(Class<?>) - 类中的静态方法 cn.taketoday.test.context.BootstrapUtils
-
Resolve the
TestContextBootstrappertype for the supplied test class using the defaultBootstrapContext, instantiate the bootstrapper, and provide it a reference to theBootstrapContext. - resolveUri(RequestEntity<?>) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
- resolveViewName(String, Locale) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StaticViewResolver
- resource - 类中的变量 cn.taketoday.mock.web.MockRequestDispatcher
- RESOURCE_LOCATIONS - 类中的静态变量 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- resourceBasePath - 类中的变量 cn.taketoday.mock.web.MockServletContext
- resourceBasePath - 类中的变量 cn.taketoday.test.context.web.WebMergedContextConfiguration
- resourceLoadClass - 类中的变量 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
- resourceLoadClass - 类中的变量 cn.taketoday.framework.test.json.JsonContent
- resourceLoadClass - 类中的变量 cn.taketoday.framework.test.json.JsonLoader
- resourceLoader - 类中的变量 cn.taketoday.framework.test.mock.web.InfraMockServletContext
- resourceLoader - 类中的变量 cn.taketoday.mock.web.MockServletContext
- resourcePath() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
WebAppConfiguration.value(). - resourcePatternResolver - 类中的变量 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- resourcesFilters - 类中的变量 cn.taketoday.framework.test.context.FilteredClassLoader
- response - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- response - 类中的变量 cn.taketoday.mock.web.MockFilterChain
- response - 类中的变量 cn.taketoday.mock.web.MockJspWriter
- response - 类中的变量 cn.taketoday.mock.web.MockPageContext
- response - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- response - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- response - 类中的变量 cn.taketoday.test.web.reactive.server.WiretapConnector.ClientExchangeInfo
- response - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- ResponseActions - cn.taketoday.test.web.client中的接口
-
A contract for setting up request expectations and defining a response.
- responseBody - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- responseCharacterEncoding - 类中的变量 cn.taketoday.mock.web.MockServletContext
- responseCreator - 类中的变量 cn.taketoday.test.web.client.DefaultRequestExpectation
- ResponseCreator - cn.taketoday.test.web.client中的接口
-
A contract for creating a
ClientHttpResponse. - responseHeaders() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- ResponsePrintWriter(Writer) - 类的构造器 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- ResponseServletOutputStream(OutputStream) - 类的构造器 cn.taketoday.mock.web.MockHttpServletResponse.ResponseServletOutputStream
- responseSpec - 类中的变量 cn.taketoday.test.web.reactive.server.CookieAssertions
- responseSpec - 类中的变量 cn.taketoday.test.web.reactive.server.HeaderAssertions
- responseSpec - 类中的变量 cn.taketoday.test.web.reactive.server.StatusAssertions
- responseTimeout - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- responseTimeout - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- responseTimeout(Duration) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- responseTimeout(Duration) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Max amount of time to wait for responses.
- restClientBuilder - 类中的变量 cn.taketoday.test.web.client.MockRestServiceServer.RestClientMockRestServiceServerBuilder
- RestClientMockRestServiceServerBuilder(RestClient.Builder) - 类的构造器 cn.taketoday.test.web.client.MockRestServiceServer.RestClientMockRestServiceServerBuilder
- restore() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.AnsiOutputState
- restTemplate - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplate
- restTemplate - 类中的变量 cn.taketoday.test.web.client.MockRestServiceServer.RestTemplateMockRestServiceServerBuilder
- RestTemplateMockRestServiceServerBuilder(RestTemplate) - 类的构造器 cn.taketoday.test.web.client.MockRestServiceServer.RestTemplateMockRestServiceServerBuilder
- result - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- result - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- RESULT_NONE - 类中的静态变量 cn.taketoday.test.web.servlet.DefaultMvcResult
- ResultActions - cn.taketoday.test.web.servlet中的接口
-
Allows applying actions, such as expectations, on the result of an executed request.
- resultActionsFor(ExchangeResult) - 接口中的静态方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient
-
This method can be used to apply further assertions on a given
ExchangeResultbased the state of the server response. - ResultHandler - cn.taketoday.test.web.servlet中的接口
-
A
ResultHandlerperforms a generic action on the result of an executed request — for example, printing debug information. - ResultMatcher - cn.taketoday.test.web.servlet中的接口
-
A
ResultMatchermatches the result of an executed request against some expectation. - rethrow(Throwable) - 类中的方法 cn.taketoday.test.util.TestPropertyValues
- retrieveContextFailureThreshold() - 类中的静态方法 cn.taketoday.test.context.cache.ContextCacheUtils
-
Retrieve the failure threshold for application context loading.
- retrieveDataSource(TestContext, String) - 类中的静态方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Retrieve the
DataSourceto use for the supplied test context. - retrieveMaxCacheSize() - 类中的静态方法 cn.taketoday.test.context.cache.ContextCacheUtils
-
Retrieve the maximum size of the
ContextCache. - retrieveProfileValueSource(Class<?>) - 类中的静态方法 cn.taketoday.test.annotation.ProfileValueUtils
-
Retrieves the
ProfileValueSourcetype for the specifiedtest classas configured via the@ProfileValueSourceConfigurationannotation and instantiates a new instance of that type. - retrieveProperty(String, int) - 类中的静态方法 cn.taketoday.test.context.cache.ContextCacheUtils
- retrieveTransactionManager(TestContext, String) - 类中的静态方法 cn.taketoday.test.context.transaction.TestContextTransactionUtils
-
Retrieve the transaction manager to use for the supplied test context.
- returnResult() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- returnResult() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- returnResult() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultListBodySpec
- returnResult() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Exit the chained API and return an
ExchangeResultwith the raw response content. - returnResult() - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Exit the chained API and return an
ExchangeResultwith the decoded response content. - returnResult(ParameterizedTypeReference<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- returnResult(ParameterizedTypeReference<T>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Alternative to
WebTestClient.ResponseSpec.returnResult(Class)that accepts information about a target type with generics. - returnResult(Class<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- returnResult(Class<T>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.ResponseSpec
-
Exit the chained flow in order to consume the response body externally, e.g. via
StepVerifier. - returnValueHandlerManager - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- reversedMetaDistance - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceUtils
- Rollback - cn.taketoday.test.annotation中的Annotation Interface
-
@Rollbackis a test annotation that is used to indicate whether a test-managed transaction should be rolled back after the test method has completed. - rootAnnotation - 类中的变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- rootDeclaringClass - 类中的变量 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
- rootUri - 类中的变量 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- RootUriRequestExpectationManager - cn.taketoday.framework.test.web.client中的类
-
RequestExpectationManagerthat strips the specified root URI from the request before verification. - RootUriRequestExpectationManager(String, RequestExpectationManager) - 类的构造器 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- RootUriRequestExpectationManager.ReplaceUriClientHttpRequest - cn.taketoday.framework.test.web.client中的类
-
ClientHttpRequestwrapper to replace the request URI. - routerFunction - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultRouterFunctionSpec
- run() - 接口中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions.CheckedExceptionTask
- run(ContextConsumer<? super A>) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Create and refresh a new
ApplicationContextbased on the current state of this loader. - run(RunNotifier) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Check whether the test is enabled in the current execution environment.
- RUN_WITH_ANNOTATION_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestClassScanner
- RunAfterTestClassCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunAfterTestClassCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit execution chain by callingafterTestClass()on the suppliedTestContextManager. - RunAfterTestClassCallbacks(Statement, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunAfterTestClassCallbacks
-
Construct a new
RunAfterTestClassCallbacksstatement. - RunAfterTestExecutionCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunAfterTestExecutionCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit 4 execution chain by callingafterTestExecution()on the suppliedTestContextManager. - RunAfterTestExecutionCallbacks(Statement, Object, Method, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
-
Construct a new
RunAfterTestExecutionCallbacksstatement. - RunAfterTestMethodCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunAfterTestMethodCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit execution chain by callingafterTestMethod()on the suppliedTestContextManager. - RunAfterTestMethodCallbacks(Statement, Object, Method, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
-
Construct a new
RunAfterTestMethodCallbacksstatement. - runAfterTransactionMethods(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Run all
@AfterTransactionmethods for the specified test context. - RunBeforeTestClassCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunBeforeTestClassCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit execution chain by callingbeforeTestClass()on the suppliedTestContextManager. - RunBeforeTestClassCallbacks(Statement, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunBeforeTestClassCallbacks
-
Construct a new
RunBeforeTestClassCallbacksstatement. - RunBeforeTestExecutionCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunBeforeTestExecutionCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit 4 execution chain by callingbeforeTestExecution()on the suppliedTestContextManager. - RunBeforeTestExecutionCallbacks(Statement, Object, Method, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
-
Construct a new
RunBeforeTestExecutionCallbacksstatement. - RunBeforeTestMethodCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunBeforeTestMethodCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit execution chain by callingbeforeTestMethod()on the suppliedTestContextManager. - RunBeforeTestMethodCallbacks(Statement, Object, Method, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
-
Construct a new
RunBeforeTestMethodCallbacksstatement. - runBeforeTransactionMethods(TestContext) - 类中的方法 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
-
Run all
@BeforeTransactionmethods for the specified test context. - runChild(FrameworkMethod, RunNotifier) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Perform the same logic as
BlockJUnit4ClassRunner.runChild(FrameworkMethod, RunNotifier), except that tests are determined to be ignored byJUnit4ClassRunner.isTestMethodIgnored(FrameworkMethod). - runnerConfiguration - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- RunnerConfiguration(AbstractApplicationContextRunner.RunnerConfiguration<C>) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- RunnerConfiguration(Supplier<C>) - 类的构造器 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- runningInAotMode(Class<?>) - 类中的方法 cn.taketoday.test.context.support.DependencyInjectionTestExecutionListener
-
Determine if we are running in AOT mode for the supplied test class.
- RunPrepareTestInstanceCallbacks - cn.taketoday.test.context.junit4.statements中的类
-
RunPrepareTestInstanceCallbacksis a custom JUnitStatementwhich allows the TestContext Framework to be plugged into the JUnit execution chain by callingprepareTestInstance()on the suppliedTestContextManager. - RunPrepareTestInstanceCallbacks(Statement, Object, TestContextManager) - 类的构造器 cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
-
Construct a new
RunPrepareTestInstanceCallbacksstatement. - runtimeHints - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
S
- safeToString(Class<?>) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- safeToString(Object) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- SAME_SITE - 类中的静态变量 cn.taketoday.mock.web.MockCookie
- sameDataSource(DataSource, DataSource) - 类中的静态方法 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
-
Determine if the two data sources are effectively the same, unwrapping proxies as necessary to compare the target instances.
- sameSite(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's sameSite attribute.
- sameSite(String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's SameSite attribute.
- sameSite(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's SameSite attribute with a Hamcrest
Matcher. - saveAndDisable() - 类中的静态方法 cn.taketoday.framework.test.system.OutputCapture.AnsiOutputState
- saved - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.AnsiOutputState
- scan() - 类中的方法 cn.taketoday.test.context.aot.TestClassScanner
-
Scan the configured classpath roots for Infra integration test classes.
- scan(String...) - 类中的方法 cn.taketoday.test.context.aot.TestClassScanner
-
Scan the configured classpath roots for Infra integration test classes in the given packages.
- scanClasspathRoots() - 类中的方法 cn.taketoday.test.context.aot.TestAotProcessor
-
Scan the configured classpath roots for Infra integration test classes.
- scanner - 类中的变量 cn.taketoday.framework.test.context.AnnotatedClassFinder
- scanPackage(String) - 类中的方法 cn.taketoday.framework.test.context.AnnotatedClassFinder
- scheme - 类中的变量 cn.taketoday.framework.test.web.client.LocalHostUriTemplateHandler
- scheme - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- Scope() - enum class的构造器 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
- scripts() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.Sql
-
The paths to the SQL scripts to execute.
- searchEnclosingClass(Class<?>) - 类中的静态方法 cn.taketoday.test.context.TestContextAnnotationUtils
-
Determine if annotations on the enclosing class of the supplied class should be searched by annotation search algorithms within the Infra TestContext Framework.
- secure - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- secure - 类中的变量 cn.taketoday.mock.web.MockSessionCookieConfig
- secure - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- secure(boolean) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the secure property of the
ServletRequestindicating use of a secure channel, such as HTTPS. - secure(String, boolean) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert a cookie's secure attribute.
- secure(String, boolean) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert whether the cookie must be sent over a secure protocol or not.
- selectImports(AnnotationMetadata) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsSelector
- self() - 类中的方法 cn.taketoday.test.web.reactive.server.AbstractMockServerSpec
- self() - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- self() - 类中的方法 cn.taketoday.test.web.servlet.client.AbstractMockMvcServerSpec
- self() - 类中的方法 cn.taketoday.test.web.servlet.setup.AbstractMockMvcBuilder
- sendError(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- sendError(int, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- sendRedirect(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- separator - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- separator() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The character string used to separate individual statements within the SQL scripts.
- sequence - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- SequencedProperties() - 类的构造器 cn.taketoday.test.context.support.TestPropertySourceUtils.SequencedProperties
- serializable - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockDefinition
- serializable() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
If the generated mock is serializable.
- serializeState() - 类中的方法 cn.taketoday.mock.web.MockHttpSession
-
Serialize the attributes of this session into an object that can be turned into a byte array with standard Java serialization.
- serialVersionUID - 类中的静态变量 cn.taketoday.framework.test.context.AnnotatedClassFinder.Cache
- serialVersionUID - 类中的静态变量 cn.taketoday.framework.test.context.ReactiveWebMergedContextConfiguration
- serialVersionUID - 类中的静态变量 cn.taketoday.mock.web.MockCookie
- serialVersionUID - 类中的静态变量 cn.taketoday.mock.web.MockMultipartFile
- serialVersionUID - 类中的静态变量 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- serialVersionUID - 类中的静态变量 cn.taketoday.test.context.cache.DefaultContextCache.LruCache
- serialVersionUID - 异常错误中的静态变量 cn.taketoday.test.context.ContextLoadException
- serialVersionUID - 类中的静态变量 cn.taketoday.test.context.MergedContextConfiguration
- serialVersionUID - 类中的静态变量 cn.taketoday.test.context.support.DefaultTestContext
- serialVersionUID - 类中的静态变量 cn.taketoday.test.context.web.WebMergedContextConfiguration
- serialVersionUID - 异常错误中的静态变量 cn.taketoday.test.web.reactive.server.HttpHandlerConnector.FailureAfterResponseCompletedException
- serialVersionUID - 类中的静态变量 cn.taketoday.test.web.servlet.TestDispatcherServlet
- SERVER_PORT_PROPERTY - 类中的静态变量 cn.taketoday.framework.test.web.InfraTestRandomPortEnvironmentPostProcessor
- serverName - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- serverPort - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- servers - 类中的变量 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
- service(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.test.web.servlet.TestDispatcherServlet
- servlet - 类中的变量 cn.taketoday.mock.web.PassThroughFilterChain
- servlet - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- SERVLET_APPLICATION_CONTEXT_CLASS - 类中的静态变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- servletConfig - 类中的变量 cn.taketoday.mock.web.MockPageContext
- servletContext - 类中的变量 cn.taketoday.mock.web.MockFilterConfig
- servletContext - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- servletContext - 类中的变量 cn.taketoday.mock.web.MockHttpSession
- servletContext - 类中的变量 cn.taketoday.mock.web.MockPageContext
- servletContext - 类中的变量 cn.taketoday.mock.web.MockServletConfig
- servletContext - 类中的变量 cn.taketoday.test.web.servlet.MockMvc
- servletContextName - 类中的变量 cn.taketoday.mock.web.MockServletContext
- ServletFilterProxy(Servlet) - 类的构造器 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- servletName - 类中的变量 cn.taketoday.mock.web.MockHttpServletMapping
- servletName - 类中的变量 cn.taketoday.mock.web.MockServletConfig
- servletPath - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- servletPath - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- servletPath(UriComponents, MockHttpServletRequest) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- servletPath(String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Specify the portion of the requestURI that represents the path to which the Servlet is mapped.
- ServletTestExecutionListener - cn.taketoday.test.context.web中的类
-
TestExecutionListenerwhich provides mock Servlet API support toWebServletApplicationContextloaded by the Infra TestContext Framework. - ServletTestExecutionListener() - 类的构造器 cn.taketoday.test.context.web.ServletTestExecutionListener
- session - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- session - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- session - 类中的变量 cn.taketoday.test.web.servlet.setup.SharedHttpSessionConfigurer
- session(MockHttpSession) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set the HTTP session to use, possibly re-used across requests.
- SESSION_COOKIE_NAME - 类中的静态变量 cn.taketoday.mock.web.MockHttpSession
-
The session cookie name.
- sessionAttr(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set a session attribute.
- sessionAttribute(String, Object) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert a session attribute value.
- sessionAttribute(String, Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert a session attribute value with the given Hamcrest
Matcher. - sessionAttributeDoesNotExist(String...) - 类中的方法 cn.taketoday.test.web.servlet.result.RequestResultMatchers
-
Assert the given session attributes do not exist.
- sessionAttributes - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- sessionAttrs(Map<String, Object>) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Set session attributes.
- sessionCookieConfig - 类中的变量 cn.taketoday.mock.web.MockServletContext
- sessions - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- sessions - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- sessionTimeout - 类中的变量 cn.taketoday.mock.web.MockServletContext
- sessionTrackingModes - 类中的变量 cn.taketoday.mock.web.MockServletContext
- setActiveProfiles(ConfigurableEnvironment, String[], boolean) - 类中的方法 cn.taketoday.framework.test.context.InfraApplicationContextLoader
- setApplicationContext(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- setApplicationContext(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- setApplicationContext(ApplicationContext) - 类中的方法 cn.taketoday.test.context.junit4.AbstractJUnit4ContextTests
-
Set the
ApplicationContextto be used by this test instance, provided viaApplicationContextAwaresemantics. - setAsyncContext(MockAsyncContext) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setAsyncDispatchLatch(CountDownLatch) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setAsyncRequestTimeout(long) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Specify the timeout value for async execution.
- setAsyncResult(Object) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setAsyncSendTimeout(long) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- setAsyncStarted(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setAsyncSupported(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setAttribute(String, boolean) - 接口中的方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Set a
booleanattribute for later retrieval during AOT run-time execution. - setAttribute(String, Object) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setAttribute(String, Object) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- setAttribute(String, Object) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- setAttribute(String, Object) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setAttribute(String, Object) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- setAttribute(String, Object, int) - 类中的方法 cn.taketoday.mock.web.MockPageContext
- setAttribute(String, String) - 类中的方法 cn.taketoday.mock.web.MockCookie
- setAttribute(String, String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setAttribute(String, String) - 接口中的方法 cn.taketoday.test.context.aot.AotTestAttributes
-
Set a
Stringattribute for later retrieval during AOT run-time execution. - setAttribute(String, String) - 类中的方法 cn.taketoday.test.context.aot.DefaultAotTestAttributes
- setAuthType(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setBeanClassLoader(ClassLoader) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- setBeanFactory(BeanFactory) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsSelector
- setBeanFactory(BeanFactory) - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- setBeanFactory(BeanFactory) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- setBeanFactory(BeanFactory) - 类中的方法 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- setBody(String) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- setBody(String, Charset) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- setBody(Publisher<DataBuffer>) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- setBootstrapContext(BootstrapContext) - 类中的方法 cn.taketoday.test.context.support.AbstractTestContextBootstrapper
- setBootstrapContext(BootstrapContext) - 接口中的方法 cn.taketoday.test.context.TestContextBootstrapper
-
Set the
BootstrapContextto be used by this bootstrapper. - setBufferContent(boolean) - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
-
Set if the
BufferingClientHttpRequestFactorywrapper should be used to buffer the input and output streams, and for example, allow multiple reads of the response body. - setBufferSize(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setClasses(Class<?>...) - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Set the processed annotated classes, effectively overriding the original value declared via
@ContextConfiguration. - setComment(String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setCommitted(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setCommittedIfBufferSizeExceeded() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setComplete() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- setComplete() - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- setComplete() - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- setContent(byte[]) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set the content of the request body as a byte array.
- setContentLength(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setContentLengthLong(long) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setContentNegotiationManager(ContentNegotiationManager) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Set a ContentNegotiationManager.
- setContentType(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setContentType(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setContextPath(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setContextPath(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setContextPath(String) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
-
Set the contextPath to be used.
- setControllerAdvice(Object...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Register one or more
ControllerAdviceinstances to be used in tests (specifiedClasswill be turned into instance). - setConversionService(FormattingConversionService) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide a conversion service with custom formatters and converters.
- setCookie(Cookie) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Set the
Set-Cookieheader to the suppliedCookie, overwriting any previous cookies. - setCookies(Cookie...) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setCurrentTransactionContext(TransactionContext) - 类中的静态方法 cn.taketoday.test.context.transaction.TransactionContextHolder
- setCustomArgumentResolvers(ParameterResolvingStrategy...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide custom resolvers for controller method arguments.
- setCustomHandlerMapping(Supplier<RequestMappingHandlerMapping>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Configure factory to create a custom
RequestMappingHandlerMapping. - setCustomReturnValueHandlers(HandlerMethodReturnValueHandler...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide custom handlers for controller method return values.
- setDataSource(DataSource) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Set the
DataSource, typically provided via Dependency Injection. - setDateHeader(String, long) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setDefaultCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Set the default character encoding for the response.
- setDefaultMaxBinaryMessageBufferSize(int) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- setDefaultMaxSessionIdleTimeout(long) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- setDefaultMaxTextMessageBufferSize(int) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- setDefaultRequest(RequestBuilder) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
A default request builder merged into every performed request.
- setDefaultResponseCharacterEncoding(Charset) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
The default character encoding to be applied to every response.
- setDefaultServletName(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Set the name of the default
Servlet. - setDetectRootUri(boolean) - 类中的方法 cn.taketoday.framework.test.web.client.MockServerRestTemplateCustomizer
-
Set if root URIs from
RootUriRequestExpectationManagershould be detected and applied to theMockRestServiceServer. - setDispatcherType(DispatcherType) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setDomain(String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setEffectiveMajorVersion(int) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setEffectiveMinorVersion(int) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setExpires(ZonedDateTime) - 类中的方法 cn.taketoday.mock.web.MockCookie
-
Set the "Expires" attribute for this cookie.
- setExplicitCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setField(Class<?>, String, Object) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- setField(Class<?>, String, Object, Class<?>) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- setField(Object, Class<?>, String, Object, Class<?>) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
-
Set the field with the given
name/typeon the providedtargetObject/targetClassto the suppliedvalue. - setField(Object, String, Object) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- setField(Object, String, Object, Class<?>) - 类中的静态方法 cn.taketoday.test.util.ReflectionTestUtils
- setFlaggedForRollback(boolean) - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
- setFlaggedForRollback(boolean) - 类中的方法 cn.taketoday.test.context.transaction.TransactionContext
- setFlashMapManager(RedirectModelManager) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide a custom FlashMapManager instance.
- setForwardedUrl(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setForwardPostProcessor(RequestPostProcessor) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- setGlobalResultHandlers(List<ResultHandler>) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
General actions to apply after every performed request.
- setGlobalResultMatchers(List<ResultMatcher>) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
-
Expectations to assert after every performed request.
- setHandler(Object) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setHandlerExceptionHandlers(HandlerExceptionHandler...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Set the HandlerExceptionHandler types to use as an array.
- setHandlerExceptionHandlers(List<HandlerExceptionHandler>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Set the HandlerExceptionHandler types to use as a list.
- setHeader(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setHeaders(HttpHeaders) - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- setHeaderValue(String, Object) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setHttpOnly(boolean) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setHttpServletMapping(HttpServletMapping) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setIncludedUrl(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setInitParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setInterceptors(HandlerInterceptor...) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setIntHeader(String, int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setLocalAddr(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setLocale(Locale) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setLocaleResolver(LocaleResolver) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide a LocaleResolver instance.
- setLocalName(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setLocalPort(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setLocations(String...) - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Set the processed resource locations, effectively overriding the original value declared via
@ContextConfiguration. - setMajorVersion(int) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setMaxAge(int) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setMaxInactiveInterval(int) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- setMessageConverters(HttpMessageConverter<?>...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Set the message converters to use in argument resolvers and in return value handlers, which support reading and/or writing to the body of the request and response.
- setMethod(HttpMethod) - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- setMethod(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setMinorVersion(int) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setModelAndView(ModelAndView) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setName(String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setNew(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpSession
- setOrClear(String, String) - 类中的方法 cn.taketoday.test.util.TestPropertyValues.SystemPropertiesHandler
- setOutputStreamAccessAllowed(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Set whether
MockHttpServletResponse.getOutputStream()access is allowed. - setParameter(String, String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set a single value for the specified HTTP parameter.
- setParameter(String, String...) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set an array of values for the specified HTTP parameter.
- setParameterResolvingRegistry(ParameterResolvingRegistry) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- setParameters(Map<String, ?>) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set all provided parameters replacing any existing values for the provided parameter names.
- setPath(String) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setPathInfo(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setPreferredLocales(List<Locale>) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set the list of preferred locales, in descending order, effectively replacing any existing locales.
- setProperty(String, Object) - 类中的方法 cn.taketoday.mock.env.MockPropertySource
-
Set the given property on the underlying
Propertiesobject. - setProperty(String, String) - 类中的方法 cn.taketoday.mock.env.MockEnvironment
-
Set a property on the underlying
MockPropertySourcefor this environment. - setProtocol(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setQueryString(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setReadListener(ReadListener) - 类中的方法 cn.taketoday.mock.web.DelegatingServletInputStream
- setRedirectModelManager(RedirectModelManager) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- setRemoteAddr(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRemoteHost(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRemotePort(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRemoteUser(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRequestCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setRequestContext(RequestContext) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setRequestedSessionId(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRequestedSessionIdFromCookie(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRequestedSessionIdFromURL(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRequestedSessionIdValid(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setRequestURI(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setResolvedException(Throwable) - 类中的方法 cn.taketoday.test.web.servlet.DefaultMvcResult
- setResponse(ClientHttpResponse) - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- setResponseCharacterEncoding(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setReturnValueHandlerManager(ReturnValueHandlerManager) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- setSameSite(String) - 类中的方法 cn.taketoday.mock.web.MockCookie
-
Set the "SameSite" attribute for this cookie.
- setScheme(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setSecure(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
-
Set the boolean
secureflag indicating whether the mock request was made using a secure channel, such as HTTPS. - setSecure(boolean) - 类中的方法 cn.taketoday.mock.web.MockSessionCookieConfig
- setServerName(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setServerPort(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setServletContextName(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setServletPath(String) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setSession(HttpSession) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setSessionTimeout(int) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setSessionTrackingModes(Set<SessionTrackingMode>) - 类中的方法 cn.taketoday.mock.web.MockServletContext
- setSingleView(View) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Sets up a single
ViewResolverthat always returns the provided view instance. - setSpecialHeader(String, Object, boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- setSqlScriptEncoding(String) - 类中的方法 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
-
Specify the encoding for SQL scripts, if different from the platform encoding.
- setStatus(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- SETTER_PREFIX - 类中的静态变量 cn.taketoday.test.util.ReflectionTestUtils
- setTimeout(long) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
-
By default this is set to 10000 (10 seconds) even though the Servlet API specifies a default async request timeout of 30 seconds.
- setupField(Field, Object, Supplier<M>) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- setUpRequestContextIfNecessary(TestContext) - 类中的方法 cn.taketoday.test.context.web.ServletTestExecutionListener
- setURI(URI) - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- setUriTemplateHandler(UriTemplateHandler) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Configure the
UriTemplateHandlerto use to expand URI templates. - setUserPrincipal(Principal) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- setUseTrailingSlashPatternMatch(boolean) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Whether to match to URLs irrespective of the presence of a trailing slash.
- setValidator(Validator) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Provide a custom
Validatorinstead of the one created by default. - setValue(Object) - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- setViewResolvers(ViewResolver...) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Set up view resolution with the given
ViewResolvers. - setWebClient(WebClient) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- setWebConnection(WebConnection) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Set the
WebConnectionto be used with theWebClient. - setWriteHandler(Function<Flux<DataBuffer>, Mono<Void>>) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
-
Configure a custom handler for writing the request body.
- setWriteHandler(Function<Flux<DataBuffer>, Mono<Void>>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
-
Configure a custom handler to consume the response body.
- setWriteListener(WriteListener) - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
- setWriterAccessAllowed(boolean) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
-
Set whether
MockHttpServletResponse.getWriter()access is allowed. - sharedHttpSession() - 类中的静态方法 cn.taketoday.test.web.servlet.setup.SharedHttpSessionConfigurer
- SharedHttpSessionConfigurer - cn.taketoday.test.web.servlet.setup中的类
-
MockMvcConfigurerthat stores and re-uses the HTTP session across multiple requests performed through the sameMockMvcinstance. - SharedHttpSessionConfigurer() - 类的构造器 cn.taketoday.test.web.servlet.setup.SharedHttpSessionConfigurer
- SimpleRequestExpectationManager - cn.taketoday.test.web.client中的类
-
Simple
RequestExpectationManagerthat matches requests to expectations sequentially, i.e. in the order of declaration of expectations. - SimpleRequestExpectationManager() - 类的构造器 cn.taketoday.test.web.client.SimpleRequestExpectationManager
- singleView(View) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set up a single
ViewResolverwith a fixed view. - singleView(View) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- size() - 接口中的方法 cn.taketoday.test.context.cache.ContextCache
-
Determine the number of contexts currently stored in the cache.
- size() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Determine the number of contexts currently stored in the cache.
- size(int) - 类中的方法 cn.taketoday.test.web.servlet.result.ModelResultMatchers
-
Assert the number of model attributes.
- skippedExceptionTypes - 类中的静态变量 cn.taketoday.test.context.TestContextManager
- SLASH - 类中的静态变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- SLASH - 类中的静态变量 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- SLASH - 类中的静态变量 cn.taketoday.test.context.support.AbstractContextLoader
- SLASH - 类中的静态变量 cn.taketoday.test.context.support.TestPropertySourceAttributes
- SLASH - 类中的静态变量 cn.taketoday.test.context.util.TestContextResourceUtils
- SmartContextLoader - cn.taketoday.test.context中的接口
-
Strategy interface for loading an
application contextfor an integration test managed by the TestContext Framework. - SmartRequestBuilder - cn.taketoday.test.web.servlet中的接口
-
Extended variant of a
RequestBuilderthat applies itscn.taketoday.test.web.servlet.request.RequestPostProcessorsas a separate step from theRequestBuilder.buildRequest(jakarta.servlet.ServletContext)method. - source(Matcher<? super Source>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the request content as
DOMSourceand apply the givenMatcher. - source(Matcher<? super Source>) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Parse the response content as
DOMSourceand apply the given HamcrestMatcher. - sourceClass - enum class中的变量 cn.taketoday.test.util.TestPropertyValues.Type
- sourceStream - 类中的变量 cn.taketoday.mock.web.DelegatingServletInputStream
- spies - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor
- SPRING_EXTENSION_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestClassScanner
- SPRING_JUNIT4_CLASS_RUNNER_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestClassScanner
- SPRING_RUNNER_NAME - 类中的静态变量 cn.taketoday.test.context.aot.TestClassScanner
- SpyBean - cn.taketoday.framework.test.mock.mockito中的Annotation Interface
-
Annotation that can be used to apply Mockito spies to a Infra
ApplicationContext. - SpyBeans - cn.taketoday.framework.test.mock.mockito中的Annotation Interface
-
Container annotation that aggregates several
@SpyBeanannotations. - SpyDefinition - cn.taketoday.framework.test.mock.mockito中的类
-
A complete definition that can be used to create a Mockito spy.
- SpyDefinition(String, ResolvableType, MockReset, boolean, QualifierDefinition) - 类的构造器 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- SpyDefinition.AopBypassingVerificationStartedListener - cn.taketoday.framework.test.mock.mockito中的类
-
A
VerificationStartedListenerthat bypasses any proxy created by Infra AOP when the verification of a spy starts. - SpyPostProcessor(MockitoPostProcessor) - 类的构造器 cn.taketoday.framework.test.mock.mockito.MockitoPostProcessor.SpyPostProcessor
- Sql - cn.taketoday.test.context.jdbc中的Annotation Interface
-
@Sqlis used to annotate a test class or test method to configure SQLSql.scripts()andSql.statements()to be executed against a given database during integration tests. - Sql.ExecutionPhase - cn.taketoday.test.context.jdbc中的Enum Class
-
Enumeration of phases that dictate when SQL scripts are executed.
- SqlConfig - cn.taketoday.test.context.jdbc中的Annotation Interface
-
@SqlConfigdefines metadata that is used to determine how to parse and execute SQL scripts configured via the@Sqlannotation. - SqlConfig.ErrorMode - cn.taketoday.test.context.jdbc中的Enum Class
-
Enumeration of modes that dictate how errors are handled while executing SQL statements.
- SqlConfig.TransactionMode - cn.taketoday.test.context.jdbc中的Enum Class
-
Enumeration of modes that dictate whether SQL scripts should be executed within a transaction and what the transaction propagation behavior should be.
- SqlGroup - cn.taketoday.test.context.jdbc中的Annotation Interface
-
Container annotation that aggregates several
@Sqlannotations. - SqlMergeMode - cn.taketoday.test.context.jdbc中的Annotation Interface
-
@SqlMergeModeis used to annotate a test class or test method to configure whether method-level@Sqldeclarations are merged with class-level@Sqldeclarations. - SqlMergeMode.MergeMode - cn.taketoday.test.context.jdbc中的Enum Class
-
Enumeration of modes that dictate whether method-level
@Sqldeclarations are merged with class-level@Sqldeclarations. - sqlMethodFilter - 类中的静态变量 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- sqlScriptEncoding - 类中的变量 cn.taketoday.test.context.junit4.AbstractTransactionalJUnit4ContextTests
- SqlScriptsTestExecutionListener - cn.taketoday.test.context.jdbc中的类
-
TestExecutionListenerthat provides support for executing SQLscriptsand inlinedstatementsconfigured via the@Sqlannotation. - SqlScriptsTestExecutionListener() - 类的构造器 cn.taketoday.test.context.jdbc.SqlScriptsTestExecutionListener
- SSL - enum class 中的枚举常量 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
-
Use a
SSLConnectionSocketFactorywithTrustSelfSignedStrategy. - SSL_OPTIONS - 类中的静态变量 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- sslInfo - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- sslInfo - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- sslInfo(SslInfo) - 接口中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.BaseBuilder
-
Set SSL session information and certificates.
- sslInfo(SslInfo) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- StandaloneConfiguration(List<WebMvcConfigurer>) - 类的构造器 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- StandaloneMockMvcBuilder - cn.taketoday.test.web.servlet.setup中的类
-
A
MockMvcBuilderthat accepts@Controllerregistrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time. - StandaloneMockMvcBuilder(Object...) - 类的构造器 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
-
Protected constructor.
- StandaloneMockMvcBuilder.StandaloneConfiguration - cn.taketoday.test.web.servlet.setup中的类
-
Using the MVC Java configuration as the starting point for the "standalone" setup.
- StandaloneMockMvcBuilder.StaticViewResolver - cn.taketoday.test.web.servlet.setup中的类
-
A
ViewResolverthat always returns same View. - StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler - cn.taketoday.test.web.servlet.setup中的类
- StandaloneMockMvcSpec - cn.taketoday.test.web.servlet.client中的类
-
Simple wrapper around a
StandaloneMockMvcBuilderthat implementsMockMvcWebTestClient.ControllerSpec. - StandaloneMockMvcSpec(Object...) - 类的构造器 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- standaloneSetup(Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.setup.MockMvcBuilders
-
Build a
MockMvcinstance by registering one or more@Controllerinstances and configuring Web MVC infrastructure programmatically. - StandardTestRuntimeHints - cn.taketoday.test.context.hint中的类
-
TestRuntimeHintsRegistrarimplementation that registers run-time hints for standard functionality in the Infra TestContext Framework. - StandardTestRuntimeHints() - 类的构造器 cn.taketoday.test.context.hint.StandardTestRuntimeHints
- start() - 类中的静态方法 cn.taketoday.test.context.transaction.TestTransaction
-
Start a new test-managed transaction.
- start(Runnable) - 类中的方法 cn.taketoday.mock.web.MockAsyncContext
- startAsync() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- startAsync(ServletRequest, ServletResponse) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- startsWithMatches - 类中的变量 cn.taketoday.test.web.servlet.setup.MockMvcFilterDecorator
-
Patterns that require the URL to have a specific prefix, e.g.
- startTime - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- startTransaction() - 类中的方法 cn.taketoday.test.context.transaction.TransactionContext
-
Start a new transaction for the configured test context.
- startupFailure - 类中的变量 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert
- startupFailure - 类中的变量 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- statements() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.Sql
-
Inlined SQL statements to execute.
- StaticViewResolver(View) - 类的构造器 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StaticViewResolver
- statsLogger - 类中的静态变量 cn.taketoday.test.context.cache.DefaultContextCache
- status - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- status - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- status() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response status assertions.
- StatusAssertions - cn.taketoday.test.web.reactive.server中的类
-
Assertions on the response status.
- StatusAssertions(ExchangeResult, WebTestClient.ResponseSpec) - 类的构造器 cn.taketoday.test.web.reactive.server.StatusAssertions
- statusCode - 类中的变量 cn.taketoday.mock.http.client.MockClientHttpResponse
- statusCode - 类中的变量 cn.taketoday.test.web.client.response.DefaultResponseCreator
- statusMessage(int) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- StatusResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the response status.
- StatusResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.StatusResultMatchers
-
Protected constructor.
- storeCookies(WebRequest, Cookie[]) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- strategies - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- strategiesConfigurers - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- stream() - 接口中的方法 cn.taketoday.test.context.event.ApplicationEvents
-
Stream all application events that were fired during test execution.
- stream() - 类中的方法 cn.taketoday.test.context.event.DefaultApplicationEvents
- stream(ResourceLoader, String...) - 类中的静态方法 cn.taketoday.test.context.util.TestContextResourceUtils
- stream(Class<T>) - 接口中的方法 cn.taketoday.test.context.event.ApplicationEvents
-
Stream all application events or event payloads of the given type that were fired during test execution.
- stream(Class<T>) - 类中的方法 cn.taketoday.test.context.event.DefaultApplicationEvents
- string - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.CapturedString
- string(String) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Get the body of the request as a UTF-8 string and compare it to the given String.
- string(String) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the String content found.
- string(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the response body content as a String.
- string(String) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Apply the XPath and assert the
Stringvalue found. - string(String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the primary value of the response header as a String value.
- string(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the primary value of the response header with the given Hamcrest String
Matcher. - string(Consumer<String>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
-
Consume the result of the XPath evaluation as a String.
- string(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Get the body of the request as a UTF-8 string and apply the given
Matcher. - string(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Apply the XPath and assert the String content found with the given matcher.
- string(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.reactive.server.XpathAssertions
- string(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Assert the response body content with a Hamcrest
Matcher. - string(Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Apply the XPath and assert the
Stringvalue found with the given HamcrestMatcher. - stringValues(String, String...) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the values of the response header as String values.
- stringValues(String, Matcher<? super Iterable<String>>) - 类中的方法 cn.taketoday.test.web.servlet.result.HeaderResultMatchers
-
Assert the values of the response header with the given Hamcrest Iterable
Matcher. - StubWebApplicationContext - cn.taketoday.test.web.servlet.setup中的类
-
A stub WebApplicationContext that accepts registrations of object instances.
- StubWebApplicationContext(ServletContext) - 类的构造器 cn.taketoday.test.web.servlet.setup.StubWebApplicationContext
- subSequence(int, int) - 接口中的方法 cn.taketoday.framework.test.system.CapturedOutput
- suffix - enum class中的变量 cn.taketoday.test.util.TestPropertyValues.Type
- supports(SmartContextLoader, MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractDelegatingSmartContextLoader
- supportsApplicationEvents(ParameterContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
- supportsParameter(ParameterContext, ExtensionContext) - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureExtension
- supportsParameter(ParameterContext, ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Determine if the value for the
Parameterin the suppliedParameterContextshould be autowired from the test'sApplicationContext. - synthesize(MergedAnnotations) - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- SYSTEM_ENVIRONMENT - enum class 中的枚举常量 cn.taketoday.test.util.TestPropertyValues.Type
-
Used for
SystemEnvironmentPropertySource. - SystemCapture(Runnable) - 类的构造器 cn.taketoday.framework.test.system.OutputCapture.SystemCapture
- systemCaptures - 类中的变量 cn.taketoday.framework.test.system.OutputCapture
- SystemProfileValueSource - cn.taketoday.test.annotation中的类
-
Implementation of
ProfileValueSourcewhich uses system properties as the underlying source. - SystemProfileValueSource() - 类的构造器 cn.taketoday.test.annotation.SystemProfileValueSource
-
Private constructor, enforcing the singleton pattern.
- systemProperties - 类中的变量 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- SystemPropertiesHandler() - 类的构造器 cn.taketoday.test.util.TestPropertyValues.SystemPropertiesHandler
- systemStream - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
T
- target - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockitoTestExecutionListener.MockitoField
- targetStream - 类中的变量 cn.taketoday.mock.web.DelegatingServletOutputStream
- targetWriter - 类中的变量 cn.taketoday.mock.web.MockJspWriter
- TEMP_DIR_SYSTEM_PROPERTY - 类中的静态变量 cn.taketoday.mock.web.MockServletContext
- template - 类中的变量 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- test(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader.ClassFilter
- test(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader.ClassPathResourceFilter
- test(String) - 类中的方法 cn.taketoday.framework.test.context.FilteredClassLoader.PackageFilter
- TEST_CLASS_NAME_ATTRIBUTE - 类中的静态变量 cn.taketoday.framework.test.context.ImportsContextCustomizer
- TEST_CONSTRUCTOR_AUTOWIRE_MODE_PROPERTY_NAME - annotation interface中的静态变量 cn.taketoday.test.context.TestConstructor
-
JVM system property used to change the default test constructor autowire mode: "infra.test.constructor.autowire.mode".
- TEST_CONTEXT_MANAGER_NAMESPACE - 类中的静态变量 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
ExtensionContext.Namespacein whichTestContextManagersare stored, keyed by test class. - TestAnnotationUtils - cn.taketoday.test.annotation中的类
-
Collection of utility methods for working with Framework's core testing annotations.
- TestAnnotationUtils() - 类的构造器 cn.taketoday.test.annotation.TestAnnotationUtils
- TestAotProcessor - cn.taketoday.test.context.aot中的类
-
Filesystem-based ahead-of-time (AOT) processing base implementation that scans the provided classpath roots for Infra integration test classes and then generates AOT artifacts for those test classes in the configured output directories.
- TestAotProcessor(Set<Path>, AbstractAotProcessor.Settings) - 类的构造器 cn.taketoday.test.context.aot.TestAotProcessor
-
Create a new processor for the specified test classpath roots and common settings.
- testClass - 类中的变量 cn.taketoday.test.context.junit4.rules.InfraClassRule.TestContextManagerCacheEvictor
- testClass - 类中的变量 cn.taketoday.test.context.junit4.statements.ProfileValueChecker
- testClass - 类中的变量 cn.taketoday.test.context.MergedContextConfiguration
- testClass - 类中的变量 cn.taketoday.test.context.support.DefaultBootstrapContext
- testClass - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- testClassName - 类中的变量 cn.taketoday.framework.test.context.ImportsContextCustomizer.ImportsCleanupPostProcessor
- testClassName - 类中的变量 cn.taketoday.framework.test.context.ImportsContextCustomizer
- TestClassScanner - cn.taketoday.test.context.aot中的类
-
TestClassScannerscans provided classpath roots for Infra integration test classes using the JUnit PlatformLauncherAPI which allows all registeredTestEnginesto discover tests according to their own rules. - TestClassScanner(Set<Path>) - 类的构造器 cn.taketoday.test.context.aot.TestClassScanner
-
Create a
TestClassScannerfor the given classpath roots. - TestComponent - cn.taketoday.framework.test.context中的Annotation Interface
-
@Componentthat can be used when a bean is intended only for tests, and should be excluded from Infra's component scanning. - TestConfiguration - cn.taketoday.framework.test.context中的Annotation Interface
-
@Configurationthat can be used to define additional beans or customizations for a test. - TestConstructor - cn.taketoday.test.context中的Annotation Interface
-
@TestConstructoris a type-level annotation that is used to configure how the parameters of a test class constructor are autowired from components in the test'sApplicationContext. - TestConstructor.AutowireMode - cn.taketoday.test.context中的Enum Class
-
Defines autowiring modes for parameters in a test constructor.
- TestConstructorUtils - cn.taketoday.test.context.support中的类
-
Utility methods for working with
@TestConstructor. - TestConstructorUtils() - 类的构造器 cn.taketoday.test.context.support.TestConstructorUtils
- testContext - 类中的变量 cn.taketoday.test.context.TestContextManager
- testContext - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- TestContext - cn.taketoday.test.context中的接口
-
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use. - TestContextAnnotationUtils - cn.taketoday.test.context中的类
-
TestContextAnnotationUtilsis a collection of utility methods that complements the standard support already available inAnnotationUtilsandAnnotatedElementUtils, while transparently honoring@NestedTestConfigurationsemantics. - TestContextAnnotationUtils() - 类的构造器 cn.taketoday.test.context.TestContextAnnotationUtils
- TestContextAnnotationUtils.AnnotationDescriptor<T extends Annotation> - cn.taketoday.test.context中的类
-
Descriptor for an
Annotation, including the class on which the annotation is declared as well as the merged annotation instance. - TestContextAnnotationUtils.UntypedAnnotationDescriptor - cn.taketoday.test.context中的类
-
Untyped extension of
TestContextAnnotationUtils.AnnotationDescriptorthat is used to describe the declaration of one of several candidate annotation types where the actual annotation type cannot be predetermined. - TestContextAotException - cn.taketoday.test.context.aot中的异常错误
-
Thrown if an error occurs during AOT build-time processing or AOT run-time execution in the Infra TestContext Framework.
- TestContextAotException(String) - 异常错误的构造器 cn.taketoday.test.context.aot.TestContextAotException
-
Create a new
TestContextAotException. - TestContextAotException(String, Throwable) - 异常错误的构造器 cn.taketoday.test.context.aot.TestContextAotException
-
Create a new
TestContextAotException. - TestContextAotGenerator - cn.taketoday.test.context.aot中的类
-
TestContextAotGeneratorgenerates AOT artifacts for integration tests that depend on support from the Infra TestContext Framework. - TestContextAotGenerator(GeneratedFiles) - 类的构造器 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Create a new
TestContextAotGeneratorthat uses the suppliedGeneratedFiles. - TestContextAotGenerator(GeneratedFiles, RuntimeHints) - 类的构造器 cn.taketoday.test.context.aot.TestContextAotGenerator
- TestContextAotGenerator(GeneratedFiles, RuntimeHints, boolean) - 类的构造器 cn.taketoday.test.context.aot.TestContextAotGenerator
-
Create a new
TestContextAotGeneratorthat uses the suppliedGeneratedFiles,RuntimeHints, andfailOnErrorflag. - TestContextBootstrapper - cn.taketoday.test.context中的接口
-
TestContextBootstrapperdefines the SPI for bootstrapping the TestContext Framework. - TestContextEvent - cn.taketoday.test.context.event中的类
-
Base class for events published by the
EventPublishingTestExecutionListener. - TestContextEvent(TestContext) - 类的构造器 cn.taketoday.test.context.event.TestContextEvent
-
Create a new
TestContextEvent. - TestContextFactoriesUtils - cn.taketoday.test.context.util中的类
-
Collection of utilities for working with
TodayStrategieswithin the Infra TestContext Framework. - TestContextFactoriesUtils() - 类的构造器 cn.taketoday.test.context.util.TestContextFactoriesUtils
- TestContextFailureHandler - cn.taketoday.test.context.util中的类
-
Infra factories
TodayStrategies.FailureHandlerused within the Infra TestContext Framework. - TestContextFailureHandler() - 类的构造器 cn.taketoday.test.context.util.TestContextFailureHandler
- TestContextGenerationContext - cn.taketoday.test.context.aot中的类
-
Extension of
DefaultGenerationContextwith a custom implementation ofTestContextGenerationContext.withName(String)that is specific to the Infra TestContext Framework. - TestContextGenerationContext(ClassNameGenerator, GeneratedFiles, RuntimeHints) - 类的构造器 cn.taketoday.test.context.aot.TestContextGenerationContext
-
Create a new
TestContextGenerationContextinstance backed by the specifiedClassNameGenerator,GeneratedFiles, andRuntimeHints. - TestContextGenerationContext(TestContextGenerationContext, String) - 类的构造器 cn.taketoday.test.context.aot.TestContextGenerationContext
-
Create a new
TestContextGenerationContextinstance based on the suppliedexistingcontext and feature name. - testContextHolder - 类中的变量 cn.taketoday.test.context.TestContextManager
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.JUnit4ClassRunner
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestClassCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestClassCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
- testContextManager - 类中的变量 cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
- TestContextManager - cn.taketoday.test.context中的类
-
TestContextManageris the main entry point into the Infra TestContext Framework. - TestContextManager(TestContextBootstrapper) - 类的构造器 cn.taketoday.test.context.TestContextManager
-
Construct a new
TestContextManagerusing the suppliedTestContextBootstrapperand register the necessaryTestExecutionListeners. - TestContextManager(Class<?>) - 类的构造器 cn.taketoday.test.context.TestContextManager
-
Construct a new
TestContextManagerfor the supplied test class. - testContextManagerCache - 类中的静态变量 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Cache of
TestContextManagerskeyed by test class. - TestContextManagerCacheEvictor(Statement, Class<?>) - 类的构造器 cn.taketoday.test.context.junit4.rules.InfraClassRule.TestContextManagerCacheEvictor
- TestContextResourceUtils - cn.taketoday.test.context.util中的类
-
Utility methods for working with resources within the Infra TestContext Framework.
- TestContextResourceUtils() - 类的构造器 cn.taketoday.test.context.util.TestContextResourceUtils
- TestContextRuntimeHints - cn.taketoday.test.context.hint中的类
-
RuntimeHintsRegistrarimplementation that makes types and annotations from the Infra TestContext Framework available at runtime. - TestContextRuntimeHints() - 类的构造器 cn.taketoday.test.context.hint.TestContextRuntimeHints
- TestContextTransactionAttribute(TransactionAttribute, TestContext, boolean) - 类的构造器 cn.taketoday.test.context.transaction.TestContextTransactionUtils.TestContextTransactionAttribute
- TestContextTransactionUtils - cn.taketoday.test.context.transaction中的类
-
Utility methods for working with transactions and data access related beans within the TestContext Framework.
- TestContextTransactionUtils() - 类的构造器 cn.taketoday.test.context.transaction.TestContextTransactionUtils
- TestContextTransactionUtils.TestContextTransactionAttribute - cn.taketoday.test.context.transaction中的类
- TestDispatcherServlet - cn.taketoday.test.web.servlet中的类
-
A subclass of
DispatcherServletthat saves the result in anMvcResult. - TestDispatcherServlet(WebApplicationContext) - 类的构造器 cn.taketoday.test.web.servlet.TestDispatcherServlet
-
Create a new instance with the given web application context.
- TestDispatcherServlet.MvcResultProcessingInterceptor - cn.taketoday.test.web.servlet中的类
- testerClass - 类中的变量 cn.taketoday.framework.test.json.AbstractJsonMarshalTester.FieldInitializer
- testException - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- TestExecutionListener - cn.taketoday.test.context中的接口
-
TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. - testExecutionListeners - 类中的变量 cn.taketoday.test.context.TestContextManager
- TestExecutionListeners - cn.taketoday.test.context中的Annotation Interface
-
TestExecutionListenersdefines class-level metadata for configuring whichTestExecutionListenersshould be registered with aTestContextManager. - TestExecutionListeners.MergeMode - cn.taketoday.test.context中的Enum Class
-
Enumeration of modes that dictate whether or not explicitly declared listeners are merged with the default listeners when
@TestExecutionListenersis declared on a class that does not inherit listeners from a superclass. - TestExecutionListenersPostProcessor - cn.taketoday.framework.test.context中的接口
-
Callback interface trigger from
InfraTestContextBootstrapperthat can be used to post-process the list of defaultTestExecutionListenerclasses to be used by a test. - testInstance - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
- testInstance - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
- testInstance - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
- testInstance - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
- testInstance - 类中的变量 cn.taketoday.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
- testInstance - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.ProfileValueChecker
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.RepeatTest
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestExecutionCallbacks
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.RunAfterTestMethodCallbacks
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestExecutionCallbacks
- testMethod - 类中的变量 cn.taketoday.test.context.junit4.statements.RunBeforeTestMethodCallbacks
- testMethod - 类中的变量 cn.taketoday.test.context.support.DefaultTestContext
- TestPropertySource - cn.taketoday.test.context中的Annotation Interface
-
@TestPropertySourceis a class-level annotation that is used to configure theTestPropertySource.locations()of properties files and inlinedTestPropertySource.properties()to be added to theEnvironment's set ofPropertySourcesfor anApplicationContextfor integration tests. - TestPropertySourceAttributes - cn.taketoday.test.context.support中的类
-
TestPropertySourceAttributesencapsulates attributes declared via@TestPropertySourceannotations. - TestPropertySourceAttributes(MergedAnnotation<TestPropertySource>) - 类的构造器 cn.taketoday.test.context.support.TestPropertySourceAttributes
- TestPropertySources - cn.taketoday.test.context中的Annotation Interface
-
@TestPropertySourcesis a container for one or more@TestPropertySourcedeclarations. - TestPropertySourceUtils - cn.taketoday.test.context.support中的类
-
Utility methods for working with
@TestPropertySourceand adding testPropertySourcesto theEnvironment. - TestPropertySourceUtils() - 类的构造器 cn.taketoday.test.context.support.TestPropertySourceUtils
- TestPropertySourceUtils.SequencedProperties - cn.taketoday.test.context.support中的类
-
Extension of
Propertiesthat mimics aSequencedMapby tracking all added properties with aStringkey in aLinkedHashMap. - TestPropertyValues - cn.taketoday.test.util中的类
-
Test utilities for adding properties.
- TestPropertyValues(Map<String, Object>) - 类的构造器 cn.taketoday.test.util.TestPropertyValues
- TestPropertyValues.Pair - cn.taketoday.test.util中的类
-
A single name value pair.
- TestPropertyValues.SystemPropertiesHandler - cn.taketoday.test.util中的类
-
Handler to apply and restore system properties.
- TestPropertyValues.Type - cn.taketoday.test.util中的Enum Class
-
The type of property source.
- TestRestTemplate - cn.taketoday.framework.test.web.client中的类
-
Convenient alternative of
RestTemplatethat is suitable for integration tests. - TestRestTemplate(TestRestTemplate.HttpClientOption...) - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new
TestRestTemplateinstance. - TestRestTemplate(RestTemplateBuilder) - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new
TestRestTemplateinstance. - TestRestTemplate(RestTemplateBuilder, String, String, TestRestTemplate.HttpClientOption...) - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new
TestRestTemplateinstance with the specified credentials. - TestRestTemplate(String, String, TestRestTemplate.HttpClientOption...) - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Create a new
TestRestTemplateinstance with the specified credentials. - TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory - cn.taketoday.framework.test.web.client中的类
-
HttpComponentsClientHttpRequestFactoryto apply customizations. - TestRestTemplate.HttpClientOption - cn.taketoday.framework.test.web.client中的Enum Class
-
Options used to customize the Apache HTTP Client.
- TestRestTemplate.NoOpResponseErrorHandler - cn.taketoday.framework.test.web.client中的类
- TestRestTemplateContextCustomizer - cn.taketoday.framework.test.web.client中的类
- TestRestTemplateContextCustomizer() - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- TestRestTemplateContextCustomizer.TestRestTemplateFactory - cn.taketoday.framework.test.web.client中的类
-
FactoryBeanused to create and configure aTestRestTemplate. - TestRestTemplateContextCustomizer.TestRestTemplateRegistrar - cn.taketoday.framework.test.web.client中的类
-
BeanDefinitionRegistryPostProcessorthat runs after theConfigurationClassPostProcessorand add aTestRestTemplateContextCustomizer.TestRestTemplateFactorybean definition when aTestRestTemplatehasn't already been registered. - TestRestTemplateContextCustomizerFactory - cn.taketoday.framework.test.web.client中的类
- TestRestTemplateContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizerFactory
- TestRestTemplateFactory() - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
- TestRestTemplateRegistrar() - 类的构造器 cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateRegistrar
- TestRuntimeHintsRegistrar - cn.taketoday.test.context.aot中的接口
-
Contract for registering
RuntimeHintsfor integration tests run with the Infra TestContext Framework based on theClassLoaderof the deployment unit. - testRuntimeHintsRegistrars - 类中的变量 cn.taketoday.test.context.aot.TestContextAotGenerator
- TestTransaction - cn.taketoday.test.context.transaction中的类
-
TestTransactionprovides a collection of static utility methods for programmatic interaction with test-managed transactions within test methods, before methods, and after methods. - TestTransaction() - 类的构造器 cn.taketoday.test.context.transaction.TestTransaction
- TestTypeExcludeFilter - cn.taketoday.framework.test.context.filter中的类
-
TypeExcludeFilterto exclude classes annotated with@TestComponentas well as inner-classes of tests. - TestTypeExcludeFilter() - 类的构造器 cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- Timed - cn.taketoday.test.annotation中的Annotation Interface
-
Test annotation for use with JUnit 4 to indicate that a test method has to finish execution in a specified time period.
- timeout - 类中的变量 cn.taketoday.mock.web.MockAsyncContext
- timeout - 类中的变量 cn.taketoday.test.context.junit4.statements.FailOnTimeout
- timeout - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultResponseSpec
- timeout - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- TIMEOUT - 类中的静态变量 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
- times(int) - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
Exactly N times.
- toDataBuffer(String, Charset) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- toQName(Class<T>) - 类中的方法 cn.taketoday.test.util.XpathExpectationsHelper
- toString() - 类中的方法 cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- toString() - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer.ContextCustomizerKey
- toString() - 类中的方法 cn.taketoday.framework.test.context.ImportsContextCustomizer
- toString() - 类中的方法 cn.taketoday.framework.test.json.JsonContent
- toString() - 类中的方法 cn.taketoday.framework.test.json.ObjectContent
- toString() - 类中的方法 cn.taketoday.framework.test.mock.mockito.MockDefinition
- toString() - 类中的方法 cn.taketoday.framework.test.mock.mockito.SpyDefinition
- toString() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.CapturedString
- toString() - 类中的方法 cn.taketoday.framework.test.system.OutputCapture
- toString() - 类中的方法 cn.taketoday.framework.test.system.OutputCaptureRule
- toString() - 类中的方法 cn.taketoday.mock.http.client.MockClientHttpRequest
- toString() - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpResponse
- toString() - 类中的方法 cn.taketoday.mock.web.HeaderValueHolder
- toString() - 类中的方法 cn.taketoday.mock.web.MockCookie
- toString() - 类中的方法 cn.taketoday.mock.web.MockFilterChain.ServletFilterProxy
- toString() - 类中的方法 cn.taketoday.mock.web.MockHttpServletMapping
- toString() - 类中的方法 cn.taketoday.test.context.cache.AotMergedContextConfiguration
- toString() - 类中的方法 cn.taketoday.test.context.cache.DefaultContextCache
-
Generate a text string containing the implementation type of this cache and its statistics.
- toString() - 类中的方法 cn.taketoday.test.context.ContextConfigurationAttributes
-
Provide a String representation of the context configuration attributes and declaring class.
- toString() - 类中的方法 cn.taketoday.test.context.event.ApplicationEventsTestExecutionListener.ApplicationEventsObjectFactory
- toString() - 类中的方法 cn.taketoday.test.context.jdbc.MergedSqlConfig
-
Provide a String representation of the merged SQL script configuration.
- toString() - 类中的方法 cn.taketoday.test.context.MergedContextConfiguration
-
Provide a String representation of the test class, locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, the name of the
ContextLoader, and the parent configuration. - toString() - 类中的方法 cn.taketoday.test.context.support.DefaultBootstrapContext
-
Provide a String representation of this bootstrap context's state.
- toString() - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
-
Provide a String representation of this test context's state.
- toString() - 类中的方法 cn.taketoday.test.context.support.MergedTestPropertySources
-
Provide a String representation of this
MergedTestPropertySourcesinstance. - toString() - 类中的方法 cn.taketoday.test.context.support.TestPropertySourceAttributes
-
Provide a String representation of the
@TestPropertySourceattributes and declaring class. - toString() - 类中的方法 cn.taketoday.test.context.TestContextAnnotationUtils.AnnotationDescriptor
-
Provide a textual representation of this
AnnotationDescriptor. - toString() - 类中的方法 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Provide a String representation of the test class, locations, annotated classes, context initializer classes, active profiles, property source descriptors, property source properties, context customizers, resource base path, the name of the
ContextLoader, and the parent configuration. - toString() - 类中的方法 cn.taketoday.test.util.XmlExpectationsHelper.XmlUnitDiff
- toString() - 类中的方法 cn.taketoday.test.web.reactive.server.ExchangeResult
- toString() - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector.PrintingMvcResult
- totalFailureCount - 类中的变量 cn.taketoday.test.context.cache.DefaultContextCache
- toUri(String, Object[]) - 类中的静态方法 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest
- TransactionalTestExecutionListener - cn.taketoday.test.context.transaction中的类
-
TestExecutionListenerthat provides support for executing tests within test-managed transactions by honoring Framework's@Transactionalannotation. - TransactionalTestExecutionListener() - 类的构造器 cn.taketoday.test.context.transaction.TransactionalTestExecutionListener
- TransactionContext - cn.taketoday.test.context.transaction中的类
-
Transaction context for a specific
TestContext. - TransactionContext(TestContext, PlatformTransactionManager, TransactionDefinition, boolean) - 类的构造器 cn.taketoday.test.context.transaction.TransactionContext
- TransactionContextHolder - cn.taketoday.test.context.transaction中的类
-
InheritableThreadLocal-based holder for the currentTransactionContext. - TransactionContextHolder() - 类的构造器 cn.taketoday.test.context.transaction.TransactionContextHolder
- transactionDefinition - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- transactionManager - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- transactionManager - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- transactionManager() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The bean name of the
PlatformTransactionManagerthat should be used to drive transactions. - transactionMode - 类中的变量 cn.taketoday.test.context.jdbc.MergedSqlConfig
- transactionMode() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlConfig
-
The mode to use when determining whether SQL scripts should be executed within a transaction.
- TransactionMode() - enum class的构造器 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
- transactionsStarted - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- transactionStatus - 类中的变量 cn.taketoday.test.context.transaction.TransactionContext
- transferTo(File) - 类中的方法 cn.taketoday.mock.web.MockMultipartFile
- twice() - 类中的静态方法 cn.taketoday.test.web.client.ExpectedCount
-
Exactly twice.
- type - 类中的变量 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
- type - 类中的变量 cn.taketoday.framework.test.json.JsonContent
- type - 类中的变量 cn.taketoday.framework.test.json.ObjectContent
- type - 类中的变量 cn.taketoday.framework.test.system.OutputCapture.CapturedString
- Type() - enum class的构造器 cn.taketoday.framework.test.system.OutputCapture.Type
- Type(Class<? extends MapPropertySource>, String) - enum class的构造器 cn.taketoday.test.util.TestPropertyValues.Type
- typeName(Object) - 类中的静态方法 cn.taketoday.test.context.TestContextManager
- typeToMock - 类中的变量 cn.taketoday.framework.test.mock.mockito.MockDefinition
- typeToSpy - 类中的变量 cn.taketoday.framework.test.mock.mockito.SpyDefinition
U
- UnorderedRequestExpectationManager - cn.taketoday.test.web.client中的类
-
RequestExpectationManagerthat matches requests to expectations regardless of the order of declaration of expected requests. - UnorderedRequestExpectationManager() - 类的构造器 cn.taketoday.test.web.client.UnorderedRequestExpectationManager
- unregisterApplicationEvents() - 类中的静态方法 cn.taketoday.test.context.event.ApplicationEventsHolder
-
Remove the registration of the
ApplicationEventsfor the current thread. - unregisterNamedDispatcher(String) - 类中的方法 cn.taketoday.mock.web.MockServletContext
-
Unregister the
RequestDispatcherwith the given name. - UntypedAnnotationDescriptor(Class<?>, Annotation, Class<? extends Annotation>[]) - 类的构造器 cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
- UntypedAnnotationDescriptor(Class<?>, Class<?>, Annotation, Class<? extends Annotation>[]) - 类的构造器 cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
- unwrapPayloadEvent(Object) - 类中的方法 cn.taketoday.test.context.event.DefaultApplicationEvents
- unwrapResponseIfNecessary(ServletResponse) - 类中的方法 cn.taketoday.test.web.servlet.MockMvc
- update(RequestExpectation) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
-
Invoke this for an expectation that has been matched.
- updateAcceptLanguageHeader() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- updateContentTypeHeader() - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- updateContentTypePropertyAndHeader() - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse
- updateInternal(RequestExpectation) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup
- updatePathRequestProperties(MockHttpServletRequest, String) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
Update the contextPath, servletPath, and pathInfo of the request.
- updateState(Object, Method, Throwable) - 类中的方法 cn.taketoday.test.context.support.DefaultTestContext
- updateState(Object, Method, Throwable) - 接口中的方法 cn.taketoday.test.context.TestContext
-
Update this test context to reflect the state of the currently executing test.
- upgrade(Class<T>) - 类中的方法 cn.taketoday.mock.web.MockHttpServletRequest
- upgradeHttpToWebSocket(Object, Object, ServerEndpointConfig, Map<String, String>) - 类中的方法 cn.taketoday.test.context.web.socket.MockServerContainer
- uri - 类中的变量 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager.ReplaceUriClientHttpRequest
- uri - 类中的变量 cn.taketoday.mock.http.client.MockClientHttpRequest
- uri - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uri(String, Object...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uri(String, Object...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.UriSpec
-
Specify the URI for the request using a URI template and URI variables.
- uri(String, Map<String, ?>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uri(String, Map<String, ?>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.UriSpec
-
Specify the URI for the request using a URI template and URI variables.
- uri(URI) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uri(URI) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.UriSpec
-
Specify the URI using an absolute, fully constructed
URI. - uri(Function<UriBuilder, URI>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uri(Function<UriBuilder, URI>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.UriSpec
-
Build the URI for the request with a
UriBuilderobtained through theUriBuilderFactoryconfigured for this client. - uriBuilderFactory - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- uriBuilderFactory - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- uriBuilderFactory(UriBuilderFactory) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClientBuilder
- uriBuilderFactory(UriBuilderFactory) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.Builder
-
Provide a pre-configured
UriBuilderFactoryinstance as an alternative to and effectively overridingWebTestClient.Builder.baseUrl(String). - uriTemplate - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultRequestBodyUriSpec
- uriTemplate - 类中的变量 cn.taketoday.test.web.reactive.server.ExchangeResult
- url - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- url - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpRequest.DefaultBodyBuilder
- url - 类中的变量 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
- UrlRegexRequestMatcher - cn.taketoday.test.web.servlet.htmlunit中的类
-
A
WebRequestMatcherthat allows matching onWebRequest#getUrl().toExternalForm()using a regular expression. - UrlRegexRequestMatcher(String) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.UrlRegexRequestMatcher
- UrlRegexRequestMatcher(Pattern) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.UrlRegexRequestMatcher
- useMockMvc(WebRequestMatcher...) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Add additional
WebRequestMatcherinstances that will ensure thatMockMvcis used to process the request, if such a matcher matches against the web request. - useMockMvcForHosts(String...) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Add additional
WebRequestMatcherinstances that returntrueif a supplied host matches — for example,"example.com"or"example.com:8080". - userPrincipal - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- userRoles - 类中的变量 cn.taketoday.mock.web.MockHttpServletRequest
- useTrailingSlashPatternMatch - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- useTrailingSlashPatternMatch(boolean) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Whether to match trailing slashes.
- useTrailingSlashPatternMatch(boolean) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
V
- validateAutowiredConfig(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Validate that test methods and test lifecycle methods in the supplied test class are not annotated with
@Autowired. - validateContextPath(String) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
-
Validate the supplied
contextPath. - validateMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AbstractGenericContextLoader
-
Validate the supplied
MergedContextConfigurationwith respect to what this context loader supports. - validateMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.AnnotationConfigContextLoader
-
Ensure that the supplied
MergedContextConfigurationdoes not containlocations. - validateMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.GenericPropertiesContextLoader
-
Ensure that the supplied
MergedContextConfigurationdoes not containclasses. - validateMergedContextConfiguration(MergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.support.GenericXmlContextLoader
-
Ensure that the supplied
MergedContextConfigurationdoes not containclasses. - validateMergedContextConfiguration(WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AbstractGenericWebContextLoader
-
Validate the supplied
WebMergedContextConfigurationwith respect to what this context loader supports. - validateMergedContextConfiguration(WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.AnnotationConfigWebContextLoader
-
Ensure that the supplied
WebMergedContextConfigurationdoes not containlocations. - validateMergedContextConfiguration(WebMergedContextConfiguration) - 类中的方法 cn.taketoday.test.context.web.GenericXmlWebContextLoader
-
Ensure that the supplied
WebMergedContextConfigurationdoes not containclasses. - validateRecordApplicationEventsConfig(ExtensionContext) - 类中的方法 cn.taketoday.test.context.junit.jupiter.InfraExtension
-
Validate that the test class or its enclosing class doesn't attempt to record application events in a parallel mode that makes it non-deterministic (
@TestInstance(PER_CLASS)and@Execution(CONCURRENT)combination). - validateRequest(ClientHttpRequest) - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- validateRequest(ClientHttpRequest) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- validateRequest(ClientHttpRequest) - 接口中的方法 cn.taketoday.test.web.client.RequestExpectationManager
-
Validate the given actual request against the declared expectations.
- validator - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- validator(Validator) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Provide a custom
Validator. - validator(Validator) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- value - 类中的变量 cn.taketoday.test.util.TestPropertyValues.Pair
- value() - annotation interface 中的元素 cn.taketoday.framework.test.context.InfraTest
-
Alias for
InfraTest.properties(). - value() - annotation interface 中的元素 cn.taketoday.framework.test.context.TestComponent
-
The value may indicate a suggestion for a logical component name, to be turned into a Infra bean in case of an auto-detected component.
- value() - annotation interface 中的元素 cn.taketoday.framework.test.context.TestConfiguration
-
Explicitly specify the name of the Infra bean definition associated with this Configuration class.
- value() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBean
-
The classes to mock.
- value() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.MockBeans
-
Return the contained
@MockBeanannotations. - value() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBean
-
The classes to spy.
- value() - annotation interface 中的元素 cn.taketoday.framework.test.mock.mockito.SpyBeans
-
Return the contained
@SpyBeanannotations. - value() - annotation interface 中的元素 cn.taketoday.test.annotation.IfProfileValue
-
A single, permissible
valueof the profile value for the givenIfProfileValue.name(). - value() - annotation interface 中的元素 cn.taketoday.test.annotation.ProfileValueSourceConfiguration
-
The type of
ProfileValueSourceto use when retrieving profile values. - value() - annotation interface 中的元素 cn.taketoday.test.annotation.Repeat
-
The number of times that the annotated test method should be repeated.
- value() - annotation interface 中的元素 cn.taketoday.test.annotation.Rollback
-
Whether the test-managed transaction should be rolled back after the test method has completed.
- value() - annotation interface 中的元素 cn.taketoday.test.context.ActiveProfiles
-
Alias for
ActiveProfiles.profiles(). - value() - annotation interface 中的元素 cn.taketoday.test.context.BootstrapWith
-
The
TestContextBootstrapperto use to bootstrap the Infra TestContext Framework. - value() - annotation interface 中的元素 cn.taketoday.test.context.ContextConfiguration
-
Alias for
ContextConfiguration.locations(). - value() - annotation interface 中的元素 cn.taketoday.test.context.ContextHierarchy
-
A list of
@ContextConfigurationinstances, each of which defines a level in the context hierarchy. - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.AfterTestClass
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.AfterTestExecution
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.AfterTestMethod
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.BeforeTestClass
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.BeforeTestExecution
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.BeforeTestMethod
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.event.annotation.PrepareTestInstance
-
Alias for
EventListener.condition(). - value() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.Sql
-
Alias for
Sql.scripts(). - value() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlGroup
- value() - annotation interface 中的元素 cn.taketoday.test.context.jdbc.SqlMergeMode
-
Indicates whether method-level
@Sqlannotations should be merged with class-level@Sqlannotations or override them. - value() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.DisabledIf
-
Alias for
DisabledIf.expression(); only intended to be used ifDisabledIf.reason()andDisabledIf.loadContext()are not specified. - value() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.EnabledIf
-
Alias for
EnabledIf.expression(); only intended to be used ifEnabledIf.reason()andEnabledIf.loadContext()are not specified. - value() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.JUnitConfig
-
Alias for
ContextConfiguration.classes(). - value() - annotation interface 中的元素 cn.taketoday.test.context.junit.jupiter.web.JUnitWebConfig
-
Alias for
ContextConfiguration.classes(). - value() - annotation interface 中的元素 cn.taketoday.test.context.NestedTestConfiguration
-
Configures the
NestedTestConfiguration.EnclosingConfigurationmode. - value() - annotation interface 中的元素 cn.taketoday.test.context.support.ContextCustomizerFactories
-
Alias for
ContextCustomizerFactories.factories(). - value() - annotation interface 中的元素 cn.taketoday.test.context.TestExecutionListeners
-
Alias for
TestExecutionListeners.listeners(). - value() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySource
-
Alias for
TestPropertySource.locations(). - value() - annotation interface 中的元素 cn.taketoday.test.context.TestPropertySources
-
An array of one or more
@TestPropertySourcedeclarations. - value() - annotation interface 中的元素 cn.taketoday.test.context.web.WebAppConfiguration
-
The resource path to the root directory of the web application.
- value(Object) - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert that the result is equal to the supplied value.
- value(Object) - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert that the result is equal to the supplied value.
- value(String, String) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie value.
- value(String, Consumer<String>) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Consume the value of the response cookie.
- value(String, Consumer<String>) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Consume the first value of the named response header.
- value(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Assert the first value of the response cookie with a Hamcrest
Matcher. - value(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Assert the first value of the response header with a Hamcrest
Matcher. - value(String, Matcher<? super String>) - 类中的方法 cn.taketoday.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie value with the given Hamcrest
Matcher. - value(Consumer<B>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- value(Consumer<B>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Assert the extracted body with a
Consumer. - value(Consumer<Integer>) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Consume the response status value as an integer.
- value(Consumer<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
-
Consume the result of the JSONPath evaluation.
- value(Consumer<T>, Class<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
-
Consume the result of the JSONPath evaluation and provide a target class.
- value(Function<B, R>, Matcher<? super R>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- value(Function<B, R>, Matcher<? super R>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Transform the extracted the body with a function, e.g. extracting a property, and assert the mapped value with a
Matcher. - value(Matcher<? super B>) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodySpec
- value(Matcher<? super B>) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodySpec
-
Assert the extracted body with a
Matcher. - value(Matcher<? super Integer>) - 类中的方法 cn.taketoday.test.web.reactive.server.StatusAssertions
-
Match the response status value with a Hamcrest matcher.
- value(Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
Evaluate the JSON path expression against the request content and assert the resulting value with the given Hamcrest
Matcher. - value(Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
-
Delegates to
JsonPathExpectationsHelper.assertValue(String, Matcher). - value(Matcher<? super T>) - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
Evaluate the JSON path expression against the response content and assert the resulting value with the given Hamcrest
Matcher. - value(Matcher<? super T>, Class<T>) - 类中的方法 cn.taketoday.test.web.client.match.JsonPathRequestMatchers
-
An overloaded variant of
JsonPathRequestMatchers.value(Matcher)that also accepts a target type for the resulting value that the matcher can work reliably against. - value(Matcher<? super T>, Class<T>) - 类中的方法 cn.taketoday.test.web.reactive.server.JsonPathAssertions
- value(Matcher<? super T>, Class<T>) - 类中的方法 cn.taketoday.test.web.servlet.result.JsonPathResultMatchers
-
An overloaded variant of
JsonPathResultMatchers.value(Matcher)that also accepts a target type for the resulting value that the matcher can work reliably against. - valueEquals(String, long) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a header with the given name to match the given long value.
- valueEquals(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.CookieAssertions
-
Expect a header with the given name to match the specified values.
- valueEquals(String, String...) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a header with the given name to match the specified values.
- valueEqualsDate(String, long) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Expect a header with the given name to match the specified long value parsed into a date using the preferred date format described in RFC 7231.
- valueMatches(String, String) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Match the first value of the response header with a regex.
- valueOf(String) - enum class中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.framework.test.system.OutputCapture.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.HierarchyMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.MethodMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlMergeMode.MergeMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.support.ContextCustomizerFactories.MergeMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.TestConstructor.AutowireMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.context.TestExecutionListeners.MergeMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 cn.taketoday.test.util.TestPropertyValues.Type
-
Returns the enum constant of this class with the specified name.
- values - 类中的变量 cn.taketoday.mock.web.HeaderValueHolder
- values() - enum class中的静态方法 cn.taketoday.framework.test.context.assertj.ApplicationContextAssert.Scope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.framework.test.system.OutputCapture.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.framework.test.web.client.TestRestTemplate.HttpClientOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.ClassMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.HierarchyMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.annotation.DirtiesContext.MethodMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - annotation interface 中的元素 cn.taketoday.test.annotation.IfProfileValue
-
A list of all permissible
valuesof the profile value for the givenIfProfileValue.name(). - values() - enum class中的静态方法 cn.taketoday.test.context.jdbc.Sql.ExecutionPhase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlConfig.ErrorMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlConfig.TransactionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.jdbc.SqlMergeMode.MergeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.NestedTestConfiguration.EnclosingConfiguration
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.support.ContextCustomizerFactories.MergeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.TestConstructor.AutowireMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.context.TestExecutionListeners.MergeMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - enum class中的静态方法 cn.taketoday.test.util.TestPropertyValues.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(String, Consumer<List<String>>) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Consume all values of the named response header.
- values(String, Matcher<? super Iterable<String>>) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Assert all values of the response header with a Hamcrest
Matcher. - valuesMatch(String, String...) - 类中的方法 cn.taketoday.test.web.reactive.server.HeaderAssertions
-
Match all values of the response header with the given regex patterns which are applied to the values of the header in the same order.
- verify() - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
- verify() - 类中的方法 cn.taketoday.framework.test.json.BasicJsonTester
- verify() - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- verify() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- verify() - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Verify that all expected requests set up via
MockRestServiceServer.expect(RequestMatcher)were indeed performed. - verify() - 接口中的方法 cn.taketoday.test.web.client.RequestExpectationManager
-
Verify that all expectations have been met.
- verify(Duration) - 类中的方法 cn.taketoday.framework.test.web.client.RootUriRequestExpectationManager
- verify(Duration) - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- verify(Duration) - 类中的方法 cn.taketoday.test.web.client.MockRestServiceServer
-
Variant of
MockRestServiceServer.verify()that waits for up to the specified time for all expectations to be fulfilled. - verify(Duration) - 接口中的方法 cn.taketoday.test.web.client.RequestExpectationManager
-
Variant of
RequestExpectationManager.verify()that waits for up to the specified time for all expectations to be fulfilled. - verifyConfiguration(Class<?>) - 类中的方法 cn.taketoday.framework.test.context.InfraTestContextBootstrapper
- verifyInternal() - 类中的方法 cn.taketoday.test.web.client.AbstractRequestExpectationManager
- view - 类中的变量 cn.taketoday.framework.test.json.JacksonTester
- view - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StaticViewResolver
- view() - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to assertions on the selected view.
- VIEW_ATTRIBUTE - 接口中的静态变量 cn.taketoday.test.web.servlet.MvcResult
- VIEW_NAME_ATTRIBUTE - 接口中的静态变量 cn.taketoday.test.web.servlet.MvcResult
- ViewAttributeReturnValueHandler(ViewResolver) - 类的构造器 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler
- viewResolvers - 类中的变量 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder
- viewResolvers(ViewResolver...) - 接口中的方法 cn.taketoday.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set up view resolution.
- viewResolvers(ViewResolver...) - 类中的方法 cn.taketoday.test.web.servlet.client.StandaloneMockMvcSpec
- ViewResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the selected view.
- ViewResultMatchers() - 类的构造器 cn.taketoday.test.web.servlet.result.ViewResultMatchers
-
Protected constructor.
- viewReturnValueHandler(LocaleResolver, List<ViewResolver>) - 类中的方法 cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
W
- WEB_APP_CONFIGURATION_ANNOTATION_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- WEB_APP_CONFIGURATION_ANNOTATION_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- WEB_MERGED_CONTEXT_CONFIGURATION_CLASS_NAME - 类中的静态变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- WebAppConfiguration - cn.taketoday.test.context.web中的Annotation Interface
-
@WebAppConfigurationis a class-level annotation that is used to declare that theApplicationContextloaded for an integration test should be aWebApplicationContext. - webAppConfigurationClass - 类中的静态变量 cn.taketoday.test.context.BootstrapUtils
- webAppContext - 类中的变量 cn.taketoday.test.web.servlet.setup.DefaultMockMvcBuilder
- webAppContextSetup(WebApplicationContext) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
-
Create a new
MockMvcWebClientBuilderbased on the suppliedWebApplicationContext. - webAppContextSetup(WebApplicationContext) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Create a new
MockMvcHtmlUnitDriverBuilderbased on the suppliedWebApplicationContext. - webAppContextSetup(WebApplicationContext) - 类中的静态方法 cn.taketoday.test.web.servlet.setup.MockMvcBuilders
-
Build a
MockMvcinstance using the given, fully initialized (i.e., refreshed)WebApplicationContext. - webAppContextSetup(WebApplicationContext, MockMvcConfigurer) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
-
Create a new
MockMvcWebClientBuilderbased on the suppliedWebApplicationContextandMockMvcConfigurer. - webAppContextSetup(WebApplicationContext, MockMvcConfigurer) - 类中的静态方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Create a new
MockMvcHtmlUnitDriverBuilderbased on the suppliedWebApplicationContextandMockMvcConfigurer. - WebApplicationContextRunner - cn.taketoday.framework.test.context.runner中的类
-
An
ApplicationContext runnerfor a Servlet basedConfigurableWebApplicationContext. - WebApplicationContextRunner() - 类的构造器 cn.taketoday.framework.test.context.runner.WebApplicationContextRunner
-
Create a new
WebApplicationContextRunnerinstance using anAnnotationConfigServletWebApplicationContextwith aMockServletContextas the underlying source. - WebApplicationContextRunner(AbstractApplicationContextRunner.RunnerConfiguration<ConfigurableWebApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.WebApplicationContextRunner
- WebApplicationContextRunner(Supplier<ConfigurableWebApplicationContext>) - 类的构造器 cn.taketoday.framework.test.context.runner.WebApplicationContextRunner
-
Create a new
WebApplicationContextRunnerinstance using the specifiedcontextFactoryas the underlying source. - webClient - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- webClient - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- webClient - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebConnection
- webClientPresent - 类中的静态变量 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizerFactory
- WebConfigurer() - 类的构造器 cn.taketoday.framework.test.context.InfraApplicationContextLoader.WebConfigurer
- WebConnectionHtmlUnitDriver - cn.taketoday.test.web.servlet.htmlunit.webdriver中的类
-
WebConnectionHtmlUnitDriverenables configuration of theWebConnectionfor anHtmlUnitDriverinstance. - WebConnectionHtmlUnitDriver() - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
- WebConnectionHtmlUnitDriver(boolean) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
- WebConnectionHtmlUnitDriver(BrowserVersion) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
- WebConnectionHtmlUnitDriver(Capabilities) - 类的构造器 cn.taketoday.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
- WebDelegatingSmartContextLoader - cn.taketoday.test.context.web中的类
-
WebDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlWebContextLoaderand anAnnotationConfigWebContextLoader. - WebDelegatingSmartContextLoader() - 类的构造器 cn.taketoday.test.context.web.WebDelegatingSmartContextLoader
- webEnvironment - 类中的变量 cn.taketoday.framework.test.context.InfraTestWebEnvironment
- webEnvironment() - annotation interface 中的元素 cn.taketoday.framework.test.context.InfraTest
-
The type of web environment to create when applicable.
- WebEnvironment(boolean) - enum class的构造器 cn.taketoday.framework.test.context.InfraTest.WebEnvironment
- WebMergedContextConfiguration - cn.taketoday.test.context.web中的类
-
WebMergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses via@ContextConfiguration,@WebAppConfiguration, and@ActiveProfiles. - WebMergedContextConfiguration(MergedContextConfiguration, String) - 类的构造器 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Create a new
WebMergedContextConfigurationinstance by copying all properties from the suppliedMergedContextConfiguration. - WebMergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], String[], String[], String, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Create a new
WebMergedContextConfigurationinstance for the supplied parameters. - WebMergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], String[], String[], Set<ContextCustomizer>, String, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Create a new
WebMergedContextConfigurationinstance for the supplied parameters. - WebMergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer>>, String[], List<PropertySourceDescriptor>, String[], Set<ContextCustomizer>, String, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - 类的构造器 cn.taketoday.test.context.web.WebMergedContextConfiguration
-
Create a new
WebMergedContextConfigurationinstance for the supplied parameters. - webMergedContextConfigurationClass - 类中的静态变量 cn.taketoday.test.context.aot.MergedContextConfigurationRuntimeHints
- webRequest - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.HtmlUnitRequestBuilder
- webRequest - 类中的变量 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- WebRequestMatcher - cn.taketoday.test.web.servlet.htmlunit中的接口
-
Strategy for matching on a
WebRequest. - webResponseData() - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockWebResponseBuilder
- webSocketPresent - 类中的静态变量 cn.taketoday.test.context.web.socket.MockServerContainerContextCustomizerFactory
- WebTestClient - cn.taketoday.test.web.reactive.server中的接口
-
Client for testing web servers that uses
WebClientinternally to perform requests while also providing a fluent API to verify responses. - WEBTESTCLIENT_REQUEST_ID - 接口中的静态变量 cn.taketoday.test.web.reactive.server.WebTestClient
-
The name of a request header used to assign a unique id to every request performed through the
WebTestClient. - WebTestClient.BodyContentSpec - cn.taketoday.test.web.reactive.server中的接口
-
Spec for expectations on the response body content.
- WebTestClient.BodySpec<B,
S extends WebTestClient.BodySpec<B, S>> - cn.taketoday.test.web.reactive.server中的接口 -
Spec for expectations on the response body decoded to a single Object.
- WebTestClient.Builder - cn.taketoday.test.web.reactive.server中的接口
-
Steps for customizing the
WebClientused to test with, internally delegating to aWebClient.Builder. - WebTestClient.ListBodySpec<E> - cn.taketoday.test.web.reactive.server中的接口
-
Spec for expectations on the response body decoded to a List.
- WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>> - cn.taketoday.test.web.reactive.server中的接口
-
Base specification for setting up tests without a server.
- WebTestClient.RequestBodySpec - cn.taketoday.test.web.reactive.server中的接口
-
Specification for providing body of a request.
- WebTestClient.RequestBodyUriSpec - cn.taketoday.test.web.reactive.server中的接口
-
Specification for providing the body and the URI of a request.
- WebTestClient.RequestHeadersSpec<S extends WebTestClient.RequestHeadersSpec<S>> - cn.taketoday.test.web.reactive.server中的接口
-
Specification for adding request headers and performing an exchange.
- WebTestClient.RequestHeadersUriSpec<S extends WebTestClient.RequestHeadersSpec<S>> - cn.taketoday.test.web.reactive.server中的接口
-
Specification for providing request headers and the URI of a request.
- WebTestClient.ResponseSpec - cn.taketoday.test.web.reactive.server中的接口
-
Chained API for applying assertions to a response.
- WebTestClient.ResponseSpec.ResponseSpecConsumer - cn.taketoday.test.web.reactive.server中的接口
- WebTestClient.RouterFunctionSpec - cn.taketoday.test.web.reactive.server中的接口
-
Specification for customizing router function configuration.
- WebTestClient.UriSpec<S extends WebTestClient.RequestHeadersSpec<?>> - cn.taketoday.test.web.reactive.server中的接口
-
Specification for providing the URI of a request.
- WebTestClientBuilderCustomizer - cn.taketoday.framework.test.web.reactive.server中的接口
-
A customizer for a
WebTestClient.Builder. - WebTestClientConfigurer - cn.taketoday.test.web.reactive.server中的接口
-
Contract to encapsulate customizations to a
WebTestClient.Builder. - WebTestClientContextCustomizer - cn.taketoday.framework.test.web.reactive.server中的类
- WebTestClientContextCustomizer() - 类的构造器 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer
- WebTestClientContextCustomizer.WebTestClientFactory - cn.taketoday.framework.test.web.reactive.server中的类
-
FactoryBeanused to create and configure aWebTestClient. - WebTestClientContextCustomizer.WebTestClientRegistrar - cn.taketoday.framework.test.web.reactive.server中的类
-
BeanDefinitionRegistryPostProcessorthat runs after theConfigurationClassPostProcessorand add aWebTestClientContextCustomizer.WebTestClientFactorybean definition when aWebTestClienthasn't already been registered. - WebTestClientContextCustomizerFactory - cn.taketoday.framework.test.web.reactive.server中的类
-
ContextCustomizerFactoryforWebTestClient. - WebTestClientContextCustomizerFactory() - 类的构造器 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizerFactory
- WebTestClientFactory() - 类的构造器 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientFactory
- WebTestClientRegistrar() - 类的构造器 cn.taketoday.framework.test.web.reactive.server.WebTestClientContextCustomizer.WebTestClientRegistrar
- WebTestContextBootstrapper - cn.taketoday.test.context.web中的类
-
Web-specific implementation of the
TestContextBootstrapperSPI. - WebTestContextBootstrapper() - 类的构造器 cn.taketoday.test.context.web.WebTestContextBootstrapper
- WiretapClientHttpRequest(ClientHttpRequest) - 类的构造器 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- WiretapClientHttpResponse(ClientHttpResponse) - 类的构造器 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpResponse
- wiretapConnector - 类中的变量 cn.taketoday.test.web.reactive.server.DefaultWebTestClient
- WiretapConnector - cn.taketoday.test.web.reactive.server中的类
-
Decorate another
ClientHttpConnectorwith the purpose of intercepting, capturing, and exposing actual request and response data transmitted to and received from the server. - WiretapConnector(ClientHttpConnector) - 类的构造器 cn.taketoday.test.web.reactive.server.WiretapConnector
- WiretapConnector.ClientExchangeInfo - cn.taketoday.test.web.reactive.server中的类
- WiretapConnector.WiretapClientHttpRequest - cn.taketoday.test.web.reactive.server中的类
-
ClientHttpRequestDecorator that intercepts and saves the request body.
- WiretapConnector.WiretapClientHttpResponse - cn.taketoday.test.web.reactive.server中的类
-
ClientHttpResponseDecorator that intercepts and saves the response body.
- WiretapConnector.WiretapRecorder - cn.taketoday.test.web.reactive.server中的类
-
Tap into a Publisher of data buffers to save the content.
- WiretapRecorder(Publisher<? extends DataBuffer>, Publisher<? extends Publisher<? extends DataBuffer>>) - 类的构造器 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapRecorder
- with(RequestPostProcessor) - 接口中的方法 cn.taketoday.test.web.servlet.request.ConfigurableSmartRequestBuilder
-
Add the given
RequestPostProcessor. - with(RequestPostProcessor) - 类中的方法 cn.taketoday.test.web.servlet.request.MockHttpServletRequestBuilder
-
An extension point for further initialization of
MockHttpServletRequestin ways not built directly into theMockHttpServletRequestBuilder. - with(Function<SELF, SELF>) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Apply customization to this runner.
- with(List<RequestPostProcessor>) - 类中的方法 cn.taketoday.test.web.servlet.client.MockMvcHttpConnector
-
Create a new instance that applies the given
RequestPostProcessors to performed requests. - withAccepted() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 202 response (ACCEPTED). - withAfterClasses(Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the
Statementreturned by the parent implementation with aRunAfterTestClassCallbacksstatement, thus preserving the default JUnit functionality while adding support for the TestContext Framework. - withAfters(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the
Statementreturned by the parent implementation with aRunAfterTestMethodCallbacksstatement, thus preserving the default functionality while adding support for the Infra TestContext Framework. - withAfterTestClassCallbacks(Statement, TestContextManager) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Wrap the supplied
Statementwith aRunAfterTestClassCallbacksstatement. - withAfterTestExecutionCallbacks(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the supplied
Statementwith aRunAfterTestExecutionCallbacksstatement, thus preserving the default functionality while adding support for the TestContext Framework. - withAfterTestMethodCallbacks(Statement, Method, Object, TestContextManager) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aRunAfterTestMethodCallbacksstatement. - withAllowBeanDefinitionOverriding(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withAllowBeanDefinitionOverriding(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Specify if bean definition overriding, by registering a definition with the same name as an existing definition, should be allowed.
- withAllowCircularReferences(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withAllowCircularReferences(boolean) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Specify if circular references between beans should be allowed.
- withBadGateway() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 502 response (BAD_GATEWAY). - withBadRequest() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 400 response (BAD_REQUEST). - withBasicAuth(String, String) - 类中的方法 cn.taketoday.framework.test.web.client.TestRestTemplate
-
Creates a new
TestRestTemplatewith the same configuration as this one, except that it will send basic authorization headers using the givenusernameandpassword. - withBean(Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified user bean with the
ApplicationContext. - withBean(Class<T>, Supplier<T>, BeanDefinitionCustomizer...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified user bean with the
ApplicationContext. - withBean(String, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withBean(String, Class<T>, Object...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified user bean with the
ApplicationContext. - withBean(String, Class<T>, Supplier<T>, BeanDefinitionCustomizer...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withBean(String, Class<T>, Supplier<T>, BeanDefinitionCustomizer...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified user bean with the
ApplicationContext. - withBeforeClasses(Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the
Statementreturned by the parent implementation with aRunBeforeTestClassCallbacksstatement, thus preserving the default JUnit functionality while adding support for the Infra TestContext Framework. - withBefores(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the
Statementreturned by the parent implementation with aRunBeforeTestMethodCallbacksstatement, thus preserving the default functionality while adding support for the Infra TestContext Framework. - withBeforeTestClassCallbacks(Statement, TestContextManager) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Wrap the supplied
Statementwith aRunBeforeTestClassCallbacksstatement. - withBeforeTestExecutionCallbacks(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the supplied
Statementwith aRunBeforeTestExecutionCallbacksstatement, thus preserving the default functionality while adding support for the TestContext Framework. - withBeforeTestMethodCallbacks(Statement, Method, Object, TestContextManager) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aRunBeforeTestMethodCallbacksstatement. - withClassLoader(ClassLoader) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withClassLoader(ClassLoader) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Customize the
ClassLoaderthat theApplicationContextshould use for resource loading and bean class loading. - withConfiguration(Configurations) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withConfiguration(Configurations) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified configuration classes with the
ApplicationContext. - withContextClassLoader(ClassLoader, Runnable) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
- withCreatedEntity(URI) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 201 response (CREATED) with a 'Location' header. - withDelegate(WebConnectionHtmlUnitDriver) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- withDelegate(WebClient) - 类中的方法 cn.taketoday.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- withException(IOException) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorwith an internal applicationIOException. - withForbiddenRequest() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 403 response (FORBIDDEN). - withGatewayTimeout() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 504 response (GATEWAY_TIMEOUT). - withInitializer(ApplicationContextInitializer) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withInitializer(ApplicationContextInitializer) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Add an
ApplicationContextInitializerto be called when the context is created. - withMockServletContext(Supplier<ConfigurableWebApplicationContext>) - 类中的静态方法 cn.taketoday.framework.test.context.runner.WebApplicationContextRunner
-
Decorate the specified
contextFactoryto set aMockServletContexton each newly createdWebApplicationContext. - withName(String) - 类中的方法 cn.taketoday.test.context.aot.TestContextGenerationContext
-
Create a new
TestContextGenerationContextinstance using the specified feature name to qualify generated assets for a dedicated round of code generation. - withNoContent() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 204 response (NO_CONTENT). - withParent(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withParent(ApplicationContext) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Configure the
parentof theApplicationContext. - withPotentialRepeat(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Wrap the supplied
Statementwith aRepeatTeststatement. - withPotentialRepeat(Statement, Method, Object) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aRepeatTeststatement. - withPotentialTimeout(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Perform the same logic as
BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement)but with additional support for Framework's@Timedannotation. - withPotentialTimeout(Statement, Method, Object) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aFailOnTimeoutstatement. - withProfileValueCheck(Statement, Class<?>) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Wrap the supplied
Statementwith aProfileValueCheckerstatement. - withProfileValueCheck(Statement, Method, Object) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aProfileValueCheckerstatement. - withProperty(String, Object) - 类中的方法 cn.taketoday.mock.env.MockPropertySource
-
Convenient synonym for
MockPropertySource.setProperty(java.lang.String, java.lang.Object)that returns the current instance. - withProperty(String, String) - 类中的方法 cn.taketoday.mock.env.MockEnvironment
-
Convenient synonym for
MockEnvironment.setProperty(java.lang.String, java.lang.String)that returns the current instance. - withPropertyValues(String...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withPropertyValues(String...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Add the specified
Environmentproperty pairs. - withRawStatus(int) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
Variant of
MockRestResponseCreators.withStatus(HttpStatusCode)with an integer. - withRequestConflict() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 409 response (CONFLICT). - withResourceNotFound() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 404 response (NOT_FOUND). - withRulesMethod - 类中的静态变量 cn.taketoday.test.context.junit4.JUnit4ClassRunner
- withRulesReflectively(FrameworkMethod, Object, Statement) - 类中的方法 cn.taketoday.test.context.junit4.JUnit4ClassRunner
-
Invoke JUnit's private
withRules()method using reflection. - withServerError() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 500 response (SERVER_ERROR). - withServiceUnavailable() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 503 response (SERVICE_UNAVAILABLE). - withSettings(MockReset) - enum class中的静态方法 cn.taketoday.framework.test.mock.mockito.MockReset
-
Create
settingsto be used with mocks where a specific reset should occur. - withStatus(HttpStatusCode) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorwith a specific HTTP status. - withSuccess() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 200 response (OK). - withSuccess(byte[], MediaType) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 200 response (OK) with byte[] body. - withSuccess(Resource, MediaType) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 200 response (OK) content withResource-based body. - withSuccess(String, MediaType) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 200 response (OK) with String body. - withSystemProperties(String...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner.RunnerConfiguration
- withSystemProperties(String...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Add the specified
Systemproperty pairs. - withTestContextManagerCacheEviction(Statement, Class<?>) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraClassRule
-
Wrap the supplied
Statementwith aTestContextManagerCacheEvictorstatement. - withTestInstancePreparation(Statement, Object, TestContextManager) - 类中的方法 cn.taketoday.test.context.junit4.rules.InfraMethodRule
-
Wrap the supplied
Statementwith aRunPrepareTestInstanceCallbacksstatement. - withTooManyRequests() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 429 ratelimited response (TOO_MANY_REQUESTS). - withTooManyRequests(int) - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 429 rate-limited response (TOO_MANY_REQUESTS) with aRetry-Afterheader in seconds. - withUnauthorizedRequest() - 类中的静态方法 cn.taketoday.test.web.client.response.MockRestResponseCreators
-
ResponseCreatorfor a 401 response (UNAUTHORIZED). - withUserConfiguration(Class<?>...) - 类中的方法 cn.taketoday.framework.test.context.runner.AbstractApplicationContextRunner
-
Register the specified user configuration classes with the
ApplicationContext. - write(byte[], int, int) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
- write(char[], int, int) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- write(char[], int, int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- write(char[], int, int) - 类中的方法 cn.taketoday.mock.web.MockJspWriter
- write(int) - 类中的方法 cn.taketoday.framework.test.system.OutputCapture.OutputStreamCapture
- write(int) - 类中的方法 cn.taketoday.mock.web.DelegatingServletOutputStream
- write(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- write(int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponseServletOutputStream
- write(String) - 类中的方法 cn.taketoday.mock.web.MockPart
- write(String, int, int) - 类中的方法 cn.taketoday.mock.web.MockHttpServletResponse.ResponsePrintWriter
- write(T) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Return
JsonContentfrom writing the specific value. - writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>>) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- writeAndFlushWith(Publisher<? extends Publisher<? extends DataBuffer>>) - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- writeAndFlushWithInternal(Publisher<? extends Publisher<? extends DataBuffer>>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- writeHandler - 类中的变量 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- writeHandler - 类中的变量 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
- writeObject(T, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.AbstractJsonMarshalTester
-
Write the specified object to a JSON string.
- writeObject(T, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.GsonTester
- writeObject(T, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JacksonTester
- writeObject(T, ResolvableType) - 类中的方法 cn.taketoday.framework.test.json.JsonbTester
- writeOut(Writer) - 类中的方法 cn.taketoday.mock.web.MockBodyContent
- writer - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- writerAccessAllowed - 类中的变量 cn.taketoday.mock.web.MockHttpServletResponse
- writeWith(Publisher<? extends DataBuffer>) - 类中的方法 cn.taketoday.mock.http.client.reactive.MockClientHttpRequest
- writeWith(Publisher<? extends DataBuffer>) - 类中的方法 cn.taketoday.test.web.reactive.server.WiretapConnector.WiretapClientHttpRequest
- writeWithInternal(Publisher<? extends DataBuffer>) - 类中的方法 cn.taketoday.mock.http.server.reactive.MockServerHttpResponse
X
- xml(String) - 类中的方法 cn.taketoday.test.web.client.match.ContentRequestMatchers
-
Parse the request body and the given String as XML and assert that the two are "similar" - i.e. they contain the same elements and attributes regardless of order.
- xml(String) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- xml(String) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Parse expected and actual response content as XML and assert that the two are "similar", i.e. they contain the same elements and attributes regardless of order.
- xml(String) - 类中的方法 cn.taketoday.test.web.servlet.result.ContentResultMatchers
-
Parse the response content and the given string as XML and assert the two are "similar" - i.e. they contain the same elements and attributes regardless of order.
- XmlExpectationsHelper - cn.taketoday.test.util中的类
-
A helper class for assertions on XML content.
- XmlExpectationsHelper() - 类的构造器 cn.taketoday.test.util.XmlExpectationsHelper
- XmlExpectationsHelper.XmlUnitDiff - cn.taketoday.test.util中的类
-
Inner class to prevent hard dependency on XML Unit.
- xmlHelper - 类中的变量 cn.taketoday.test.web.client.match.ContentRequestMatchers
- xmlHelper - 类中的变量 cn.taketoday.test.web.servlet.result.ContentResultMatchers
- xmlLoader - 类中的变量 cn.taketoday.test.context.support.DelegatingSmartContextLoader
- xmlLoader - 类中的变量 cn.taketoday.test.context.web.WebDelegatingSmartContextLoader
- XmlUnitDiff(String, String) - 类的构造器 cn.taketoday.test.util.XmlExpectationsHelper.XmlUnitDiff
- xpath(String, Object...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Access to request body matchers using an XPath to inspect a specific subset of the body.
- xpath(String, Object...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Access to response body assertions using an XPath expression to inspect a specific subset of the body.
- xpath(String, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response body assertions using an XPath expression to inspect a specific subset of the body.
- xpath(String, Map<String, String>, Object...) - 类中的静态方法 cn.taketoday.test.web.client.match.MockRestRequestMatchers
-
Access to response body matchers using an XPath to inspect a specific subset of the body.
- xpath(String, Map<String, String>, Object...) - 类中的方法 cn.taketoday.test.web.reactive.server.DefaultWebTestClient.DefaultBodyContentSpec
- xpath(String, Map<String, String>, Object...) - 接口中的方法 cn.taketoday.test.web.reactive.server.WebTestClient.BodyContentSpec
-
Access to response body assertions with specific namespaces using an XPath expression to inspect a specific subset of the body.
- xpath(String, Map<String, String>, Object...) - 类中的静态方法 cn.taketoday.test.web.servlet.result.MockMvcResultMatchers
-
Access to response body assertions using an XPath expression to inspect a specific subset of the body.
- XpathAssertions - cn.taketoday.test.web.reactive.server中的类
-
XPath assertions for the
WebTestClient. - XpathAssertions(WebTestClient.BodyContentSpec, String, Map<String, String>, Object...) - 类的构造器 cn.taketoday.test.web.reactive.server.XpathAssertions
- XpathAssertions.CheckedExceptionTask - cn.taketoday.test.web.reactive.server中的接口
-
Lets us be able to use lambda expressions that could throw checked exceptions, since
XpathExpectationsHelperthrowsExceptionon its methods. - XpathExpectationsHelper - cn.taketoday.test.util中的类
-
A helper class for applying assertions via XPath expressions.
- XpathExpectationsHelper(String, Map<String, String>, Object...) - 类的构造器 cn.taketoday.test.util.XpathExpectationsHelper
-
XpathExpectationsHelper constructor.
- xpathExpression - 类中的变量 cn.taketoday.test.util.XpathExpectationsHelper
- xpathHelper - 类中的变量 cn.taketoday.test.web.client.match.XpathRequestMatchers
- xpathHelper - 类中的变量 cn.taketoday.test.web.reactive.server.XpathAssertions
- xpathHelper - 类中的变量 cn.taketoday.test.web.servlet.result.XpathResultMatchers
- XpathRequestMatchers - cn.taketoday.test.web.client.match中的类
-
Factory methods for request content
RequestMatcherimplementations that use an XPath expression. - XpathRequestMatchers(String, Map<String, String>, Object...) - 类的构造器 cn.taketoday.test.web.client.match.XpathRequestMatchers
-
Class constructor, not for direct instantiation.
- XpathRequestMatchers.XpathRequestMatcher - cn.taketoday.test.web.client.match中的接口
-
Functional interface for XPath
RequestMatcherimplementations. - XpathResultMatchers - cn.taketoday.test.web.servlet.result中的类
-
Factory for assertions on the response content using XPath expressions.
- XpathResultMatchers(String, Map<String, String>, Object...) - 类的构造器 cn.taketoday.test.web.servlet.result.XpathResultMatchers
-
Protected constructor, not for direct instantiation.
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
assertThat(context)...calls instead.