test/ft_85_dolhash.rb in ruote-0.9.18 vs test/ft_85_dolhash.rb in ruote-0.9.19

- old
+ new

@@ -11,33 +11,33 @@ require 'openwfe/def' class FlowTest85 < Test::Unit::TestCase - include FlowTestBase + include FlowTestBase - #def teardown - #end + #def teardown + #end - #def setup - #end + #def setup + #end - # - # TEST 0 + # + # TEST 0 - class TestDefinition0 < OpenWFE::ProcessDefinition - participant "toto", :arg0 => "0", :arg1 => [ 1, 2 ] - end + class TestDefinition0 < OpenWFE::ProcessDefinition + participant "toto", :arg0 => "0", :arg1 => [ 1, 2 ] + end - def test_0 + def test_0 - @engine.register_participant "toto" do |fexp, workitem| - #p fexp.raw_representation - #p workitem.attributes - @tracer << workitem.params["arg1"].inspect - end - - dotest TestDefinition0, "[1, 2]" + @engine.register_participant "toto" do |fexp, workitem| + #p fexp.raw_representation + #p workitem.attributes + @tracer << workitem.params["arg1"].inspect end + + dotest TestDefinition0, "[1, 2]" + end end