Package org.apache.camel.test.spring
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 ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.An implementation providing additional integration between Spring Test and Camel testing features. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
CamelSpringRunner
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 classorg.springframework.test.context.junit4.SpringJUnit4ClassRunner
- Returns:
- a new instance of
CamelSpringRunner.CamelTestContextManager
.
-