类 BatchTestContextCustomizer

  • 所有已实现的接口:
    org.springframework.test.context.ContextCustomizer

    public class BatchTestContextCustomizer
    extends java.lang.Object
    implements org.springframework.test.context.ContextCustomizer
    ContextCustomizer implementation that adds batch test utility classes (JobLauncherTestUtils and JobRepositoryTestUtils) as beans in the test context.
    从以下版本开始:
    4.1
    作者:
    Mahmoud Ben Hassine
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      voidcustomizeContext​(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig) 
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • customizeContext

        public void customizeContext​(org.springframework.context.ConfigurableApplicationContext context,
                                     org.springframework.test.context.MergedContextConfiguration mergedConfig)
        指定者:
        customizeContext 在接口中 org.springframework.test.context.ContextCustomizer