-
-
Method Summary
Given a testcase return lines that were hit
Return an array of integers that represent line numbers of executable lines
Given a line number return testcase(s) that hit the line
boolean
Return true if line number has been hit
void
Remove a testcase from this file
-
Method Details
-
getLines
Return an array of integers that represent line numbers of executable lines
- Parameters:
hit - if true then only hit lines will be returned otherwise all lines are returned
- Returns:
- array of line numbers
-
getHitLines
Given a testcase return lines that were hit
- Parameters:
testcase - requested testcase
- Returns:
- array of line numbers
-
getTestcases
Given a line number return testcase(s) that hit the line
- Parameters:
lineNumber - line number to check for testcases
- Returns:
- 0 or more testcases
ICCTestcase
-
removeTestcase
void removeTestcase(int id)
Remove a testcase from this file
- Parameters:
id - testcase id
-
isHit
boolean isHit(int lineNumber)
Return true if line number has been hit
- Parameters:
lineNumber - line number to check
- Returns:
- true if line number hit