Class: CI::Reporter::MiniTestFailure
- Inherits:
-
FailureCore
- Object
- FailureCore
- CI::Reporter::MiniTestFailure
- Defined in:
- lib/ci/reporter/minitest.rb
Instance Method Summary collapse
- #error? ⇒ Boolean
- #failure? ⇒ Boolean
-
#initialize(fault, meth) ⇒ MiniTestFailure
constructor
A new instance of MiniTestFailure.
- #location ⇒ Object
- #message ⇒ Object
- #name ⇒ Object
Constructor Details
#initialize(fault, meth) ⇒ MiniTestFailure
Returns a new instance of MiniTestFailure.
40 |
# File 'lib/ci/reporter/minitest.rb', line 40 def initialize(fault, meth) @fault = fault; @meth = meth end |
Instance Method Details
#error? ⇒ Boolean
42 |
# File 'lib/ci/reporter/minitest.rb', line 42 def error?() false end |
#failure? ⇒ Boolean
41 |
# File 'lib/ci/reporter/minitest.rb', line 41 def failure?() true end |
#location ⇒ Object
45 |
# File 'lib/ci/reporter/minitest.rb', line 45 def location() super @fault end |
#message ⇒ Object
44 |
# File 'lib/ci/reporter/minitest.rb', line 44 def () @fault. end |
#name ⇒ Object
43 |
# File 'lib/ci/reporter/minitest.rb', line 43 def name() @meth end |