| Package | Description |
|---|---|
| org.evosuite.testcase | |
| org.evosuite.testcase.statements | |
| org.evosuite.testcase.variable | |
| org.evosuite.utils.generic |
| Modifier and Type | Method and Description |
|---|---|
VariableReference |
TestFactory.addField(TestCase test,
GenericField field,
int position,
int recursionDepth)
Add a field to the test case
|
VariableReference |
TestFactory.addFieldAssignment(TestCase test,
GenericField field,
int position,
int recursionDepth)
Add method at given position if max recursion depth has not been reached
|
VariableReference |
TestFactory.addFieldFor(TestCase test,
VariableReference callee,
GenericField field,
int position)
Add reference to a field of variable "callee"
|
| Modifier and Type | Field and Description |
|---|---|
protected GenericField |
FieldStatement.field |
| Modifier and Type | Method and Description |
|---|---|
GenericField |
FieldStatement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericField |
FieldStatement.getField()
Getter for the field
field. |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldStatement.setField(GenericField field)
Setter for the field
field. |
| Constructor and Description |
|---|
FieldStatement(TestCase tc,
GenericField field,
VariableReference source)
Constructor for FieldStatement.
|
FieldStatement(TestCase tc,
GenericField field,
VariableReference source,
VariableReference ret_var)
This constructor allows you to use an already existing VariableReference
as retvar.
|
| Modifier and Type | Method and Description |
|---|---|
GenericField |
FieldReference.getField()
Access the field
|
| Constructor and Description |
|---|
FieldReference(TestCase testCase,
GenericField field)
Constructor for FieldReference.
|
FieldReference(TestCase testCase,
GenericField field,
Type type)
We need this constructor to work around a bug in Java Generics which
causes a java.lang.reflect.GenericSignatureFormatError when accessing
getType
|
FieldReference(TestCase testCase,
GenericField field,
Type fieldType,
VariableReference source)
We need this constructor to work around a bug in Java Generics which
causes a java.lang.reflect.GenericSignatureFormatError when accessing
getType
|
FieldReference(TestCase testCase,
GenericField field,
VariableReference source)
Constructor for FieldReference.
|
| Modifier and Type | Method and Description |
|---|---|
GenericField |
GenericField.copy() |
GenericField |
GenericField.copyWithNewOwner(GenericClass newOwner) |
GenericField |
GenericField.copyWithOwnerFromReturnType(GenericClass returnType) |
Copyright © 2010–2017 EvoSuite. All rights reserved.