aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-01-30 18:31:16 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-01-30 18:36:39 +0100
commit04e8a2dc3dbd73170008e6eb9bd02285c3eac9ff (patch)
treeafa6946c148131733bb74ed28103b54958b6a9e2 /plugins/sonar-core-plugin
parent5c9ee1b4ed291f2cd2465769b9a4d57dec25976c (diff)
downloadsonarqube-04e8a2dc3dbd73170008e6eb9bd02285c3eac9ff.tar.gz
sonarqube-04e8a2dc3dbd73170008e6eb9bd02285c3eac9ff.zip
SONAR-2501 add preconditions and refactor some method names
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.erb2
1 files changed, 1 insertions, 1 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 9e2fb55ec28..6c046b422e1 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
@@ -59,7 +59,7 @@
test_case[:name] = test.name()
test_case[:status] = test.status()
test_case[:time] = test.durationInMs()
- has_covered_lines = test.hasCoveredLines()
+ has_covered_lines = test.doesCover()
test_case[:covered_lines] = test.countCoveredLines() if has_covered_lines
if test.status() != 'ok'
test_case[:message] = ''