Package org.jbehave.core.junit
Class AnnotatedEmbedderRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.jbehave.core.junit.AnnotatedEmbedderRunner
-
- 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:
AnnotatedPathRunner
public class AnnotatedEmbedderRunner extends org.junit.runners.BlockJUnit4ClassRunner
A JUnitRunner
that uses theAnnotationBuilder
to create an embeddable test instance.
-
-
Constructor Summary
Constructors Constructor Description AnnotatedEmbedderRunner(Class<?> testClass)
-
Method Summary
Modifier and Type Method Description AnnotationBuilder
annotationBuilder()
Object
createTest()
protected Class<?>
testClass()
-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
AnnotatedEmbedderRunner
public AnnotatedEmbedderRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
createTest
public Object createTest()
- Overrides:
createTest
in classorg.junit.runners.BlockJUnit4ClassRunner
-
annotationBuilder
public AnnotationBuilder annotationBuilder()
-
testClass
protected Class<?> testClass()
-
-