Sha256: ed16c6f8092be819c920d521545671b6435db64512f918d901ad7b842ab386da

Contents?: true

Size: 572 Bytes

Versions: 3

Compression:

Stored size: 572 Bytes

Contents

#
# Testing Ruote (OpenWFEru)
#
# 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

3 entries across 3 versions & 1 rubygems

Version Path
ruote-2.1.3 test/functional/ft_19_alias.rb
ruote-2.1.2 test/functional/ft_19_alias.rb
ruote-2.1.1 test/functional/ft_19_alias.rb