diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-05-26 14:22:27 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-06-01 17:08:28 +0200 |
commit | be8707ef18df79c56b14d8296a0955a6f81eae89 (patch) | |
tree | b4342d44b9f2f07dc3a3c92381f3f84440e5b08c /server/sonar-server-benchmarks | |
parent | d7f6c4e63eb6feadae9056c2822b22f269f69cd5 (diff) | |
download | sonarqube-be8707ef18df79c56b14d8296a0955a6f81eae89.tar.gz sonarqube-be8707ef18df79c56b14d8296a0955a6f81eae89.zip |
SONAR-6589 make BatchReportReader a dependency of ComputationSteps
move batch zip file extraction to new class ReportExtractor
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r-- | server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java | 2 |
1 files changed, 1 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 e7a27afed64..637a1b692e9 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 @@ -76,7 +76,7 @@ public class PersistFileSourcesStepTest { long start = System.currentTimeMillis(); - PersistFileSourcesStep step = new PersistFileSourcesStep(dbClient, System2.INSTANCE, dbComponentsRefCache); + PersistFileSourcesStep step = new PersistFileSourcesStep(dbClient, System2.INSTANCE, dbComponentsRefCache, reportReader); step.execute(new ComputationContext(reportReader, "PROJECT_KEY", new Settings(), dbClient, ComponentTreeBuilders.from(DumbComponent.DUMB_PROJECT), mock(LanguageRepository.class))); |