Sha256: 35942afc67dd200fa5c9c26872b4f1442b9f43c8d6e8656bf79d41339b3db3b7
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
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 # class TestReserve39a1 < ProcessDefinition sequence do reserve :mutex => :toto do _print "${r:'${toto}' != ''}" end _print "${r:'${toto}' == ''}" _print "over." end end def test_1 dotest TestReserve39a1, "true\ntrue\nover.", true end # # 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.16 | test/ft_39_reserve.rb |