Class CamelTestContextBootstrapper

java.lang.Object
org.springframework.test.context.support.AbstractTestContextBootstrapper
org.springframework.test.context.support.DefaultTestContextBootstrapper
org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper
All Implemented Interfaces:
org.springframework.test.context.TestContextBootstrapper

public class CamelTestContextBootstrapper extends org.springframework.test.context.support.DefaultTestContextBootstrapper
To bootstrap Camel for testing with Spring 4.1 onwards.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Class<? extends org.springframework.test.context.ContextLoader>
     

    Methods inherited from class org.springframework.test.context.support.AbstractTestContextBootstrapper

    buildMergedContextConfiguration, buildTestContext, getBootstrapContext, getCacheAwareContextLoaderDelegate, getContextCustomizerFactories, getDefaultTestExecutionListeners, getTestExecutionListeners, processMergedContextConfiguration, resolveContextLoader, resolveExplicitContextLoaderClass, setBootstrapContext

    Methods inherited from class java.lang.Object

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

    • CamelTestContextBootstrapper

      public CamelTestContextBootstrapper()
  • Method Details

    • getDefaultContextLoaderClass

      protected Class<? extends org.springframework.test.context.ContextLoader> getDefaultContextLoaderClass(Class<?> testClass)
      Overrides:
      getDefaultContextLoaderClass in class org.springframework.test.context.support.DefaultTestContextBootstrapper