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

- old
+ new

@@ -12,57 +12,57 @@ require 'openwfe/def' require 'flowtestbase' class FlowTest14c < Test::Unit::TestCase - include FlowTestBase + include FlowTestBase - #def setup - #end + #def setup + #end - #def teardown - #end + #def teardown + #end - # - # TEST 0 + # + # TEST 0 - class Test0 < OpenWFE::ProcessDefinition - sequence do - sub0 :forget => true - sub0 :forget => true - end - process_definition :name => "sub0" do - _print "${r:fei.wfid[-2..-1]}" - end + class Test0 < OpenWFE::ProcessDefinition + sequence do + sub0 :forget => true + sub0 :forget => true end + process_definition :name => "sub0" do + _print "${r:fei.wfid[-2..-1]}" + end + end - def test_0 + def test_0 - #log_level_to_debug + #log_level_to_debug - dotest Test0, ".0\n.1", 0.750 - end + dotest Test0, ".0\n.1", 0.750 + end - # - # TEST 1 + # + # TEST 1 - class Test1 < OpenWFE::ProcessDefinition - sequence do - sub0 :forget => true - sub0 - end - process_definition :name => "sub0" do - _print "${r:fei.wfid[-2..-1]}" - end + class Test1 < OpenWFE::ProcessDefinition + sequence do + sub0 :forget => true + sub0 end + process_definition :name => "sub0" do + _print "${r:fei.wfid[-2..-1]}" + end + end - def test_1 + def test_1 - #log_level_to_debug + #log_level_to_debug - dotest Test1, ".0\n.1", 0.750 - end + dotest Test1, ".0\n.1", 0.750 + end end