Sha256: 835f7dca3943c5a84e8d5128d8f18178fb2623678ef3f2bc6b121479eab9a5e5

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan  2 13:14:37 JST 2007
#

require 'flowtestbase'
require 'openwfe/expressions/raw_prog'


class FlowTest12 < FlowTestBase

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class BpDef0 < OpenWFE::ProcessDefinition
        def make
            process_definition :name => "test0", :revision => "0" do
                sequence do
                    participant :ref => "block-participant"
                    _print "done."
                end
            end
        end
    end

    def test_block_participant
        dotest(
            BpDef0,
            """the block participant received a workitem
done.""")
    end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openwferu-0.9.2 test/ft_12_blockparticipant.rb
openwferu-0.9.3 test/ft_12_blockparticipant.rb