public class SameAssertion extends Assertion
SameAssertion class.
| Modifier and Type | Field and Description |
|---|---|
protected VariableReference |
dest |
| Constructor and Description |
|---|
SameAssertion() |
| Modifier and Type | Method and Description |
|---|---|
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
|
VariableReference |
getDest()
Getter for the field
dest. |
Set<VariableReference> |
getReferencedVariables()
Return all the variables that are part of this assertion
|
int |
hashCode() |
void |
setDest(VariableReference dest)
Setter for the field
dest. |
addKilledMutation, changeClassLoader, clone, clone, getComment, getKilledMutations, getSource, getStatement, getValue, hasComment, isValid, setComment, setSource, setStatement, setValueprotected VariableReference dest
public VariableReference getDest()
Getter for the field dest.
VariableReference object.public void setDest(VariableReference dest)
Setter for the field dest.
dest - a VariableReference object.public String getCode()
public Assertion copy(TestCase newTestCase, int offset)
public boolean evaluate(Scope scope)
public Set<VariableReference> getReferencedVariables()
getReferencedVariables in class AssertionSet object.Copyright © 2010–2017 EvoSuite. All rights reserved.