class CI::Reporter::TestUnitNotification
Wrapper around a Test::Unit
2.0 notification.
Public Class Methods
new(fault)
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 74 def initialize(fault) @fault = fault end
Public Instance Methods
error?()
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 76 def error?() false end
failure?()
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 75 def failure?() false end
location()
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 79 def location() @fault.location.join("\n") end
message()
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 78 def message() @fault.message end
name()
click to toggle source
# File lib/ci/reporter/test_unit.rb, line 77 def name() @fault.class.name end