public class InspectorAssertion extends Assertion
| Constructor and Description |
|---|
InspectorAssertion() |
InspectorAssertion(Inspector inspector,
Statement statement,
VariableReference source,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeClassLoader(ClassLoader loader) |
Assertion |
copy(TestCase newTestCase,
int offset)
Return a copy of the assertion, which is valid in newTestCase
|
boolean |
equals(Object obj) |
boolean |
evaluate(Scope scope)
Determine if assertion holds in current scope
|
String |
getCode()
This method returns the Java Code
|
Inspector |
getInspector()
Getter for the field
inspector. |
int |
hashCode() |
boolean |
isValid()
Self-check
|
addKilledMutation, clone, clone, getComment, getKilledMutations, getReferencedVariables, getSource, getStatement, getValue, hasComment, setComment, setSource, setStatement, setValueprotected Inspector inspector
public InspectorAssertion()
public InspectorAssertion(Inspector inspector, Statement statement, VariableReference source, Object value)
public Inspector getInspector()
Getter for the field inspector.
Inspector object.public Assertion copy(TestCase newTestCase, int offset)
public String getCode()
public boolean evaluate(Scope scope)
public boolean isValid()
public void changeClassLoader(ClassLoader loader)
changeClassLoader in class AssertionCopyright © 2010–2017 EvoSuite. All rights reserved.