From: David Gageot Date: Thu, 14 Jun 2012 13:03:55 +0000 (+0200) Subject: SONAR-3451 Remove the "Chidamber & Kemerer" from the default dashboard X-Git-Tag: 3.2~326 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4512dbdb88949e10b1335d9eecdf182f5ad85a1e;p=sonarqube.git SONAR-3451 Remove the "Chidamber & Kemerer" from the default dashboard --- diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java index 318eb1e3861..6b120c9cd84 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/DefaultDashboard.java @@ -58,7 +58,6 @@ public final class DefaultDashboard extends DashboardTemplate { dashboard.addWidget("alerts", 2); dashboard.addWidget("file_design", 2); dashboard.addWidget("package_design", 2); - dashboard.addWidget("ckjm", 2); } } \ No newline at end of file diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java index 7e13f5c4995..e97352f80da 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/DefaultDashboardTest.java @@ -44,6 +44,6 @@ public class DefaultDashboardTest { Dashboard dashboard = template.createDashboard(); assertThat(dashboard.getLayout()).isEqualTo(DashboardLayout.TWO_COLUMNS); - assertThat(dashboard.getWidgets()).hasSize(11); + assertThat(dashboard.getWidgets()).hasSize(10); } }