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.



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

def initialize(fault) @fault = fault end

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


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

def error?() false end

#failure?Boolean

Returns:

  • (Boolean)


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

def failure?() false end

#locationObject



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

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

#messageObject



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

def message() @fault.message end

#nameObject



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

def name() Test::Unit::Omission.name end