Parent

CI::Reporter::TestUnitFailure

Wrapper around a Test::Unit failure 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 54
def initialize(fault) @fault = fault end

Public Instance Methods

error?() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 56
def error?() false end
failure?() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 55
def failure?() true end
location() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 59
def location() @fault.location.join("\n") end
message() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 58
def message() @fault.message end
name() click to toggle source
# File lib/ci/reporter/test_unit.rb, line 57
def name() Test::Unit::AssertionFailedError.name end

[Validate]

Generated with the Darkfish Rdoc Generator 2.