public class MultiFileRangeCoverageInfo extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
MultiFileRangeCoverageInfo()
Constructor with a default timestamp.
|
MultiFileRangeCoverageInfo(long timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
addLineCoverage(MultiFileRangeCoverageInfo newCoverage)
Merges all coverage contained in newCoverage into this coverage.
|
void |
addLineCoverage(java.lang.String uniformPath,
IntList lines)
Adds the coverage information for the given lines.
|
void |
changeFilePath(java.lang.String reportPath,
java.lang.String pathInTeamscale)
If the test contains coverage from the given file, the uniform path is
adjusted to match the path used inside Teamscale.
|
java.util.Map<java.lang.String,IntList> |
getCoverage()
Returns the coverage represented by this object in raw form.
|
long |
getTimestamp() |
void |
setTimestamp(long timestamp) |
java.lang.String |
toString() |
public MultiFileRangeCoverageInfo()
public MultiFileRangeCoverageInfo(long timestamp)
public void addLineCoverage(MultiFileRangeCoverageInfo newCoverage)
public void addLineCoverage(java.lang.String uniformPath, IntList lines)
public long getTimestamp()
timestamp
public void setTimestamp(long timestamp)
timestamp
public java.util.Map<java.lang.String,IntList> getCoverage()
public java.lang.String toString()
toString
in class java.lang.Object
public void changeFilePath(java.lang.String reportPath, java.lang.String pathInTeamscale)