public class CamelSpringRunner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
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.Modifier and Type | Class and Description |
---|---|
static class |
CamelSpringRunner.CamelTestContextManager
An implementation providing additional integration between Spring Test and Camel
testing features.
|
Constructor and Description |
---|
CamelSpringRunner(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.test.context.TestContextManager |
createTestContextManager(Class<?> clazz)
Returns the specialized manager instance that provides tight integration between Camel testing
features and Spring.
|
createTest, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withAfterTestExecutionCallbacks, withBeforeClasses, withBefores, withBeforeTestExecutionCallbacks, withPotentialRepeat, withPotentialTimeout
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
public CamelSpringRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected org.springframework.test.context.TestContextManager createTestContextManager(Class<?> clazz)
createTestContextManager
in class org.springframework.test.context.junit4.SpringJUnit4ClassRunner
CamelSpringRunner.CamelTestContextManager
.Apache Camel