Sha256: fe580760169fcb7f6a2bf650811256811376f0c50e47648db74f6a535f0f331e

Contents?: true

Size: 775 Bytes

Versions: 1

Compression:

Stored size: 775 Bytes

Contents

#
# Testing OpenWFEru
#
# John Mettraux at openwfe.org
#

require 'flowtestbase'
require 'openwfe/def'


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

    #def setup
    #end

    #def teardown
    #end


    #
    # Test 0
    #

    class TestReserve39a0 < OpenWFE::ProcessDefinition
        reserve :mutex => :toto do
            _print "ok"
        end
    end

    def test_0

        dotest TestReserve39a0, "ok", true
    end

    #
    # Test 1
    #
    
    # became obsolete

    #
    # Test 2
    #

    # moved to ft_39b_reserve.rb

    #
    # Test 3
    #

    class TestReserve39a3 < OpenWFE::ProcessDefinition
        reserve :mutex => :toto do
        end
    end

    def test_3
        dotest TestReserve39a3, "", true
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.18 test/ft_39_reserve.rb