test/ft_2c_concurrence.rb in openwferu-0.9.8 vs test/ft_2c_concurrence.rb in openwferu-0.9.9

- old
+ new

@@ -30,10 +30,31 @@ </concurrence> </process-definition>''', [ '''a b''', '''b a''' ], - 0.1) + true) + end + + + # + # TEST 1 + + class TestCon2c1 < OpenWFE::ProcessDefinition + sequence do + concurrence :count => "1", :remaining => "forget" do + _print "a" + sequence do + _sleep "500" + _print "b" + end + end + _print "c" + end + end + + def test_con_1 + dotest(TestCon2c1, "a\nc\nb", true) end end