test/ft_11_ppd.rb in openwferu-0.9.5 vs test/ft_11_ppd.rb in openwferu-0.9.6
- old
+ new
@@ -386,7 +386,38 @@
"""toto
toto
toto""")
end
+
+ #
+ # Test 11
+ #
+
+ class TestDefinition11 < ProcessDefinition
+ def make
+ sequence do
+ [ :b, :b, :b ].each do |p|
+ participant p
+ end
+ participant "b"
+ end
+ end
+ end
+
+ #def xxxx_ppd_11
+ def test_ppd_11
+
+ @engine.register_participant(:b) do |workitem|
+ @tracer << "b\n"
+ end
+
+ dotest(
+ TestDefinition11,
+ """b
+b
+b
+b""")
+ end
+
end