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, #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_sObject



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