aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/test
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-14 12:29:08 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-14 12:29:30 +0200
commit8ddfe9890005b19d2e21c0b3c5da18aac35969cc (patch)
treee306e50890f291851072a8a975ff23d6666299d9 /sonar-plugin-api/src/main/java/org/sonar/api/test
parent420b0e771db118050e13e5fc36e16b4958022bbb (diff)
downloadsonarqube-8ddfe9890005b19d2e21c0b3c5da18aac35969cc.tar.gz
sonarqube-8ddfe9890005b19d2e21c0b3c5da18aac35969cc.zip
SONAR-5285 Return the number of covered lines
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/test')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java b/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
index cfa3572020a..7091b6bee86 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/test/Testable.java
@@ -22,6 +22,7 @@ package org.sonar.api.test;
import org.sonar.api.component.Perspective;
import java.util.List;
+import java.util.Map;
import java.util.SortedSet;
public interface Testable extends Perspective {
@@ -32,6 +33,8 @@ public interface Testable extends Perspective {
int countTestCasesOfLine(Integer line);
+ Map<Integer, Integer> testCasesByLines();
+
List<TestCase> testCasesOfLine(int line);
SortedSet<Integer> testedLines();