diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-11-10 17:44:56 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-11-12 11:01:30 +0100 |
commit | dd16b88717a81272e50624bd60ece463fae8ec76 (patch) | |
tree | 1c175d39a49d588be5bd4eec3e75f458314747c9 /sonar-batch/src/test | |
parent | cefeabcce2dc82c4987e2337df8075647a70f3e6 (diff) | |
download | sonarqube-dd16b88717a81272e50624bd60ece463fae8ec76.tar.gz sonarqube-dd16b88717a81272e50624bd60ece463fae8ec76.zip |
SONAR-6993 Rename DuplicationBlock into CpdTextBlock
Diffstat (limited to 'sonar-batch/src/test')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/mediumtest/cpd/CpdMediumTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/cpd/CpdMediumTest.java b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/cpd/CpdMediumTest.java index 2e734e0063d..acc0f5255ac 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/cpd/CpdMediumTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/cpd/CpdMediumTest.java @@ -37,7 +37,7 @@ import org.sonar.api.batch.fs.internal.DefaultInputFile; import org.sonar.api.measures.CoreMetrics; import org.sonar.batch.mediumtest.BatchMediumTester; import org.sonar.batch.mediumtest.TaskResult; -import org.sonar.batch.protocol.output.BatchReport.DuplicationBlock; +import org.sonar.batch.protocol.output.BatchReport; import org.sonar.batch.protocol.output.BatchReport.Measure; import org.sonar.xoo.XooPlugin; @@ -152,7 +152,7 @@ public class CpdMediumTest { InputFile inputFile1 = result.inputFile("src/sample1.xoo"); - List<DuplicationBlock> duplicationBlocks = result.duplicationBlocksFor(inputFile1); + List<BatchReport.CpdTextBlock> duplicationBlocks = result.duplicationBlocksFor(inputFile1); assertThat(duplicationBlocks).hasSize(3); assertThat(duplicationBlocks.get(0).getStartLine()).isEqualTo(1); assertThat(duplicationBlocks.get(0).getEndLine()).isEqualTo(5); |