public class PrimitiveFieldAssertion extends Assertion
| Constructor and Description |
|---|
PrimitiveFieldAssertion() |
| 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
|
Field |
getField()
Getter for the field
field. |
int |
hashCode() |
void |
setField(Field field) |
addKilledMutation, changeClassLoader, clone, clone, getComment, getKilledMutations, getReferencedVariables, getSource, getStatement, getValue, hasComment, isValid, setComment, setSource, setStatement, setValueprotected transient Field field
public void setField(Field field)
public String getCode()
public Assertion copy(TestCase newTestCase, int offset)
public boolean evaluate(Scope scope)
Copyright © 2010–2017 EvoSuite. All rights reserved.