public abstract class TestCoverageGoal extends Object
Abstract TestCoverageGoal class.
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
Constant
logger |
| Constructor and Description |
|---|
TestCoverageGoal() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasTimeout(ExecutionResult result)
hasTimeout
|
boolean |
isCovered(List<TestChromosome> tests)
Determine if there is an existing test case covering this goal
|
abstract boolean |
isCovered(TestChromosome test)
Return true if this coverage goal is covered by the given test
|
protected ExecutionResult |
runTest(TestChromosome test)
Execute a test case
|
public abstract boolean isCovered(TestChromosome test)
test - a TestChromosome object.public boolean isCovered(List<TestChromosome> tests)
tests - a List object.public static boolean hasTimeout(ExecutionResult result)
hasTimeout
result - a ExecutionResult object.protected ExecutionResult runTest(TestChromosome test)
test - The test case to executeCopyright © 2010–2017 EvoSuite. All rights reserved.