public class JUnitTestCarvedChromosomeFactory extends Object implements ChromosomeFactory<TestChromosome>
| Constructor and Description |
|---|
JUnitTestCarvedChromosomeFactory(ChromosomeFactory<TestChromosome> defaultFactory)
The carved test cases are used only with a certain probability P.
|
| Modifier and Type | Method and Description |
|---|---|
List<TestCase> |
getCarvedTestCases() |
TestSuiteChromosome |
getCarvedTestSuite() |
TestChromosome |
getChromosome()
getChromosome
|
static double |
getCoverageOfCarvedTests() |
int |
getNumCarvedTestCases() |
static int |
getTotalNumberOfTestsCarved() |
boolean |
hasCarvedTestCases() |
public JUnitTestCarvedChromosomeFactory(ChromosomeFactory<TestChromosome> defaultFactory) throws IllegalStateException
defaultFactory - IllegalStateException - if Properties are not properly setpublic boolean hasCarvedTestCases()
public int getNumCarvedTestCases()
public TestSuiteChromosome getCarvedTestSuite()
public TestChromosome getChromosome()
ChromosomeFactorygetChromosome
getChromosome in interface ChromosomeFactory<TestChromosome>public static int getTotalNumberOfTestsCarved()
public static double getCoverageOfCarvedTests()
Copyright © 2010–2017 EvoSuite. All rights reserved.