Class CamelSpringRunner

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
org.apache.camel.test.spring.CamelSpringRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable
Direct Known Subclasses:
CamelSpringBootRunner, CamelSpringJUnit4ClassRunner

@Deprecated public class CamelSpringRunner extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
Deprecated.
An implementation bringing the functionality of CamelSpringTestSupport to Spring Test based test cases. This approach allows developers to implement tests for their Spring based applications/routes using the typical Spring Test conventions for test development.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.
    An implementation providing additional integration between Spring Test and Camel testing features.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.test.context.TestContextManager
    Deprecated.
    Returns the specialized manager instance that provides tight integration between Camel testing features and Spring.

    Methods inherited from class org.springframework.test.context.junit4.SpringJUnit4ClassRunner

    createTest, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withAfterTestExecutionCallbacks, withBeforeClasses, withBefores, withBeforeTestExecutionCallbacks, withPotentialRepeat, withPotentialTimeout

    Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

    collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor

    Methods inherited from class org.junit.runners.ParentRunner

    childrenInvoker, classBlock, classRules, createTestClass, filter, getName, getRunnerAnnotations, getTestClass, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withInterruptIsolation

    Methods inherited from class org.junit.runner.Runner

    testCount

    Methods inherited from class java.lang.Object

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

    • CamelSpringRunner

      public CamelSpringRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
      Deprecated.
      Throws:
      org.junit.runners.model.InitializationError
  • Method Details

    • createTestContextManager

      protected org.springframework.test.context.TestContextManager createTestContextManager(Class<?> clazz)
      Deprecated.
      Returns the specialized manager instance that provides tight integration between Camel testing features and Spring.
      Overrides:
      createTestContextManager in class org.springframework.test.context.junit4.SpringJUnit4ClassRunner
      Returns:
      a new instance of CamelSpringRunner.CamelTestContextManager.