aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-06-20 14:54:01 -0500
committersonartech <sonartech@sonarsource.com>2022-06-21 20:02:45 +0000
commit4c674a26a6c422348f7a3f3fbfb8712abf001bbd (patch)
treeac554d55c710c2fbbe154a3f93a87da1f7ae86ac /sonar-scanner-engine/src
parent2cb3e53879262017a32c3e394ac30669e573c42c (diff)
downloadsonarqube-4c674a26a6c422348f7a3f3fbfb8712abf001bbd.tar.gz
sonarqube-4c674a26a6c422348f7a3f3fbfb8712abf001bbd.zip
SONAR-16521 'Line Coverage' inconsistent with 'Lines to cover' and 'uncovered lines'
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/genericcoverage/GenericCoverageReportParserTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/genericcoverage/GenericCoverageReportParserTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/genericcoverage/GenericCoverageReportParserTest.java
index 2794ef9d74d..5e2ac89c101 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/genericcoverage/GenericCoverageReportParserTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/genericcoverage/GenericCoverageReportParserTest.java
@@ -249,7 +249,7 @@ public class GenericCoverageReportParserTest {
private DefaultInputFile setupFile(String path) {
return new TestInputFileBuilder(context.module().key(), path)
.setLanguage("bla")
- .setType(InputFile.Type.TEST)
+ .setType(InputFile.Type.MAIN)
.initMetadata("1\n2\n3\n4\n5\n6")
.build();
}