Package org.apache.camel.test.cdi
Class CamelCdiRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.apache.camel.test.cdi.CamelCdiRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
public class CamelCdiRunner extends org.junit.runners.BlockJUnit4ClassRunner
-
-
Constructor Summary
Constructors Constructor Description CamelCdiRunner(Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.junit.rules.TestRule>
classRules()
protected Object
createTest()
protected List<org.junit.runners.model.FrameworkMethod>
getChildren()
protected org.junit.runners.model.Statement
methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
protected void
validateConstructor(List<Throwable> errors)
protected void
validatePublicVoidNoArgMethods(Class<? extends Annotation> annotation, boolean isStatic, List<Throwable> errors)
-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
-
-
-
Constructor Detail
-
CamelCdiRunner
public CamelCdiRunner(Class<?> clazz) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
validateConstructor
protected void validateConstructor(List<Throwable> errors)
- Overrides:
validateConstructor
in classorg.junit.runners.BlockJUnit4ClassRunner
-
validatePublicVoidNoArgMethods
protected void validatePublicVoidNoArgMethods(Class<? extends Annotation> annotation, boolean isStatic, List<Throwable> errors)
- Overrides:
validatePublicVoidNoArgMethods
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
getChildren
protected List<org.junit.runners.model.FrameworkMethod> getChildren()
- Overrides:
getChildren
in classorg.junit.runners.BlockJUnit4ClassRunner
-
classRules
protected List<org.junit.rules.TestRule> classRules()
- Overrides:
classRules
in classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
createTest
protected Object createTest()
- Overrides:
createTest
in classorg.junit.runners.BlockJUnit4ClassRunner
-
methodInvoker
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
- Overrides:
methodInvoker
in classorg.junit.runners.BlockJUnit4ClassRunner
-
-