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:
org.springframework.test.context.TestContextBootstrapper

public abstract class TestSliceTestContextBootstrapper<T extends Annotation> extends org.springframework.boot.test.context.SpringBootTestContextBootstrapper
Base class for test slice test context bootstrappers.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestSliceTestContextBootstrapper

      protected TestSliceTestContextBootstrapper()
  • Method Details

    • getProperties

      protected String @Nullable [] getProperties(Class<?> testClass)
      Overrides:
      getProperties in class org.springframework.boot.test.context.SpringBootTestContextBootstrapper