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.
51 |
# File 'lib/ci/reporter/test_unit.rb', line 51 def initialize(fault) @fault = fault end |
Instance Method Details
#error? ⇒ Boolean
53 |
# File 'lib/ci/reporter/test_unit.rb', line 53 def error?() false end |
#failure? ⇒ Boolean
52 |
# File 'lib/ci/reporter/test_unit.rb', line 52 def failure?() false end |
#location ⇒ Object
56 |
# File 'lib/ci/reporter/test_unit.rb', line 56 def location() @fault.location.join("\n") end |
#message ⇒ Object
55 |
# File 'lib/ci/reporter/test_unit.rb', line 55 def () @fault. end |
#name ⇒ Object
54 |
# File 'lib/ci/reporter/test_unit.rb', line 54 def name() @fault.class.name end |