Class 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 class  CamelSpringRunner.CamelTestContextManager
      Deprecated.
      An implementation providing additional integration between Spring Test and Camel testing features.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
      • 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
    • Constructor Detail

      • CamelSpringRunner

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

      • 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.