aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-01-16 00:09:04 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-01-16 00:27:08 +0100
commit640f9c74ea381aa45d5e92d00d79029471195992 (patch)
treecd95c13fb500a2cda5812ab5d8eed2f05c8050a2 /plugins
parent445ac3e5a16c86d8906e82567657fefdb30d50e1 (diff)
downloadsonarqube-640f9c74ea381aa45d5e92d00d79029471195992.tar.gz
sonarqube-640f9c74ea381aa45d5e92d00d79029471195992.zip
SONAR-5077 Lines metric is computed by the core
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-cpd-plugin/src/test/java/org/sonar/plugins/cpd/medium/CpdMediumTest.java8
1 files changed, 4 insertions, 4 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 44de4e1e576..e7de8cb8625 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
@@ -103,8 +103,8 @@ public class CpdMediumTest {
assertThat(result.inputFiles()).hasSize(2);
- // 4 measures per file + quality profile measure
- assertThat(result.measures()).hasSize(9);
+ // 5 measures per file + quality profile measure
+ assertThat(result.measures()).hasSize(11);
InputFile inputFile1 = result.inputFile("src/sample1.xoo");
InputFile inputFile2 = result.inputFile("src/sample2.xoo");
@@ -151,8 +151,8 @@ public class CpdMediumTest {
.build())
.start();
- // 4 measures per file + QP measure
- assertThat(result.measures()).hasSize(5);
+ // 5 measures per file + QP measure
+ assertThat(result.measures()).hasSize(6);
InputFile inputFile = result.inputFile("src/sample.xoo");
// One clone group