test/ft_57_a.rb in openwferu-0.9.16 vs test/ft_57_a.rb in openwferu-0.9.17

- old
+ new

@@ -6,11 +6,10 @@ # require 'flowtestbase' require 'pending' require 'openwfe/def' -#require 'openwfe/participants/participants' include OpenWFE class FlowTest57 < Test::Unit::TestCase @@ -50,26 +49,26 @@ end _print "${r:wi.list.join('|')}" end end - #def xxxx_0 def test_0 + dotest( Test0, """ a|b|c - a|b|3 """.strip) end - #def xxxx_1 def test_1 + dotest( """ -<process-definition name='57_a' revision='1'> +<process-definition name='57_b' revision='1'> <sequence> <set field='list'> <a> --- - c @@ -78,33 +77,33 @@ </a> </set> <print>${r:wi.list.join('|')}</print> </sequence> </process-definition> - """.strip, + """, "c|d|e") end - #def xxxx_2 def test_2 + dotest( """ -<process-definition name='57_a' revision='2'> +<process-definition name='57_c' revision='2'> <sequence> <set field='list'> <a> <list> <string>a</string> <string>2</string> <string>c</string> </list> </a> </set> - <print>${r:wi.list.join('|')}</print> + <print>${r:wi.list.join('|').strip}</print> </sequence> </process-definition> - """.strip, + """, "a|2|c") end # # Test 3 @@ -118,9 +117,10 @@ _print "${f:other}" end end def test_3 - dotest(Test3, "77") + + dotest Test3, "77" end end