所有类
所有类 接口概要 类概要 枚举概要 注释类型概要 类 说明 AbstractJsonMarshalTester<T> Base class for AssertJ based JSON marshal testers.AbstractJsonMarshalTester.FieldInitializer<M> Utility class used to support field initialization.ApplicationContextTestUtils Application context related test utilities.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.DefaultTestExecutionListenersPostProcessor Callback interface trigger fromSpringBootTestContextBootstrapperthat can be used to post-process the list of defaultTestExecutionListenerclasses to be used by a test.EnvironmentTestUtils Test utilities for setting environment values.GsonTester<T> AssertJ based JSON tester backed by Gson.JacksonTester<T> AssertJ based JSON tester backed by Jackson.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.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.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.