test/ft_39_reserve.rb in openwferu-0.9.16 vs test/ft_39_reserve.rb in openwferu-0.9.17
- old
+ new
@@ -35,31 +35,16 @@
def test_0
dotest TestReserve39a0, "ok", true
end
-
#
# Test 1
#
+
+ # became obsolete
- 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
@@ -72,10 +57,10 @@
reserve :mutex => :toto do
end
end
def test_3
- dotest(TestReserve39a3, "", true)
+ dotest TestReserve39a3, "", true
end
end