public class MethodCoverageFactory extends AbstractFitnessFactory<MethodCoverageTestFitness>
MethodCoverageFactory class.
goalComputationTime| Constructor and Description |
|---|
MethodCoverageFactory() |
| Modifier and Type | Method and Description |
|---|---|
static MethodCoverageTestFitness |
createMethodTestFitness(BytecodeInstruction instruction)
Convenience method calling createMethodTestFitness(class,method) with
the respective class and method of the given BytecodeInstruction.
|
static MethodCoverageTestFitness |
createMethodTestFitness(String className,
String method)
Create a fitness function for branch coverage aimed at covering the root
branch of the given method in the given class.
|
List<MethodCoverageTestFitness> |
getCoverageGoals()
Generate a list of goals to cover
|
getFitness, isCUTpublic List<MethodCoverageTestFitness> getCoverageGoals()
List object.public static MethodCoverageTestFitness createMethodTestFitness(String className, String method)
className - a String object.method - a String object.BranchCoverageTestFitness
object.public static MethodCoverageTestFitness createMethodTestFitness(BytecodeInstruction instruction)
instruction - a BytecodeInstruction object.BranchCoverageTestFitness
object.Copyright © 2010–2017 EvoSuite. All rights reserved.