Class: CI::Reporter::TestUnitSkipped

Inherits:
Object
  • Object
show all
Defined in:
lib/ci/reporter/test_unit.rb

Overview

Wrapper around a Test::Unit 2.0 omission.

Instance Method Summary collapse

Constructor Details

#initialize(fault) ⇒ TestUnitSkipped

Returns a new instance of TestUnitSkipped.



64
# File 'lib/ci/reporter/test_unit.rb', line 64

def initialize(fault) @fault = fault end

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


66
# File 'lib/ci/reporter/test_unit.rb', line 66

def error?() false end

#failure?Boolean

Returns:

  • (Boolean)


65
# File 'lib/ci/reporter/test_unit.rb', line 65

def failure?() false end

#locationObject



69
# File 'lib/ci/reporter/test_unit.rb', line 69

def location() @fault.location.join("\n") end

#messageObject



68
# File 'lib/ci/reporter/test_unit.rb', line 68

def message() @fault.message end

#nameObject



67
# File 'lib/ci/reporter/test_unit.rb', line 67

def name() @fault.class.name end