test/ft_4_misc.rb in openwferu-0.9.7 vs test/ft_4_misc.rb in openwferu-0.9.8

- old
+ new

@@ -75,9 +75,26 @@ </set> <print>${v}</print> </sequence> </process-definition>''', "false") end + + class Reval4 < OpenWFE::ProcessDefinition + reval """ + tracer = self.application_context['__tracer'] + + tracer << 'hello\n' + + tracer << workitem.attributes.length.to_s + """ + end + + def test_reval_4 + dotest(Reval4, "hello\n1") + end + + # + # DRU tests def test_dru_0 dotest(\ '''<process-definition name="dru_0" revision="0"> <sequence>