| Package | Description |
|---|---|
| org.evosuite.setup | |
| org.evosuite.testcase | |
| org.evosuite.testcase.statements | |
| org.evosuite.utils.generic |
| Modifier and Type | Method and Description |
|---|---|
GenericAccessibleObject<?> |
TestCluster.getRandomCallFor(GenericClass clazz,
TestCase test,
int position) |
GenericAccessibleObject<?> |
TestCluster.getRandomGenerator(GenericClass clazz)
Randomly select one generator
|
GenericAccessibleObject<?> |
TestCluster.getRandomGenerator(GenericClass clazz,
Set<GenericAccessibleObject<?>> excluded,
TestCase test,
int position,
VariableReference generatorRefToExclude,
int recursionDepth)
Randomly select one generator
|
GenericAccessibleObject<?> |
TestCluster.getRandomObjectGenerator()
Randomly select a generator for an Object.class instance
|
GenericAccessibleObject<?> |
TestCluster.getRandomTestCall(TestCase test)
Get random method or constructor of unit under test
|
| Modifier and Type | Method and Description |
|---|---|
Set<GenericAccessibleObject<?>> |
TestCluster.getCallsFor(GenericClass clazz,
boolean resolve)
Return all calls that have a parameter with given type
|
Set<GenericAccessibleObject<?>> |
TestCluster.getGenerators()
Retrieve all generators
|
Set<GenericAccessibleObject<?>> |
TestCluster.getGenerators(GenericClass clazz,
boolean resolve)
Get a list of all generator objects for the type
|
Set<GenericAccessibleObject<?>> |
TestCluster.getModifiers()
Retrieve all modifiers
|
Set<GenericAccessibleObject<?>> |
TestCluster.getObjectGenerators()
Determine the set of generators for an Object.class instance
|
List<GenericAccessibleObject<?>> |
TestCluster.getRandomizedCallsToEnvironment() |
List<GenericAccessibleObject<?>> |
TestCluster.getTestCalls()
Get a list of all test calls (i.e., constructors and methods)
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestCluster.addEnvironmentTestCall(GenericAccessibleObject<?> call) |
void |
TestCluster.addGenerator(GenericClass target,
GenericAccessibleObject<?> call)
Add a generator reflection object
|
void |
TestCluster.addModifier(GenericClass target,
GenericAccessibleObject<?> call)
Add a modifier reflection object
|
void |
TestCluster.addTestCall(GenericAccessibleObject<?> call)
Add a test call
|
void |
TestCluster.removeTestCall(GenericAccessibleObject<?> call) |
| Modifier and Type | Method and Description |
|---|---|
GenericAccessibleObject<?> |
TestCluster.getRandomGenerator(GenericClass clazz,
Set<GenericAccessibleObject<?>> excluded,
TestCase test,
int position,
VariableReference generatorRefToExclude,
int recursionDepth)
Randomly select one generator
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestFactory.changeCall(TestCase test,
Statement statement,
GenericAccessibleObject<?> call)
Replace the statement with a new statement using given call
|
static int |
ConstraintVerifier.getAValidPositionForInsertion(GenericAccessibleObject<?> obj,
TestCase tc,
int lastValid) |
static boolean |
ConstraintVerifier.isValidPositionForInsertion(GenericAccessibleObject<?> obj,
TestCase tc,
int pos) |
| Modifier and Type | Method and Description |
|---|---|
GenericAccessibleObject<?> |
Statement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericAccessibleObject<?> |
PrimitiveStatement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericAccessibleObject<?> |
PrimitiveExpression.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericAccessibleObject<?> |
NullStatement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericAccessibleObject<?> |
FunctionalMockStatement.getAccessibleObject() |
GenericAccessibleObject<?> |
AssignmentStatement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
GenericAccessibleObject<?> |
ArrayStatement.getAccessibleObject()
Returns the accessibleObject which is used to generate this kind of
statement E.g.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericAccessibleObject<T extends GenericAccessibleObject<?>> |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericConstructor |
class |
GenericField |
class |
GenericMethod |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenericAccessibleObject.copyTypeVariables(GenericAccessibleObject<?> copy) |
Copyright © 2010–2017 EvoSuite. All rights reserved.