Class: Roby::Test::ExecutionExpectations::NotFinalize

Inherits:
Expectation 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 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.



1335
1336
1337
1338
# File 'lib/roby/test/execution_expectations.rb', line 1335

def initialize(plan_object, backtrace)
    super(backtrace)
    @plan_object = plan_object
end

Instance Method Details

#to_sObject



1344
1345
1346
# File 'lib/roby/test/execution_expectations.rb', line 1344

def to_s
    "#{@plan_object} should not be finalized"
end

#update_match(_propagation_info) ⇒ Object



1340
1341
1342
# File 'lib/roby/test/execution_expectations.rb', line 1340

def update_match(_propagation_info)
    @plan_object.plan
end