Sha256: c0afdfa5cd18b9f11105d353c148b4a3c6e47cd27fee06a59bfe3e249d53b5f3

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

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

require 'flowtestbase'


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

        log_level_to_debug

        $i = 0

        dotest Test0, "1\n2\n3"
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.18 test/ft_82_trecu.rb