test/ft_23b_when.rb in openwferu-0.9.7 vs test/ft_23b_when.rb in openwferu-0.9.8
- old
+ new
@@ -40,7 +40,24 @@
def test_0
dotest(TestDefinition0, "ok", 5)
end
+
+ #
+ # Test 1
+ #
+
+ class TestWait23b1 < ProcessDefinition
+ concurrence do
+ _when :test => "true == true" do
+ end
+ _print "ok"
+ end
+ end
+
+ def test_1
+ dotest(TestWait23b1, "ok", true)
+ end
+
end