cucumber.junit
Class FeatureRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>
          extended by cucumber.junit.FeatureRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class FeatureRunner
extends org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>


Constructor Summary
protected FeatureRunner(CucumberFeature cucumberFeature, Runtime runtime, cucumber.junit.JUnitReporter jUnitReporter)
           
 
Method Summary
protected  org.junit.runner.Description describeChild(org.junit.runners.ParentRunner child)
           
protected  List<org.junit.runners.ParentRunner> getChildren()
           
 org.junit.runner.Description getDescription()
           
 String getName()
           
 void run(org.junit.runner.notification.RunNotifier notifier)
           
protected  void runChild(org.junit.runners.ParentRunner child, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureRunner

protected FeatureRunner(CucumberFeature cucumberFeature,
                        Runtime runtime,
                        cucumber.junit.JUnitReporter jUnitReporter)
                 throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

getName

public String getName()
Overrides:
getName in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>

getDescription

public org.junit.runner.Description getDescription()
Specified by:
getDescription in interface org.junit.runner.Describable
Overrides:
getDescription in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>

getChildren

protected List<org.junit.runners.ParentRunner> getChildren()
Specified by:
getChildren in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>

describeChild

protected org.junit.runner.Description describeChild(org.junit.runners.ParentRunner child)
Specified by:
describeChild in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>

runChild

protected void runChild(org.junit.runners.ParentRunner child,
                        org.junit.runner.notification.RunNotifier notifier)
Specified by:
runChild in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>

run

public void run(org.junit.runner.notification.RunNotifier notifier)
Overrides:
run in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner>


Copyright © 2012. All Rights Reserved.