| Modifier and Type | Method and Description |
|---|---|
void |
PrimitiveTraceObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
NullTraceObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
AssertionTraceObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
ArrayTraceObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
AssertionTraceObserver.beforeStatement(Statement statement,
Scope scope) |
boolean |
SameAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
PrimitiveFieldAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
PrimitiveAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
NullAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
InspectorAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
EqualsAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
CompareAssertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
abstract boolean |
Assertion.evaluate(Scope scope)
Determine if assertion holds in current scope
|
boolean |
ArrayEqualsAssertion.evaluate(Scope scope) |
void |
SameTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
PrimitiveTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
PrimitiveFieldTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
NullTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
InspectorTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
ComparisonTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
ArrayTraceObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
protected void |
SameTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
PrimitiveTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
PrimitiveFieldTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
NullTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
InspectorTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
ComparisonTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected abstract void |
AssertionTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
ArrayTraceObserver.visit(Statement statement,
Scope scope,
VariableReference var)
visit
|
protected void |
AssertionTraceObserver.visitDependencies(Statement statement,
Scope scope)
visitDependencies
|
protected void |
AssertionTraceObserver.visitReturnValue(Statement statement,
Scope scope)
visitReturnValue
|
| Modifier and Type | Method and Description |
|---|---|
void |
SingleContractChecker.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
ContractChecker.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
SingleContractChecker.beforeStatement(Statement statement,
Scope scope) |
void |
ContractChecker.beforeStatement(Statement statement,
Scope scope) |
ContractViolation |
UndeclaredExceptionContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
ToStringReturnsNormallyContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
NullPointerExceptionContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
JUnitTheoryContract.check(Statement statement,
Scope scope,
Throwable exception) |
ContractViolation |
JCrasherExceptionContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
HashCodeReturnsNormallyContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
EqualsSymmetricContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
EqualsNullContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
EqualsHashcodeContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
EqualsContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
abstract ContractViolation |
Contract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
ContractViolation |
AssertionErrorContract.check(Statement statement,
Scope scope,
Throwable exception)
Check the contract on the current statement in the current scope
|
protected Collection<Contract.Pair<Object>> |
Contract.getAllObjectPairs(Scope scope)
getAllObjectPairs
|
protected Collection<Object> |
Contract.getAllObjects(Scope scope)
getAllObjects
|
protected Collection<Contract.Pair<VariableReference>> |
Contract.getAllVariablePairs(Scope scope) |
protected Collection<VariableReference> |
Contract.getAllVariables(Scope scope) |
void |
SingleContractChecker.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
ContractChecker.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
void |
InputObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception) |
void |
InputObserver.beforeStatement(Statement statement,
Scope scope) |
void |
InputObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception) |
void |
OutputObserver.beforeStatement(Statement statement,
Scope scope) |
void |
OutputObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
Object |
InputVariable.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
void |
InputVariable.setObject(Scope scope,
Object value)
Set the actual object represented by this variable in a given scope
|
| Modifier and Type | Method and Description |
|---|---|
void |
RegressionExecutionObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception) |
void |
RegressionExecutionObserver.beforeStatement(Statement statement,
Scope scope) |
void |
RegressionExecutionObserver.testExecutionFinished(ExecutionResult r,
Scope scope) |
| Constructor and Description |
|---|
ObjectFields(Scope s) |
| Modifier and Type | Method and Description |
|---|---|
void |
SymbolicObserver.afterStatement(Statement s,
Scope scope,
Throwable exception) |
void |
SymbolicObserver.beforeStatement(Statement s,
Scope scope) |
void |
SymbolicObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
void |
TestCarvingExecutionObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
own comment..
|
void |
TestCarvingExecutionObserver.beforeStatement(Statement statement,
Scope scope) |
void |
TestCarvingExecutionObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConstantInliner.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
void |
ConcreteValueObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception) |
void |
ConstantInliner.beforeStatement(Statement statement,
Scope scope) |
void |
ConcreteValueObserver.beforeStatement(Statement statement,
Scope scope) |
Object |
TestCase.getObject(VariableReference reference,
Scope scope)
Get actual object represented by a variable for a given execution scope
|
Object |
DefaultTestCase.getObject(VariableReference reference,
Scope scope)
Get actual object represented by a variable for a given execution scope
|
void |
ConstantInliner.testExecutionFinished(ExecutionResult r,
Scope s) |
void |
ConcreteValueObserver.testExecutionFinished(ExecutionResult r,
Scope s) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ExecutionObserver.afterStatement(Statement statement,
Scope scope,
Throwable exception)
After execution of a statement, the result is passed to the observer
|
abstract void |
ExecutionObserver.beforeStatement(Statement statement,
Scope scope)
Called immediately before a statement is executed
|
abstract void |
ExecutionObserver.testExecutionFinished(ExecutionResult r,
Scope s)
Allow observers to update the execution result at the end the execution of a test.
|
| Constructor and Description |
|---|
TestRunnable(TestCase tc,
Scope scope,
Set<ExecutionObserver> observers)
Constructor for TestRunnable.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
StringPrimitiveStatement.execute(Scope scope,
PrintStream out) |
Throwable |
Statement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
PrimitiveStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
PrimitiveExpression.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
NullStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
MethodStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
FunctionalMockStatement.execute(Scope scope,
PrintStream out) |
Throwable |
FieldStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
ConstructorStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
AssignmentStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
Throwable |
ArrayStatement.execute(Scope scope,
PrintStream out)
This method executes the statement under the given scope.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
PrivateMethodStatement.execute(Scope scope,
PrintStream out) |
Throwable |
PrivateFieldStatement.execute(Scope scope,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
Object |
VariableReferenceImpl.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
Object |
VariableReference.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
Object |
FieldReference.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
Object |
ConstantValue.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
Object |
ArrayIndex.getObject(Scope scope)
Return the actual object represented by this variable for a given scope
|
void |
VariableReferenceImpl.setObject(Scope scope,
Object value)
Set the actual object represented by this variable in a given scope
|
void |
VariableReference.setObject(Scope scope,
Object value)
Set the actual object represented by this variable in a given scope
|
void |
FieldReference.setObject(Scope scope,
Object value)
Set the actual object represented by this variable in a given scope
|
void |
ArrayIndex.setObject(Scope scope,
Object value)
Set the actual object represented by this variable in a given scope
|
Copyright © 2010–2017 EvoSuite. All rights reserved.