Class: Roby::Test::ExecutionExpectations::HaveHandledErrorMatching
- Inherits:
-
ErrorExpectation
- Object
- Expectation
- ErrorExpectation
- Roby::Test::ExecutionExpectations::HaveHandledErrorMatching
- Defined in:
- lib/roby/test/execution_expectations.rb
Instance Attribute Summary
Attributes inherited from Expectation
Instance Method Summary collapse
Methods inherited from ErrorExpectation
#initialize, #relates_to_error?, #return_object
Methods inherited from Expectation
#explain_unachievable, #filter_result, #filter_result_with, #format_unachievable_explanation, #initialize, #relates_to_error?, #unachievable?
Constructor Details
This class inherits a constructor from Roby::Test::ExecutionExpectations::ErrorExpectation
Instance Method Details
#to_s ⇒ Object
1103 1104 1105 |
# File 'lib/roby/test/execution_expectations.rb', line 1103 def to_s "should have handled an error matching #{@matcher}" end |
#update_match(propagation_info) ⇒ Object
1098 1099 1100 1101 |
# File 'lib/roby/test/execution_expectations.rb', line 1098 def update_match(propagation_info) super(propagation_info.handled_errors.map(&:first), propagation_info.emitted_events) end |