randoop
Class RegressionCaptureVisitor

Object
  extended by RegressionCaptureVisitor
All Implemented Interfaces:
ExecutionVisitor

public final class RegressionCaptureVisitor
extends Object
implements ExecutionVisitor

An execution visitor that records regression checks on the values created by the sequence. It does this only after the last statement has been executed. NOTES:


Constructor Summary
Constructor and Description
RegressionCaptureVisitor()
           
 
Method Summary
Modifier and Type Method and Description
 void initialize(ExecutableSequence s)
          Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.
 void visitAfter(ExecutableSequence s, int idx)
          Invoked by ExecutableSequence.execute after the i-th statement executes.
 void visitBefore(ExecutableSequence sequence, int i)
          Invoked by ExecutableSequence.execute before the i-th statement executes.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegressionCaptureVisitor

public RegressionCaptureVisitor()
Method Detail

initialize

public void initialize(ExecutableSequence s)
Description copied from interface: ExecutionVisitor
Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.

Specified by:
initialize in interface ExecutionVisitor

visitAfter

public void visitAfter(ExecutableSequence s,
                       int idx)
Description copied from interface: ExecutionVisitor
Invoked by ExecutableSequence.execute after the i-th statement executes. Precondition: statements 0..i have been executed.

Specified by:
visitAfter in interface ExecutionVisitor

visitBefore

public void visitBefore(ExecutableSequence sequence,
                        int i)
Description copied from interface: ExecutionVisitor
Invoked by ExecutableSequence.execute before the i-th statement executes. Precondition: statements 0..i-1 have been executed.

Specified by:
visitBefore in interface ExecutionVisitor