Wrapper around a Test::Unit
failure to be used by the test
suite to interpret results.
# File lib/ci/reporter/test_unit.rb, line 54 def initialize(fault) @fault = fault end
# File lib/ci/reporter/test_unit.rb, line 56 def error?() false end
# File lib/ci/reporter/test_unit.rb, line 55 def failure?() true end
# File lib/ci/reporter/test_unit.rb, line 59 def location() @fault.location.join("\n") end
# File lib/ci/reporter/test_unit.rb, line 58 def message() @fault.message end
# File lib/ci/reporter/test_unit.rb, line 57 def name() Test::Unit::AssertionFailedError.name end