public class CamelSpringBootJUnit4ClassRunner
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 |
CamelSpringBootJUnit4ClassRunner.CamelTestContextManager
An implementation providing additional integration between Spring Test and Camel
testing features.
|
Constructor and Description |
---|
CamelSpringBootJUnit4ClassRunner(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, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
public CamelSpringBootJUnit4ClassRunner(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
CamelSpringBootJUnit4ClassRunner.CamelTestContextManager
.Apache Camel