Class TestSliceTestContextBootstrapper<T extends Annotation>
java.lang.Object
org.springframework.test.context.support.AbstractTestContextBootstrapper
org.springframework.test.context.support.DefaultTestContextBootstrapper
org.springframework.boot.test.context.SpringBootTestContextBootstrapper
org.springframework.boot.test.autoconfigure.TestSliceTestContextBootstrapper<T>
- Type Parameters:
T
- the test slice annotation
- All Implemented Interfaces:
TestContextBootstrapper
public abstract class TestSliceTestContextBootstrapper<T extends Annotation>
extends SpringBootTestContextBootstrapper
Base class for test slice
test context bootstrappers
.- Since:
- 4.0.0
- Author:
- Yanming Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String @Nullable []
getProperties
(Class<?> testClass) Methods inherited from class org.springframework.boot.test.context.SpringBootTestContextBootstrapper
buildTestContext, createModifiedConfig, createModifiedConfig, determineResourceBasePath, getAnnotation, getClasses, getDefaultContextLoaderClass, getDifferentiatorPropertySourceProperty, getOrFindConfigurationClasses, getWebEnvironment, processMergedContextConfiguration, processPropertySourceProperties, resolveContextLoader, verifyConfiguration
Methods inherited from class org.springframework.test.context.support.AbstractTestContextBootstrapper
buildMergedContextConfiguration, getBootstrapContext, getCacheAwareContextLoaderDelegate, getContextCustomizerFactories, getDefaultTestExecutionListeners, getTestExecutionListeners, resolveExplicitContextLoaderClass, setBootstrapContext
-
Constructor Details
-
TestSliceTestContextBootstrapper
protected TestSliceTestContextBootstrapper()
-
-
Method Details
-
getProperties
- Overrides:
getProperties
in classSpringBootTestContextBootstrapper
-