class Roby::Test::ExecutionExpectations::PromiseFinishes

Public Class Methods

new(promise, backtrace) click to toggle source
# File lib/roby/test/execution_expectations.rb, line 1007
def initialize(promise, backtrace)
    super(backtrace)
    @promise = promise
end

Public Instance Methods

to_s() click to toggle source
# File lib/roby/test/execution_expectations.rb, line 1016
def to_s
    "#{@promise} should have finished"
end
update_match(propagation_info) click to toggle source
# File lib/roby/test/execution_expectations.rb, line 1012
def update_match(propagation_info)
    @promise.complete?
end