-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pull out interface for report coverage methods
- Loading branch information
Henry Coles
committed
Apr 29, 2021
1 parent
a5cbb6b
commit e0f4b9e
Showing
8 changed files
with
237 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 1 addition & 10 deletions
11
pitest-entry/src/main/java/org/pitest/coverage/CoverageDatabase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,18 @@ | ||
package org.pitest.coverage; | ||
|
||
import org.pitest.classinfo.ClassInfo; | ||
import org.pitest.classinfo.ClassName; | ||
|
||
import java.math.BigInteger; | ||
import java.util.Collection; | ||
|
||
public interface CoverageDatabase { | ||
|
||
Collection<ClassInfo> getClassInfo(Collection<ClassName> classes); | ||
|
||
int getNumberOfCoveredLines(Collection<ClassName> clazz); | ||
public interface CoverageDatabase extends ReportCoverage { | ||
|
||
Collection<TestInfo> getTestsForClass(ClassName clazz); | ||
|
||
Collection<TestInfo> getTestsForInstructionLocation(InstructionLocation location); | ||
|
||
Collection<TestInfo> getTestsForClassLine(ClassLine classLine); | ||
|
||
BigInteger getCoverageIdForClass(ClassName clazz); | ||
|
||
Collection<ClassInfo> getClassesForFile(String sourceFile, String packageName); | ||
|
||
CoverageSummary createSummary(); | ||
|
||
} |
Oops, something went wrong.