test/ft_11_ppd.rb in openwferu-0.9.6 vs test/ft_11_ppd.rb in openwferu-0.9.7
- old
+ new
@@ -417,7 +417,25 @@
b
b
b""")
end
+ #
+ # Test 12
+ #
+
+ class TestDefinition12 < OpenWFE::ProcessDefinition
+ sequence do
+ _print "main"
+ sub_x
+ end
+ process_definition :name => "sub-x" do
+ _print "sub"
+ end
+ end
+
+ def test_prog_12
+ dotest(TestDefinition12, "main\nsub")
+ end
+
end