public class BaseSpecRunner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FeatureInfo |
currentFeature |
protected Specification |
currentInstance |
protected IterationInfo |
currentIteration |
protected static java.lang.Object[] |
EMPTY_ARGS |
protected int |
runStatus |
protected Specification |
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 SpecificationContext |
getSpecificationContext(Specification instance) |
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 Specification sharedInstance
protected Specification 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)
protected SpecificationContext getSpecificationContext(Specification instance)
Copyright © 2019. All rights reserved