org.jnario.runner
Class StepRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.jnario.runner.ExampleRunner
                  extended by org.jnario.runner.StepRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class StepRunner
extends ExampleRunner


Constructor Summary
StepRunner(Class<?> testClass, org.junit.runners.model.FrameworkMethod method, NameProvider nameProvider, Object scenario)
           
 
Method Summary
protected  org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
           
protected  void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.jnario.runner.ExampleRunner
classBlock, createTest, getChildren, getDescription, getTestRules, initializeSubjects, testName
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, describeChild, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classRules, filter, getName, getRunnerAnnotations, getTestClass, run, 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

StepRunner

public StepRunner(Class<?> testClass,
                  org.junit.runners.model.FrameworkMethod method,
                  NameProvider nameProvider,
                  Object scenario)
           throws org.junit.runners.model.InitializationError,
                  org.junit.runner.manipulation.NoTestsRemainException
Throws:
org.junit.runners.model.InitializationError
org.junit.runner.manipulation.NoTestsRemainException
Method Detail

runChild

protected void runChild(org.junit.runners.model.FrameworkMethod method,
                        org.junit.runner.notification.RunNotifier notifier)
Overrides:
runChild in class ExampleRunner

methodBlock

protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
Overrides:
methodBlock in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2012-2013 BMW Car IT. All Rights Reserved.