Class: CI::Reporter::TestUnitNotification
- Inherits:
-
Object
- Object
- CI::Reporter::TestUnitNotification
- Defined in:
- lib/ci/reporter/test_unit.rb
Overview
Wrapper around a Test::Unit
2.0 notification.
Instance Method Summary collapse
- #error? ⇒ Boolean
- #failure? ⇒ Boolean
-
#initialize(fault) ⇒ TestUnitNotification
constructor
A new instance of TestUnitNotification.
- #location ⇒ Object
- #message ⇒ Object
- #name ⇒ Object
Constructor Details
#initialize(fault) ⇒ TestUnitNotification
Returns a new instance of TestUnitNotification.
74 |
# File 'lib/ci/reporter/test_unit.rb', line 74 def initialize(fault) @fault = fault end |
Instance Method Details
#error? ⇒ Boolean
76 |
# File 'lib/ci/reporter/test_unit.rb', line 76 def error?() false end |
#failure? ⇒ Boolean
75 |
# File 'lib/ci/reporter/test_unit.rb', line 75 def failure?() false end |
#location ⇒ Object
79 |
# File 'lib/ci/reporter/test_unit.rb', line 79 def location() @fault.location.join("\n") end |
#message ⇒ Object
78 |
# File 'lib/ci/reporter/test_unit.rb', line 78 def () @fault. end |
#name ⇒ Object
77 |
# File 'lib/ci/reporter/test_unit.rb', line 77 def name() @fault.class.name end |