Class: Roby::Test::ExecutionExpectations::Finalize

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, #relates_to_error?, #unachievable?

Constructor Details

#initialize(plan_object, backtrace) ⇒ Finalize

Returns a new instance of Finalize.



1118
1119
1120
1121
# File 'lib/roby/test/execution_expectations.rb', line 1118

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

Instance Method Details

#to_sObject



1127
1128
1129
# File 'lib/roby/test/execution_expectations.rb', line 1127

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

#update_match(propagation_info) ⇒ Object



1123
1124
1125
# File 'lib/roby/test/execution_expectations.rb', line 1123

def update_match(propagation_info)
    !@plan_object.plan
end