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 ofCamelSpringTestSupport
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.
-
Constructor Summary
Constructors Constructor Description CamelSpringRunner(Class<?> clazz)
Deprecated.
-
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
-
-
-
-
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 classorg.springframework.test.context.junit4.SpringJUnit4ClassRunner
- Returns:
- a new instance of
CamelSpringRunner.CamelTestContextManager
.
-
-