Sha256: 02d485bf57955a2b92600769f9f8d8c5d0c63b412b48e16ac04c5417097fa0bc

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 Bytes

Contents

#
# testing ruote
#
# Thu Jul 16 16:11:57 JST 2009
#

require File.join(File.dirname(__FILE__), 'base')


class FtAliasTest < Test::Unit::TestCase
  include FunctionalBase

  def test_var_alias

    pdef = Ruote.process_definition :name => 'def0' do
      set :v => 'alpha', :val => 'bravo'
      sequence do
        alpha
        bravo
      end
    end

    alpha = @engine.register_participant :bravo do |workitem|
      @tracer << "b:#{workitem.fields['params']['original_ref']}\n"
    end

    #noisy

    assert_trace(pdef, %w[ b:alpha b: ])
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruote-2.1.7 test/functional/ft_19_alias.rb
ruote-2.1.6 test/functional/ft_19_alias.rb
ruote-2.1.5 test/functional/ft_19_alias.rb
ruote-2.1.4 test/functional/ft_19_alias.rb