public class CamelSpringBootRunner
extends org.springframework.test.context.junit4.SpringJUnit4ClassRunner
CamelSpringTestSupport to
Spring Boot Test based test cases. This approach allows developers to implement tests
for their Spring Boot based applications/routes using the typical Spring Test conventions
for test development.| Modifier and Type | Class and Description |
|---|---|
static class |
CamelSpringBootRunner.CamelTestContextManager
An implementation providing additional integration between Spring Test and Camel
testing features.
|
| Constructor and Description |
|---|
CamelSpringBootRunner(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, withPotentialTimeoutcollectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructorpublic CamelSpringBootRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected org.springframework.test.context.TestContextManager createTestContextManager(Class<?> clazz)
createTestContextManager in class org.springframework.test.context.junit4.SpringJUnit4ClassRunnerCamelSpringBootRunner.CamelTestContextManager.Apache Camel