public class BaseSpecRunner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FeatureInfo |
currentFeature |
protected java.lang.Object |
currentInstance |
protected IterationInfo |
currentIteration |
protected static java.lang.Object[] |
EMPTY_ARGS |
protected int |
runStatus |
protected java.lang.Object |
sharedInstance |
protected SpecInfo |
spec |
protected IRunSupervisor |
supervisor |
Constructor and Description |
---|
BaseSpecRunner(SpecInfo spec,
IRunSupervisor supervisor) |
Modifier and Type | Method and Description |
---|---|
void |
doRunFeature()
Only called via reflection.
|
void |
doRunIteration()
Only called via reflection.
|
void |
doRunSpec()
Only called via reflection.
|
protected void |
initializeAndRunIteration(java.lang.Object[] dataValues,
int estimatedNumIterations) |
protected java.lang.Object |
invokeRaw(java.lang.Object target,
MethodInfo method,
java.lang.Object... arguments) |
protected int |
resetStatus(int scope) |
int |
run() |
protected void |
runParameterizedFeature() |
protected static final java.lang.Object[] EMPTY_ARGS
protected final SpecInfo spec
protected final IRunSupervisor supervisor
protected FeatureInfo currentFeature
protected IterationInfo currentIteration
protected java.lang.Object sharedInstance
protected java.lang.Object currentInstance
protected int runStatus
public BaseSpecRunner(SpecInfo spec, IRunSupervisor supervisor)
public int run()
public void doRunSpec()
public void doRunFeature()
protected void initializeAndRunIteration(java.lang.Object[] dataValues, int estimatedNumIterations)
public void doRunIteration()
protected int resetStatus(int scope)
protected void runParameterizedFeature()
protected java.lang.Object invokeRaw(java.lang.Object target, MethodInfo method, java.lang.Object... arguments)
Copyright © 2012. All rights reserved