Class: Roby::Test::ExecutionExpectations::NotFinalize
- Inherits:
-
Expectation
- Object
- Expectation
- Roby::Test::ExecutionExpectations::NotFinalize
- Defined in:
- lib/roby/test/execution_expectations.rb
Instance Attribute Summary
Attributes inherited from Expectation
Instance Method Summary collapse
-
#initialize(plan_object, backtrace) ⇒ NotFinalize
constructor
A new instance of NotFinalize.
- #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) ⇒ NotFinalize
Returns a new instance of NotFinalize.
1392 1393 1394 1395 |
# File 'lib/roby/test/execution_expectations.rb', line 1392 def initialize(plan_object, backtrace) super(backtrace) @plan_object = plan_object end |
Instance Method Details
#to_s ⇒ Object
1401 1402 1403 |
# File 'lib/roby/test/execution_expectations.rb', line 1401 def to_s "#{@plan_object} should not be finalized" end |
#update_match(_propagation_info) ⇒ Object
1397 1398 1399 |
# File 'lib/roby/test/execution_expectations.rb', line 1397 def update_match(_propagation_info) @plan_object.plan end |