public enum TestsArchive extends Enum<TestsArchive> implements Archive<TestSuiteChromosome>, Serializable
| Enum Constant and Description |
|---|
instance
singleton instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGoalToCover(FitnessFunction<?> ff,
TestFitnessFunction goal) |
TestSuiteChromosome |
createMergedSolution(TestSuiteChromosome suite) |
TestCase |
getCloneAtRandom() |
int |
getNumberOfCoveredGoals() |
int |
getNumRemainingGoals(String methodKey) |
int |
getTotalNumberOfGoals() |
boolean |
isArchiveEmpty() |
protected boolean |
isMethodFullyCovered(String methodKey) |
void |
putTest(FitnessFunction<?> ff,
TestFitnessFunction goal,
ExecutionResult result) |
protected void |
removeTestCall(String className,
String methodName) |
void |
reset() |
String |
toString() |
static TestsArchive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestsArchive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestsArchive instance
public static TestsArchive[] values()
for (TestsArchive c : TestsArchive.values()) System.out.println(c);
public static TestsArchive valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void reset()
public void addGoalToCover(FitnessFunction<?> ff, TestFitnessFunction goal)
public void putTest(FitnessFunction<?> ff, TestFitnessFunction goal, ExecutionResult result)
public TestSuiteChromosome createMergedSolution(TestSuiteChromosome suite)
createMergedSolution in interface Archive<TestSuiteChromosome>public boolean isArchiveEmpty()
public int getTotalNumberOfGoals()
public int getNumberOfCoveredGoals()
public TestCase getCloneAtRandom()
public String toString()
toString in class Enum<TestsArchive>protected boolean isMethodFullyCovered(String methodKey)
public int getNumRemainingGoals(String methodKey)
Copyright © 2010–2017 EvoSuite. All rights reserved.