public class RegressionExecutionObserver extends ExecutionObserver
currentTest, WRAPPER_TYPES| Constructor and Description |
|---|
RegressionExecutionObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPools() |
void |
addToPools(List<Map<Integer,Map<String,Map<String,Object>>>> currentObjectMapPool,
List<Map<Integer,Map<String,Map<String,Object>>>> currentRegressionObjectMapPool) |
void |
afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
beforeStatement(Statement statement,
Scope scope)
Called immediately before a statement is executed
|
void |
clear()
Need a way to clear previously produced results
|
void |
disable() |
void |
enable() |
void |
output(int position,
String output)
This is called with the console output of each statement
|
void |
testExecutionFinished(ExecutionResult r,
Scope scope)
Allow observers to update the execution result at the end the execution of a test.
|
getCurrentTest, getDependentVariables, isWrapperType, setCurrentTestpublic void enable()
public void disable()
public void afterStatement(Statement statement, Scope scope, Throwable exception)
ExecutionObserverafterStatement in class ExecutionObserverstatement - a Statement object.scope - a Scope object.exception - a Throwable object.public void addToPools()
public void addToPools(List<Map<Integer,Map<String,Map<String,Object>>>> currentObjectMapPool, List<Map<Integer,Map<String,Map<String,Object>>>> currentRegressionObjectMapPool)
public void testExecutionFinished(ExecutionResult r, Scope scope)
ExecutionObservertestExecutionFinished in class ExecutionObserverpublic void output(int position,
String output)
ExecutionObserveroutput in class ExecutionObserverposition - a int.output - a String object.public void beforeStatement(Statement statement, Scope scope)
ExecutionObserverbeforeStatement in class ExecutionObserverpublic void clear()
ExecutionObserverclear in class ExecutionObserverCopyright © 2010–2017 EvoSuite. All rights reserved.