test/ft_39_reserve.rb in ruote-0.9.18 vs test/ft_39_reserve.rb in ruote-0.9.19
- old
+ new
@@ -8,56 +8,56 @@
require 'flowtestbase'
require 'openwfe/def'
class FlowTest39 < Test::Unit::TestCase
- include FlowTestBase
+ include FlowTestBase
- #def setup
- #end
+ #def setup
+ #end
- #def teardown
- #end
+ #def teardown
+ #end
- #
- # Test 0
- #
+ #
+ # Test 0
+ #
- class TestReserve39a0 < OpenWFE::ProcessDefinition
- reserve :mutex => :toto do
- _print "ok"
- end
+ class TestReserve39a0 < OpenWFE::ProcessDefinition
+ reserve :mutex => :toto do
+ _print "ok"
end
+ end
- def test_0
+ def test_0
- dotest TestReserve39a0, "ok", true
- end
+ dotest TestReserve39a0, "ok", true
+ end
- #
- # Test 1
- #
-
- # became obsolete
+ #
+ # Test 1
+ #
- #
- # Test 2
- #
+ # became obsolete
- # moved to ft_39b_reserve.rb
+ #
+ # Test 2
+ #
- #
- # Test 3
- #
+ # moved to ft_39b_reserve.rb
- class TestReserve39a3 < OpenWFE::ProcessDefinition
- reserve :mutex => :toto do
- end
- end
+ #
+ # Test 3
+ #
- def test_3
- dotest TestReserve39a3, "", true
+ class TestReserve39a3 < OpenWFE::ProcessDefinition
+ reserve :mutex => :toto do
end
+ end
+
+ def test_3
+ dotest TestReserve39a3, "", true
+ end
end