Package org.jbehave.core.junit
Class JUnit4StoryRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.jbehave.core.junit.JUnit4StoryRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class JUnit4StoryRunner extends org.junit.runners.BlockJUnit4ClassRunner
-
-
Constructor Summary
Constructors Constructor Description JUnit4StoryRunner(Class<? extends ConfigurableEmbedder> testClass)
-
Method Summary
Modifier and Type Method Description protected org.junit.runners.model.StatementchildrenInvoker(org.junit.runner.notification.RunNotifier notifier)org.junit.runner.DescriptiongetDescription()static EmbedderControlsrecommendedControls(Embedder embedder)inttestCount()-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
-
-
-
Constructor Detail
-
JUnit4StoryRunner
public JUnit4StoryRunner(Class<? extends ConfigurableEmbedder> testClass) throws org.junit.runners.model.InitializationError, ReflectiveOperationException
- Throws:
org.junit.runners.model.InitializationErrorReflectiveOperationException
-
-
Method Detail
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Overrides:
getDescriptionin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
testCount
public int testCount()
- Overrides:
testCountin classorg.junit.runner.Runner
-
childrenInvoker
protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
- Overrides:
childrenInvokerin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
recommendedControls
public static EmbedderControls recommendedControls(Embedder embedder)
-
-