diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-07-20 11:02:00 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-07-21 17:31:54 +0200 |
commit | 1066a59abeb3e3cafda581b84b87fada2a5947a2 (patch) | |
tree | bd975f6c5827c94b0ea1a6d58b40b8bb95a349f3 /sonar-core | |
parent | 245d9e1719ef6b3cc4d848d7c993f27c79b138fe (diff) | |
download | sonarqube-1066a59abeb3e3cafda581b84b87fada2a5947a2.tar.gz sonarqube-1066a59abeb3e3cafda581b84b87fada2a5947a2.zip |
SONAR-6681 Move computation of Unit test related measures to CE
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/metric/BatchMetrics.java | 2 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/metric/BatchMetricsTest.java | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/metric/BatchMetrics.java b/sonar-core/src/main/java/org/sonar/core/metric/BatchMetrics.java index 1317c90dcfc..56aad8afb72 100644 --- a/sonar-core/src/main/java/org/sonar/core/metric/BatchMetrics.java +++ b/sonar-core/src/main/java/org/sonar/core/metric/BatchMetrics.java @@ -85,7 +85,6 @@ import static org.sonar.api.measures.CoreMetrics.TESTS; import static org.sonar.api.measures.CoreMetrics.TEST_ERRORS; import static org.sonar.api.measures.CoreMetrics.TEST_EXECUTION_TIME; import static org.sonar.api.measures.CoreMetrics.TEST_FAILURES; -import static org.sonar.api.measures.CoreMetrics.TEST_SUCCESS_DENSITY; import static org.sonar.api.measures.CoreMetrics.UNCOVERED_CONDITIONS; import static org.sonar.api.measures.CoreMetrics.UNCOVERED_LINES; @@ -136,7 +135,6 @@ public class BatchMetrics { TEST_ERRORS, TEST_FAILURES, TEST_EXECUTION_TIME, - TEST_SUCCESS_DENSITY, LINES_TO_COVER, UNCOVERED_LINES, diff --git a/sonar-core/src/test/java/org/sonar/core/metric/BatchMetricsTest.java b/sonar-core/src/test/java/org/sonar/core/metric/BatchMetricsTest.java index 07f5189b54e..e3ddc9ba336 100644 --- a/sonar-core/src/test/java/org/sonar/core/metric/BatchMetricsTest.java +++ b/sonar-core/src/test/java/org/sonar/core/metric/BatchMetricsTest.java @@ -37,7 +37,7 @@ public class BatchMetricsTest { @Test public void check_number_of_allowed_core_metrics() throws Exception { - assertThat(SENSOR_METRICS_WITHOUT_METRIC_PLUGIN.getMetrics()).hasSize(55); + assertThat(SENSOR_METRICS_WITHOUT_METRIC_PLUGIN.getMetrics()).hasSize(54); } @Test |