Class: Roby::Test::ExecutionExpectations::HaveErrorMatching

Inherits:
ErrorExpectation show all
Defined in:
lib/roby/test/execution_expectations.rb

Instance Attribute Summary

Attributes inherited from Expectation

#backtrace

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_sObject



1092
1093
1094
# File 'lib/roby/test/execution_expectations.rb', line 1092

def to_s
    "should have an error matching #{@matcher}"
end

#update_match(propagation_info) ⇒ Object



1088
1089
1090
# File 'lib/roby/test/execution_expectations.rb', line 1088

def update_match(propagation_info)
    super(propagation_info.exceptions, propagation_info.emitted_events)
end