| Rcov report for: app/models/hudson_build_test_result.rb| Name | Total lines | Lines of code | Total coverage | Code coverage | | app/models/hudson_build_test_result.rb | 18 | 9 | | |
1 # To change this template, choose Tools | Templates | 2 # and open the template in the editor. | 3 | 4 class HudsonBuildTestResult < ActiveRecord::Base | 5 unloadable | 6 belongs_to :build, :class_name => 'HudsonBuild', :foreign_key => 'hudson_build_id' | 7 | 8 # ��������������������������� | 9 validates_presence_of :hudson_build_id | 10 | 11 # ��������������������������� | 12 validates_uniqueness_of :hudson_build_id | 13 | 14 def description_for_activity | 15 return "TestResults: #{fail_count}Failed #{skip_count}Skipped Total-#{total_count}" | 16 end | 17 | 18 end |
|