org.spockframework.runtime
Class JUnitSupervisor

java.lang.Object
  extended by org.spockframework.runtime.JUnitSupervisor
All Implemented Interfaces:
IRunSupervisor

public class JUnitSupervisor
extends java.lang.Object
implements IRunSupervisor


Constructor Summary
JUnitSupervisor(SpecInfo spec, org.junit.runner.notification.RunNotifier notifier, IStackTraceFilter filter, IObjectRenderer<java.lang.Object> diffedObjectRenderer)
           
 
Method Summary
 void afterFeature(FeatureInfo feature)
           
 void afterIteration(IterationInfo iteration)
           
 void afterSpec(SpecInfo spec)
           
 void beforeFeature(FeatureInfo feature)
           
 void beforeIteration(IterationInfo iteration)
           
 void beforeSpec(SpecInfo spec)
           
 int error(ErrorInfo error)
           
 void featureSkipped(FeatureInfo feature)
           
 void specSkipped(SpecInfo spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitSupervisor

public JUnitSupervisor(SpecInfo spec,
                       org.junit.runner.notification.RunNotifier notifier,
                       IStackTraceFilter filter,
                       IObjectRenderer<java.lang.Object> diffedObjectRenderer)
Method Detail

beforeSpec

public void beforeSpec(SpecInfo spec)
Specified by:
beforeSpec in interface IRunSupervisor

beforeFeature

public void beforeFeature(FeatureInfo feature)
Specified by:
beforeFeature in interface IRunSupervisor

beforeIteration

public void beforeIteration(IterationInfo iteration)
Specified by:
beforeIteration in interface IRunSupervisor

error

public int error(ErrorInfo error)
Specified by:
error in interface IRunSupervisor

afterIteration

public void afterIteration(IterationInfo iteration)
Specified by:
afterIteration in interface IRunSupervisor

afterFeature

public void afterFeature(FeatureInfo feature)
Specified by:
afterFeature in interface IRunSupervisor

afterSpec

public void afterSpec(SpecInfo spec)
Specified by:
afterSpec in interface IRunSupervisor

specSkipped

public void specSkipped(SpecInfo spec)
Specified by:
specSkipped in interface IRunSupervisor

featureSkipped

public void featureSkipped(FeatureInfo feature)
Specified by:
featureSkipped in interface IRunSupervisor


Copyright © 2013. All rights reserved