aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-benchmarks
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-08-12 18:21:32 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-08-24 14:00:30 +0200
commita1feea20dda2b5013311acef8fe8ac04025b410d (patch)
treefa539065c0956aee23cb7a179a79c85e20ad49f7 /server/sonar-server-benchmarks
parentb1f137ca79da8dcee79ff258cd39d439fad80820 (diff)
downloadsonarqube-a1feea20dda2b5013311acef8fe8ac04025b410d.tar.gz
sonarqube-a1feea20dda2b5013311acef8fe8ac04025b410d.zip
rename DumbComponent to ReportComponent
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r--server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java6
1 files changed, 3 insertions, 3 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 20fa1bfb92f..2906a4e4ac9 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
@@ -41,7 +41,7 @@ import org.sonar.server.computation.batch.BatchReportDirectoryHolderImpl;
import org.sonar.server.computation.batch.BatchReportReaderImpl;
import org.sonar.server.computation.batch.TreeRootHolderRule;
import org.sonar.server.computation.component.Component;
-import org.sonar.server.computation.component.DumbComponent;
+import org.sonar.server.computation.component.ReportComponent;
import org.sonar.server.computation.step.PersistFileSourcesStep;
import org.sonar.server.db.DbClient;
@@ -110,7 +110,7 @@ public class PersistFileSourcesStepTest {
components.add(generateFileReport(writer, fileRef));
project.addChildRef(fileRef);
}
- treeRootHolder.setRoot(DumbComponent.builder(Component.Type.PROJECT, 1)
+ treeRootHolder.setRoot(ReportComponent.builder(Component.Type.PROJECT, 1)
.setUuid(PROJECT_UUID)
.setKey("PROJECT")
.addChildren(components.toArray(new Component[components.size()]))
@@ -139,7 +139,7 @@ public class PersistFileSourcesStepTest {
writer.writeComponentSymbols(fileRef, lineData.symbols);
writer.writeComponentDuplications(fileRef, lineData.duplications);
- return DumbComponent.builder(Component.Type.FILE, fileRef).setUuid(Uuids.create()).setKey("PROJECT:" + fileRef).build();
+ return ReportComponent.builder(Component.Type.FILE, fileRef).setUuid(Uuids.create()).setKey("PROJECT:" + fileRef).build();
}
private static class LineData {