diff options
author | Eric Giffon <eric.giffon@sonarsource.com> | 2024-10-09 11:08:22 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-10-09 20:02:47 +0000 |
commit | 86e133c37ac5e3aa5d02b9cf23494be27b7ed3dd (patch) | |
tree | 604fc73135fb2d991f52b0997f95af2072c2d583 | |
parent | edabd8b0238186fcb10255865e29f8311c2e4972 (diff) | |
download | sonarqube-86e133c37ac5e3aa5d02b9cf23494be27b7ed3dd.tar.gz sonarqube-86e133c37ac5e3aa5d02b9cf23494be27b7ed3dd.zip |
SONAR-22872 Correctly populate ncloc_language_distribution
-rw-r--r-- | server/sonar-db-dao/src/testFixtures/java/org/sonar/db/measure/MeasureDbTester.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/measure/MeasureDbTester.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/measure/MeasureDbTester.java index 2e4dc73955e..bbece52818e 100644 --- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/measure/MeasureDbTester.java +++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/measure/MeasureDbTester.java @@ -155,6 +155,7 @@ public class MeasureDbTester { put(CoreMetrics.RELIABILITY_ISSUES_KEY, (metric, m) -> m.setData("{\"LOW\":0,\"MEDIUM\":1,\"HIGH\":0,\"total\":1}")); put(CoreMetrics.MAINTAINABILITY_ISSUES_KEY, (metric, m) -> m.setData("{\"LOW\":0,\"MEDIUM\":1,\"HIGH\":0,\"total\":1}")); put(CoreMetrics.SECURITY_ISSUES_KEY, (metric, m) -> m.setData("{\"LOW\":0,\"MEDIUM\":1,\"HIGH\":0,\"total\":1}")); + put(CoreMetrics.NCLOC_LANGUAGE_DISTRIBUTION_KEY, (metric, m) -> m.setData("java=123;xml=10")); } }; |