diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-05-21 15:44:14 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-05-25 13:27:24 +0200 |
commit | 1528580c9b9e8397b6bdfdefa22f60b37340c097 (patch) | |
tree | 8bf0546176ccd34c9f1a48e9b66e75c8203ce799 /server/sonar-server-benchmarks | |
parent | b83f68c27b1bab902ce54da312ecfe77b89148e5 (diff) | |
download | sonarqube-1528580c9b9e8397b6bdfdefa22f60b37340c097.tar.gz sonarqube-1528580c9b9e8397b6bdfdefa22f60b37340c097.zip |
SONAR-6568 add LanguageRepository
quality profile events computation requires to access the Language in the container
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r-- | server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java index c18ee881aed..1f6d704cf76 100644 --- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java +++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java @@ -26,6 +26,7 @@ import org.junit.Test; import org.junit.rules.TemporaryFolder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.sonar.api.config.Settings; import org.sonar.api.utils.System2; import org.sonar.api.utils.internal.Uuids; import org.sonar.batch.protocol.Constants; @@ -79,7 +80,7 @@ public class PersistFileSourcesStepTest { long start = System.currentTimeMillis(); PersistFileSourcesStep step = new PersistFileSourcesStep(dbClient, System2.INSTANCE, dbComponentsRefCache); - step.execute(new ComputationContext(new BatchReportReader(reportDir), "PROJECT_KEY")); + step.execute(new ComputationContext(new BatchReportReader(reportDir), "PROJECT_KEY", new Settings())); long end = System.currentTimeMillis(); long duration = end - start; |