Sha256: 4d00157c7c7ee9affaef5fd6cb9e13030d81cfbdfd9bc4ec0a0e8320364b70a4

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

#
# Testing OpenWFEru
#
# John Mettraux at openwfe.org
#
# Sat Feb 16 19:07:42 JST 2008
#

require 'flowtestbase'
#require 'openwfe/def'
#require 'openwfe/worklist/storeparticipant'

#include OpenWFE


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

    #def setup
    #end

    #def teardown
    #end

    #
    # Test 0
    #

    class Test0 < OpenWFE::ProcessDefinition
        sequence do
            #_print "${r:fei.wfname}"
            _print do
                reval "$i += 1"
            end
            subprocess :ref => "Test", :unless => "${r:$i} == 3"
        end
    end

    def test_0

        $i = 0

        dotest Test0, "1\n2\n3"
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openwferu-0.9.17 test/ft_82_trecu.rb