Sha256: df1b8677718bb15c2f0bf235493f36bc50161876d759b7598d4f360bde53e2d1

Contents?: true

Size: 560 Bytes

Versions: 5

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(%w[ b:alpha b: ], pdef)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruote-2.2.0 test/functional/ft_19_alias.rb
ruote-2.1.11 test/functional/ft_19_alias.rb
ruote-2.1.10 test/functional/ft_19_alias.rb
ruote-2.1.9 test/functional/ft_19_alias.rb
ruote-2.1.8 test/functional/ft_19_alias.rb