test/ft_11_ppd.rb in openwferu-0.9.2 vs test/ft_11_ppd.rb in openwferu-0.9.3
- old
+ new
@@ -286,7 +286,56 @@
"""0
1
2""")
end
+
+ #
+ # Test 7
+ #
+
+ class TestDefinition7 < ProcessDefinition
+ def make
+ _process_definition :name => "test7", :revision => "0" do
+ _sequence do
+ _print "a"
+ _print "b"
+ end
+ end
+ end
+ end
+
+ def test_ppd_7
+ #def xxxx_ppd_7
+
+ dotest(
+ TestDefinition7,
+ """a
+b""")
+ end
+
+
+ #
+ # Test 8
+ #
+
+ class TestDefinition8 < ProcessDefinition
+ def make
+ process_definition :name => "test8", :revision => "0" do
+ toto
+ process_definition :name => "toto" do
+ _print "toto"
+ end
+ end
+ end
+ end
+
+ def test_ppd_8
+ #def xxxx_ppd_8
+
+ dotest(
+ TestDefinition8,
+ "toto")
+ end
+
end