所有类
所有类 接口概要 类概要 枚举概要 注释类型概要 类 说明 AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,C,A>,C extends org.springframework.context.ConfigurableApplicationContext,A extends ApplicationContextAssertProvider<C>> Utility design to run and anApplicationContextand provide AssertJ style assertions.AbstractJsonMarshalTester<T> Base class for AssertJ based JSON marshal testers.AbstractJsonMarshalTester.FieldInitializer<M> Utility class used to support field initialization.AnnotatedClassFinder Utility class to find a class annotated with a particular annotation in a hierarchy.ApplicationContextAssert<C extends org.springframework.context.ApplicationContext> AssertJassertionsthat can be applied to anApplicationContext.ApplicationContextAssert.Scope The scope of an assertion.ApplicationContextAssertProvider<C extends org.springframework.context.ApplicationContext> AnApplicationContextthat additionally supports AssertJ style assertions.ApplicationContextRunner AnApplicationContext runnerfor a standard, non-web environmentConfigurableApplicationContext.ApplicationContextTestUtils Application context related test utilities.AssertableApplicationContext AnApplicationContextthat additionally supports AssertJ style assertions.AssertableReactiveWebApplicationContext AReactiveWebApplicationContextthat additionally supports AssertJ style assertions.AssertableWebApplicationContext AWebApplicationContextthat additionally supports AssertJ style assertions.BasicJsonTester AssertJ based JSON tester that works with basic JSON strings.ConfigFileApplicationContextInitializer ApplicationContextInitializerthat can be used with theContextConfiguration.initializers()to trigger loading of application.properties.ContextConsumer<C extends org.springframework.context.ApplicationContext> Callback interface used to process anApplicationContextwith the ability to throw a (checked) exception.DefaultTestExecutionListenersPostProcessor Callback interface trigger fromSpringBootTestContextBootstrapperthat can be used to post-process the list of defaultTestExecutionListenerclasses to be used by a test.FilteredClassLoader TestURLClassLoaderthat can filter the classes and resources it can load.FilteredClassLoader.ClassFilter Filter to restrict the classes that can be loaded.FilteredClassLoader.ClassPathResourceFilter Filter to restrict the resources that can be loaded.FilteredClassLoader.PackageFilter Filter to restrict the packages that can be loaded.GsonTester<T> AssertJ based JSON tester backed by Gson.JacksonTester<T> AssertJ based JSON tester backed by Jackson.JsonbTester<T> AssertJ based JSON tester backed by Jsonb.JsonContent<T> JSON content created usually from a JSON tester.JsonContentAssert AssertJAssertforJsonContent.LocalHostUriTemplateHandler UriTemplateHandlerwill automatically prefix relative URIs withlocalhost:${local.server.port}.LocalHostWebClient WebClientwill automatically prefix relative URLs withlocalhost:${local.server.port}.LocalHostWebConnectionHtmlUnitDriver LocalHostWebConnectionHtmlUnitDriverwill automatically prefix relative URLs withlocalhost:${local.server.port}.MockBean Annotation that can be used to add mocks to a SpringApplicationContext.MockBeans Container annotation that aggregates severalMockBeanannotations.MockitoPostProcessor MockitoTestExecutionListener TestExecutionListenerto triggerMockitoAnnotations.initMocks(Object)when@MockBeanannotations are used.MockReset Reset strategy used on a mock bean.MockServerRestTemplateCustomizer RestTemplateCustomizerthat can be applied to aRestTemplateBuilderinstances to addMockRestServiceServersupport.ObjectContent<T> Object content usually created fromAbstractJsonMarshalTester.ObjectContentAssert<A> AssertJAssertforObjectContent.OutputCapture JUnit@Ruleto capture output from System.out and System.err.ReactiveWebApplicationContextRunner AnApplicationContext runnerfor aConfigurableReactiveWebApplicationContext.ReactiveWebMergedContextConfiguration Encapsulates the merged context configuration declared on a test class and all of its superclasses for a reactive web application.ResetMocksTestExecutionListener TestExecutionListenerto reset any mock beans that have been marked with aMockReset.RootUriRequestExpectationManager RequestExpectationManagerthat strips the specified root URI from the request before verification.SpringBootContextLoader AContextLoaderthat can be used to test Spring Boot applications (those that normally startup usingSpringApplication).SpringBootMockServletContext MockServletContextimplementation for Spring Boot.SpringBootTest Annotation that can be specified on a test class that runs Spring Boot based tests.SpringBootTest.WebEnvironment An enumeration web environment modes.SpringBootTestContextBootstrapper TestContextBootstrapperfor Spring Boot.SpyBean Annotation that can be used to apply Mockito spies to a SpringApplicationContext.SpyBeans Container annotation that aggregates severalSpyBeanannotations.TestComponent @Componentthat can be used when a bean is intended only for tests, and should be excluded from Spring Boot's component scanning.TestConfiguration @Configurationthat can be used to define additional beans or customizations for a test.TestPropertyValues Test utilities for adding properties.TestPropertyValues.Pair A single name value pair.TestPropertyValues.Type The type of property source.TestRestTemplate Convenient alternative ofRestTemplatethat is suitable for integration tests.TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory HttpComponentsClientHttpRequestFactoryto apply customizations.TestRestTemplate.HttpClientOption Options used to customize the Apache Http Client if it is used.WebApplicationContextRunner AnApplicationContext runnerfor a Servlet basedConfigurableWebApplicationContext.