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