Class: CI::Reporter::TestUnitSkipped
- Inherits:
-
Object
- Object
- CI::Reporter::TestUnitSkipped
- Defined in:
- lib/ci/reporter/test_unit.rb
Overview
Wrapper around a Test::Unit
2.0 omission.
Instance Method Summary collapse
- #error? ⇒ Boolean
- #failure? ⇒ Boolean
-
#initialize(fault) ⇒ TestUnitSkipped
constructor
A new instance of TestUnitSkipped.
- #location ⇒ Object
- #message ⇒ Object
- #name ⇒ Object
Constructor Details
#initialize(fault) ⇒ TestUnitSkipped
Returns a new instance of TestUnitSkipped.
44 |
# File 'lib/ci/reporter/test_unit.rb', line 44 def initialize(fault) @fault = fault end |
Instance Method Details
#error? ⇒ Boolean
46 |
# File 'lib/ci/reporter/test_unit.rb', line 46 def error?() false end |
#failure? ⇒ Boolean
45 |
# File 'lib/ci/reporter/test_unit.rb', line 45 def failure?() false end |
#location ⇒ Object
49 |
# File 'lib/ci/reporter/test_unit.rb', line 49 def location() @fault.location.join("\n") end |
#message ⇒ Object
48 |
# File 'lib/ci/reporter/test_unit.rb', line 48 def () @fault. end |
#name ⇒ Object
47 |
# File 'lib/ci/reporter/test_unit.rb', line 47 def name() @fault.class.name end |