public class InMemPerTestCoverage extends BasePerTestCoverage implements Serializable
coverageSize, uniqueCoverageMask| Constructor and Description |
|---|
InMemPerTestCoverage(Clover2Registry registry) |
InMemPerTestCoverage(InMemPerTestCoverage other,
int coverageSize)
Constructs a new instance taking shallow copies of any fields where
appropriate.
|
InMemPerTestCoverage(int coverageSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
BitSet |
getAllHits() |
BitSet |
getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
getHitsFor(TestCaseInfo tci) |
BitSet |
getPassOnlyHits() |
TestCaseInfo |
getTestById(int id) |
Set<TestCaseInfo> |
getTests() |
Set<TestCaseInfo> |
getTestsCovering(CoverageDataRange range) |
boolean |
hasPerTestData() |
protected void |
initMasks() |
Map<TestCaseInfo,BitSet> |
mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
getCoverageSize, getUniqueCoverageMask, getUniqueHitsFor, getUniqueHitsForpublic InMemPerTestCoverage(int coverageSize)
public InMemPerTestCoverage(Clover2Registry registry)
public InMemPerTestCoverage(InMemPerTestCoverage other, int coverageSize)
public TestCaseInfo getTestById(int id)
getTestById in interface PerTestCoveragepublic boolean hasPerTestData()
hasPerTestData in interface PerTestCoveragepublic Set<TestCaseInfo> getTests()
getTests in interface PerTestCoverageprotected void initMasks()
initMasks in class BasePerTestCoveragepublic BitSet getHitsFor(TestCaseInfo tci)
getHitsFor in interface PerTestCoveragepublic BitSet getPassOnlyHits()
getPassOnlyHits in interface PerTestCoveragepublic BitSet getAllHits()
getAllHits in interface PerTestCoveragepublic BitSet getHitsFor(Set<TestCaseInfo> tcis)
getHitsFor in interface PerTestCoveragepublic BitSet getHitsFor(Set<TestCaseInfo> tcis, CoverageDataRange range)
getHitsFor in interface PerTestCoveragepublic Set<TestCaseInfo> getTestsCovering(CoverageDataRange range)
getTestsCovering in interface PerTestCoveragepublic Map<TestCaseInfo,BitSet> mapTestsAndCoverageForFile(FullFileInfo fileInfo)
mapTestsAndCoverageForFile in interface PerTestCoveragepublic void addCoverage(TestCaseInfo tci, PerTestRecordingTranscript recording)
addCoverage in interface PerTestCoverageCopyright © 2024 OpenClover.org. All rights reserved.