public class METHOD extends STEP implements java.io.Serializable
STEP.PreConditionCheckPlaceHolder
Modifier and Type | Field and Description |
---|---|
boolean |
isObjectUnderTestCreationStep
Flag to indicate whether the step is a step that creates the object under test.
|
java.lang.reflect.Method |
method |
Oracle |
oracle |
STEP[] |
params |
STEP |
target |
Constructor and Description |
---|
METHOD() |
METHOD(java.lang.reflect.Method m,
STEP target,
STEP[] params) |
Modifier and Type | Method and Description |
---|---|
void |
clearOracle()
For clearing out all oracles attached to this step, if any.
|
STEP |
clone_withoutOracles()
This creates a clone of this STEP.
|
STEP_RT_info |
exec(java.lang.Class CUT,
Pool pool,
STEP.PreConditionCheckPlaceHolder precondPlaceHolder)
To execute a STEP.
|
boolean |
isCreationStep() |
java.lang.String |
toString() |
checkClassinv, execMany
public java.lang.reflect.Method method
public STEP target
public STEP[] params
public boolean isObjectUnderTestCreationStep
public Oracle oracle
public METHOD(java.lang.reflect.Method m, STEP target, STEP[] params)
m
- The method to call in this step.target
- The target/receiver of the call. If there is none, set this to null.params
- The STEPs needed to construct the parameters for m.public METHOD()
public boolean isCreationStep()
isCreationStep
in class STEP
public STEP_RT_info exec(java.lang.Class CUT, Pool pool, STEP.PreConditionCheckPlaceHolder precondPlaceHolder) throws java.lang.Exception
STEP
public void clearOracle()
STEP
clearOracle
in class STEP
public java.lang.String toString()
toString
in class java.lang.Object
public STEP clone_withoutOracles()
STEP
clone_withoutOracles
in class STEP