randoop
Class ReplayVisitor

Object
  extended by ReplayVisitor
All Implemented Interfaces:
ExecutionVisitor

public class ReplayVisitor
extends Object
implements ExecutionVisitor

An execution visitor that evaluates the checks in the given executable sequence, and returns false if any of them fail.


Constructor Summary
Constructor and Description
ReplayVisitor()
           
 
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 es, int i)
          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

ReplayVisitor

public ReplayVisitor()
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 es,
                       int i)
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