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

- old
+ new

@@ -8,52 +8,52 @@ require 'flowtestbase' require 'openwfe/def' class FlowTest65 < Test::Unit::TestCase - include FlowTestBase + include FlowTestBase - #def setup - #end + #def setup + #end - #def teardown - #end + #def teardown + #end - # - # Test 0 - # + # + # Test 0 + # - TEST0 = """ - class Test0 < OpenWFE::ProcessDefinition - _print 'ok.' - end - """.strip + TEST0 = """ + class Test0 < OpenWFE::ProcessDefinition + _print 'ok.' + end + """.strip - def test_0 + def test_0 - launch TEST0 - sleep 0.350 - assert_equal "ok.", @tracer.to_s - end + launch TEST0 + sleep 0.350 + assert_equal "ok.", @tracer.to_s + end - # - # Test 1 - # + # + # Test 1 + # - TEST1 = """ + TEST1 = """ <process-definition name='65_1' revision='0.1'> - <print>ok.</print> + <print>ok.</print> </process-definition> - """.strip + """.strip - def test_1 + def test_1 - launch TEST1 + launch TEST1 - sleep 0.350 - assert_equal "ok.", @tracer.to_s - end + sleep 0.350 + assert_equal "ok.", @tracer.to_s + end end