Sha256: 672578910c7796956028c9f86f08ccd2c2170a9c47f70886226447383eddcef9

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Thu Mar 20 09:23:03 JST 2008
#

require 'flowtestbase'

require 'openwfe/def'


class FlowTest85 < Test::Unit::TestCase
  include FlowTestBase

  #def teardown
  #end

  #def setup
  #end

  #
  # TEST 0

  class TestDefinition0 < OpenWFE::ProcessDefinition
    participant "toto", :arg0 => "0", :arg1 => [ 1, 2 ]
  end

  def test_0

    @engine.register_participant "toto" do |fexp, workitem|
      #p fexp.raw_representation
      #p workitem.attributes
      @tracer << workitem.params["arg1"].inspect
    end

    dotest TestDefinition0, "[1, 2]"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.19 test/ft_85_dolhash.rb