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, #relates_to_error?, #unachievable?
Constructor Details
#initialize(plan_object, backtrace) ⇒ NotFinalize
Returns a new instance of NotFinalize.
1103 1104 1105 1106 |
# File 'lib/roby/test/execution_expectations.rb', line 1103 def initialize(plan_object, backtrace) super(backtrace) @plan_object = plan_object end |
Instance Method Details
#to_s ⇒ Object
1112 1113 1114 |
# File 'lib/roby/test/execution_expectations.rb', line 1112 def to_s "#{@plan_object} should not be finalized" end |
#update_match(propagation_info) ⇒ Object
1108 1109 1110 |
# File 'lib/roby/test/execution_expectations.rb', line 1108 def update_match(propagation_info) @plan_object.plan end |