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 SpringBootTestContextBootstrapper
buildTestContext, createModifiedConfig, createModifiedConfig, determineResourceBasePath, getAnnotation, getClasses, getDefaultContextLoaderClass, getDifferentiatorPropertySourceProperty, getOrFindConfigurationClasses, getWebEnvironment, processMergedContextConfiguration, processPropertySourceProperties, resolveContextLoader, verifyConfiguration
-
Constructor Details
-
TestSliceTestContextBootstrapper
protected TestSliceTestContextBootstrapper()
-
-
Method Details
-
getProperties
- Overrides:
getPropertiesin classSpringBootTestContextBootstrapper
-