Class: Minitest::Flaked
- Inherits:
-
Skip
- Object
- Skip
- Minitest::Flaked
- Defined in:
- lib/minitest/queue.rb
Instance Attribute Summary collapse
-
#failure ⇒ Object
readonly
Returns the value of attribute failure.
Instance Method Summary collapse
- #backtrace ⇒ Object
- #error ⇒ Object
-
#initialize(failure) ⇒ Flaked
constructor
A new instance of Flaked.
- #message ⇒ Object
- #result_label ⇒ Object
Constructor Details
#initialize(failure) ⇒ Flaked
Returns a new instance of Flaked.
48 49 50 51 |
# File 'lib/minitest/queue.rb', line 48 def initialize(failure) super() @failure = failure end |
Instance Attribute Details
#failure ⇒ Object (readonly)
Returns the value of attribute failure.
46 47 48 |
# File 'lib/minitest/queue.rb', line 46 def failure @failure end |
Instance Method Details
#backtrace ⇒ Object
57 58 59 |
# File 'lib/minitest/queue.rb', line 57 def backtrace failure.backtrace end |
#error ⇒ Object
61 62 63 |
# File 'lib/minitest/queue.rb', line 61 def error failure.error end |
#message ⇒ Object
65 66 67 |
# File 'lib/minitest/queue.rb', line 65 def failure. end |
#result_label ⇒ Object
53 54 55 |
# File 'lib/minitest/queue.rb', line 53 def result_label "Flaked" end |