diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-02-06 08:39:47 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-02-06 08:40:02 +0100 |
commit | a83774108ce39d7e3823fa4bbfec380b1628d0d3 (patch) | |
tree | 12c7242ef56aed1bca6468497551ae0599efebe1 /plugins/sonar-core-plugin | |
parent | ef64bc8cd49434ecec69f3ff966b862a33c664b5 (diff) | |
download | sonarqube-a83774108ce39d7e3823fa4bbfec380b1628d0d3.tar.gz sonarqube-a83774108ce39d7e3823fa4bbfec380b1628d0d3.zip |
SONAR-4093 Add test information
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb index 47f5aac6a91..1daa013ee80 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/web/tests_viewer.html.erb @@ -89,7 +89,7 @@ <% test_cases.each_with_index do |test_case, index| %> - <tr class="<%= cycle("even", "odd") -%>" id="testdata_<%= index -%>" display="table-row"> + <tr class="<%= cycle("even", "odd") -%> testdata_<%= index -%>" display="table-row"> <% status = test_case[:status] case status @@ -104,14 +104,13 @@ else icon_url = ApplicationController.root_context + "/images/levels/" + status + ".png" end - %> <td class="thin" nowrap> - <img id="test_status_<%= index -%>_<%= status -%>" src="<%= icon_url -%>"/> + <img class="test_status_<%= index -%>_<%= status -%>" src="<%= icon_url -%>"/> </td> - <td id="test_time_<%= index -%>" class="thin right" nowrap><%= test_case[:time] -%> ms</td> + <td class="test_time_<%= index -%> thin right" nowrap><%= test_case[:time] -%> ms</td> <% if has_covered_lines %> - <td id="test_covered_lines_<%= index -%>" class="thin right" nowrap> + <td class="test_covered_lines_<%= index -%>" class="thin right" nowrap> <a class="test_covered_lines_link_<%= index -%>" href="<%= ApplicationController.root_context -%>/test/testcase/?sid=<%= @snapshot.id -%>&test=<%= test_case[:name] -%>" onclick="openAccordionItem(this.href, this); return false;"><%= number_with_precision(test_case[:covered_lines], :precision => 0) -%> </a> |