summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-25 17:25:47 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-25 17:26:03 +0100
commit89ad184058dda7dc6710b838d90f02c24b34a7c6 (patch)
tree5f84bc34ef506954404f66095004797472e663c7
parentd6dc02d0ab88ab8d1e6a8e3fac369df556c62b57 (diff)
downloadsonarqube-89ad184058dda7dc6710b838d90f02c24b34a7c6.tar.gz
sonarqube-89ad184058dda7dc6710b838d90f02c24b34a7c6.zip
File coverage are now sorted by package name instead of class name
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase.html.erb
index 7fa1f8718f6..a7c5eb0832f 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase.html.erb
@@ -15,7 +15,7 @@
</tr>
</thead>
<tbody class="testcase-body">
- <% @test_case.coverageBlocks.sort_by { |cover| cover.testable.component.name }.each do |cover|
+ <% @test_case.coverageBlocks.sort_by { |cover| cover.testable.component.longName }.each do |cover|
%>
<tr class="<%= cycle("even", "odd") -%>">
<td class="right"><%= cover.lines.size -%></td>