diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2012-12-05 10:31:59 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2012-12-05 10:31:59 +0100 |
commit | f40734cb512ab21804516ded9baae568e10df688 (patch) | |
tree | 7621b21b1d4007bddac90d599fa7cb3d0e57d467 /plugins/sonar-core-plugin/src/main | |
parent | 404437827385fa720792e9661552b5be6a7e5567 (diff) | |
download | sonarqube-f40734cb512ab21804516ded9baae568e10df688.tar.gz sonarqube-f40734cb512ab21804516ded9baae568e10df688.zip |
Fix some quality flaws
Diffstat (limited to 'plugins/sonar-core-plugin/src/main')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/web/TestsViewer.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/web/TestsViewer.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/web/TestsViewer.java index eee72b05346..c2d6efbc06d 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/web/TestsViewer.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/web/TestsViewer.java @@ -21,11 +21,18 @@ package org.sonar.plugins.core.web; import org.sonar.api.measures.CoreMetrics; import org.sonar.api.resources.Qualifiers; -import org.sonar.api.web.*; +import org.sonar.api.web.AbstractRubyTemplate; +import org.sonar.api.web.DefaultTab; +import org.sonar.api.web.NavigationSection; +import org.sonar.api.web.ResourceQualifier; +import org.sonar.api.web.RubyRailsPage; +import org.sonar.api.web.UserRole; @ResourceQualifier(Qualifiers.UNIT_TEST_FILE) @NavigationSection(NavigationSection.RESOURCE_TAB) -@DefaultTab(metrics = {CoreMetrics.TESTS_KEY, CoreMetrics.TEST_EXECUTION_TIME_KEY, CoreMetrics.TEST_SUCCESS_DENSITY_KEY, CoreMetrics.TEST_FAILURES_KEY, CoreMetrics.TEST_ERRORS_KEY, CoreMetrics.SKIPPED_TESTS_KEY}) +@DefaultTab(metrics = { + CoreMetrics.TESTS_KEY, CoreMetrics.TEST_EXECUTION_TIME_KEY, CoreMetrics.TEST_SUCCESS_DENSITY_KEY, + CoreMetrics.TEST_FAILURES_KEY, CoreMetrics.TEST_ERRORS_KEY, CoreMetrics.SKIPPED_TESTS_KEY}) @UserRole(UserRole.CODEVIEWER) public class TestsViewer extends AbstractRubyTemplate implements RubyRailsPage { |