diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-10-13 11:54:50 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-10-14 14:26:45 +0200 |
commit | 6882924ef2d57618e9391c20b1a7a54546a7d9dd (patch) | |
tree | de6469b2b4aa3f9599995186317b037c715024c9 /plugins/sonar-cpd-plugin/src | |
parent | 95551739d6659af8c03250a708f075937e607456 (diff) | |
download | sonarqube-6882924ef2d57618e9391c20b1a7a54546a7d9dd.tar.gz sonarqube-6882924ef2d57618e9391c20b1a7a54546a7d9dd.zip |
SONAR-5389 Refactor dependency API
Diffstat (limited to 'plugins/sonar-cpd-plugin/src')
-rw-r--r-- | plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java b/plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java index 1344179bfb2..56805e5dd7a 100644 --- a/plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java +++ b/plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java @@ -105,7 +105,7 @@ public class CpdMediumTest { // 4 measures per file assertThat(result.measures()).hasSize(8); - InputFile inputFile = result.inputFiles().get(0); + InputFile inputFile = result.inputFile("src/sample1.xoo"); // One clone group List<DuplicationGroup> duplicationGroups = result.duplicationsFor(inputFile); assertThat(duplicationGroups).hasSize(1); |