diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-01-30 18:31:16 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-01-30 18:36:39 +0100 |
commit | 04e8a2dc3dbd73170008e6eb9bd02285c3eac9ff (patch) | |
tree | afa6946c148131733bb74ed28103b54958b6a9e2 /plugins/sonar-core-plugin | |
parent | 5c9ee1b4ed291f2cd2465769b9a4d57dec25976c (diff) | |
download | sonarqube-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.erb | 2 |
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] = '' |