Sha256: e090d24e47465827aacf13de644f877107a12b4dfa584569640033c97a4fd90d

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 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.18 test/ft_85_dolhash.rb