Class CI::Reporter::TestUnitFailure
In: lib/ci/reporter/test_unit.rb
Parent: Object

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

Methods

error?   failure?   location   message   name   new  

Public Class methods

[Source]

    # File lib/ci/reporter/test_unit.rb, line 33
33:       def initialize(fault) @fault = fault end

Public Instance methods

[Source]

    # File lib/ci/reporter/test_unit.rb, line 35
35:       def error?() false end

[Source]

    # File lib/ci/reporter/test_unit.rb, line 34
34:       def failure?() true end

[Source]

    # File lib/ci/reporter/test_unit.rb, line 38
38:       def location() @fault.location.join("\n") end

[Source]

    # File lib/ci/reporter/test_unit.rb, line 37
37:       def message() @fault.message end

[Source]

    # File lib/ci/reporter/test_unit.rb, line 36
36:       def name() Test::Unit::AssertionFailedError.name end

[Validate]