|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestCaseCoverage
Represents line coverage produced by a single test in a test file on a single main file.
Method Summary | |
---|---|
TestCaseCoverage |
cover(InputFile mainFile)
Set file covered by this test. |
InputFile |
coveredFile()
InputFile covered by this test. |
List<Integer> |
coveredLines()
List of line numbers (1-based) covered by this test. |
TestCaseCoverage |
onLines(List<Integer> lines)
Set list of line numbers (1-based) covered by this test. |
void |
save()
Call this method only once when your are done with defining the test case coverage. |
InputFile |
testFile()
InputFile where this test is located. |
TestCaseCoverage |
testFile(InputFile testFile)
Set file where this test is located. |
String |
testName()
Name of this test case. |
TestCaseCoverage |
testName(String name)
Set name of this test. |
Method Detail |
---|
InputFile testFile()
TestCaseCoverage testFile(InputFile testFile)
String testName()
TestCaseCoverage testName(String name)
InputFile coveredFile()
TestCaseCoverage cover(InputFile mainFile)
List<Integer> coveredLines()
TestCaseCoverage onLines(List<Integer> lines)
void save()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |