diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-09 12:53:42 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-09 13:04:41 +0200 |
commit | 45b9f6870c36040482930d73237d6d98a282f904 (patch) | |
tree | c9831fb0f407cf7f5909a2db43fde72e9439a64f /plugins/sonar-core-plugin | |
parent | 36b2b7e2dd6359b58e77052bd2557d0107f1a9b0 (diff) | |
download | sonarqube-45b9f6870c36040482930d73237d6d98a282f904.tar.gz sonarqube-45b9f6870c36040482930d73237d6d98a282f904.zip |
SONAR-5712 Merge package_design widget into file_design widget
Diffstat (limited to 'plugins/sonar-core-plugin')
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboard.java index 96799dfec2c..b7deddf94a0 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboard.java @@ -57,7 +57,6 @@ public final class ProjectDefaultDashboard extends DashboardTemplate { dashboard.addWidget("rules", 2); dashboard.addWidget("alerts", 2); dashboard.addWidget("file_design", 2); - dashboard.addWidget("package_design", 2); dashboard.addWidget("code_coverage", 2); } diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboardTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboardTest.java index 9da3ea6f7fe..ad3afee325c 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboardTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/ProjectDefaultDashboardTest.java @@ -44,6 +44,6 @@ public class ProjectDefaultDashboardTest { Dashboard dashboard = template.createDashboard(); assertThat(dashboard.getLayout()).isEqualTo(DashboardLayout.TWO_COLUMNS); - assertThat(dashboard.getWidgets()).hasSize(11); + assertThat(dashboard.getWidgets()).hasSize(10); } } |