]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-1927 Remove test widget
authorDavid Gageot <david@gageot.net>
Wed, 9 May 2012 14:40:19 +0000 (16:40 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 9 May 2012 14:51:33 +0000 (16:51 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TestComplexityWidget.java [deleted file]

index e9ac361baa90edd0cc4584f87430ef84b39ddf44..2541173c0513b830304bc8be3e4f53e7cbd925e1 100644 (file)
@@ -249,7 +249,6 @@ public final class CorePlugin extends SonarPlugin {
     extensions.add(CommentsDuplicationsWidget.class);
     extensions.add(DescriptionWidget.class);
     extensions.add(ComplexityWidget.class);
-    extensions.add(TestComplexityWidget.class);
     extensions.add(RulesWidget.class);
     extensions.add(SizeWidget.class);
     extensions.add(EventsWidget.class);
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TestComplexityWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TestComplexityWidget.java
deleted file mode 100644 (file)
index 2f17f6d..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2012 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02
- */
-package org.sonar.plugins.core.widgets;
-
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.RubyRailsWidget;
-import org.sonar.api.web.WidgetCategory;
-import org.sonar.api.web.WidgetGlobal;
-
-@WidgetCategory({"Global", "Complexity"})
-@WidgetGlobal
-public class TestComplexityWidget extends AbstractRubyTemplate implements RubyRailsWidget {
-
-  public String getId() {
-    return "testComplexity";
-  }
-
-  public String getTitle() {
-    return "TestComplexity";
-  }
-
-  @Override
-  protected String getTemplatePath() {
-    return "/org/sonar/plugins/core/widgets/test_complexity.html.erb";
-  }
-}
\ No newline at end of file