test/ft_15_iterator.rb in openwferu-0.9.10.653 vs test/ft_15_iterator.rb in openwferu-0.9.11
- old
+ new
@@ -91,7 +91,26 @@
"""0 -- x
1 -- y
2 -- z""")
end
+
+ #
+ # Test 3
+ #
+
+ class TestDefinition3 < OpenWFE::ProcessDefinition
+ sequence do
+ iterator :on_value => "", :to_field => "f0" do
+ _print "${f:__ip__} -- ${f:f0}"
+ end
+ _print "done."
+ end
+ end
+
+ #def xxxx_iterator_3
+ def test_iterator_3
+ dotest(TestDefinition3, "done.")
+ end
+
end