Class: Roby::Test::ExecutionExpectations::Finalize
- Inherits:
-
Expectation
- Object
- Expectation
- Roby::Test::ExecutionExpectations::Finalize
- Defined in:
- lib/roby/test/execution_expectations.rb
Instance Attribute Summary
Attributes inherited from Expectation
Instance Method Summary collapse
-
#initialize(plan_object, backtrace) ⇒ Finalize
constructor
A new instance of Finalize.
- #to_s ⇒ Object
- #update_match(_propagation_info) ⇒ Object
Methods inherited from Expectation
#explain_unachievable, #filter_result, #filter_result_with, #format_unachievable_explanation, #relates_to_error?, #unachievable?
Constructor Details
#initialize(plan_object, backtrace) ⇒ Finalize
Returns a new instance of Finalize.
1350 1351 1352 1353 |
# File 'lib/roby/test/execution_expectations.rb', line 1350 def initialize(plan_object, backtrace) super(backtrace) @plan_object = plan_object end |
Instance Method Details
#to_s ⇒ Object
1359 1360 1361 |
# File 'lib/roby/test/execution_expectations.rb', line 1359 def to_s "#{@plan_object} should be finalized" end |
#update_match(_propagation_info) ⇒ Object
1355 1356 1357 |
# File 'lib/roby/test/execution_expectations.rb', line 1355 def update_match(_propagation_info) !@plan_object.plan end |