Parent

CI::Reporter::TestUnitError

Wrapper around a Test::Unit error to be used by the test suite to interpret results.

Public Class Methods

new(fault) click to toggle source
# File lib/ci/reporter/test_unit.rb, line 24
def initialize(fault) @fault = fault end

Public Instance Methods

error?() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 26
def error?() true end
failure?() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 25
def failure?() false end
location() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 29
def location() @fault.exception.backtrace.join("\n") end
message() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 28
def message() @fault.exception.message end
name() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 27
def name() @fault.exception.class.name end

[Validate]

Generated with the Darkfish Rdoc Generator 2.