Sha256: 8d1b0efa9321b9bb900d796bbde742993f9f55e9d5574df6c836942e848e94a2

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'

include OpenWFE



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

    #def setup
    #end

    #def teardown
    #end


    #
    # Test 0
    #

    class TestReserve39a0 < 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 < 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
openwferu-0.9.17 test/ft_39_reserve.rb