Sha256: e9ef31e0745f82d3676dbc12d13a0b2baa67622a2c17940bcecdb52d25ac2856

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Apr  8 12:24:27 JST 2008
#

require 'rubygems'

require 'openwfe/def'
require 'flowtestbase'


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

    #def setup
    #end

    #def teardown
    #end


    #
    # TEST 0

    class Test0 < OpenWFE::ProcessDefinition
        sequence do
            sub0 :forget => true
            sub0 :forget => true
        end
        process_definition :name => "sub0" do
            _print "${r:fei.wfid[-2..-1]}"
        end
    end

    def test_0

        #log_level_to_debug

        dotest Test0, ".0\n.1", 0.750
    end


    #
    # TEST 1

    class Test1 < OpenWFE::ProcessDefinition
        sequence do
            sub0 :forget => true
            sub0
        end
        process_definition :name => "sub0" do
            _print "${r:fei.wfid[-2..-1]}"
        end
    end

    def test_1

        #log_level_to_debug

        dotest Test1, ".0\n.1", 0.750
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.18 test/ft_14c_subprocess.rb