diff options
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java b/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java index 389e9dfd5b8..ed0142bcace 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java +++ b/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java @@ -140,6 +140,13 @@ public class BatchMediumTester { return this; } + public BatchMediumTesterBuilder registerMetrics(List<Metric> metrics) { + for (Metric<?> m : metrics) { + registerMetric(m); + } + return this; + } + } public void start() { |