test/ft_2_concurrence.rb in openwferu-0.9.15 vs test/ft_2_concurrence.rb in openwferu-0.9.16

- old
+ new

@@ -20,13 +20,14 @@ #def teardown #end # test_con_0 got moved to ft_2c_concurrence.rb - #def xxxx_con_1 def test_con_1 + #log_level_to_debug + dotest( '''<process-definition name="ft_2_concurrence" revision="1"> <concurrence count="1" > @@ -39,15 +40,12 @@ </process-definition>''', "a", true) end - def xxxx_con_2 - #def test_con_2 + def _test_con_2 - #$OWFE_LOG.level = Logger::INFO - dotest( '''<process-definition name="ft_2_concurrence" revision="2"> <concurrence over-if="true"> <sequence> <sleep for="1s"/> @@ -56,16 +54,14 @@ <print>b</print> </concurrence> </process-definition>''', "b", true) - - #$OWFE_LOG.level = Logger::INFO end - #def xxxx_con_3 def test_con_3 + dotest( '''<process-definition name="ft_2_concurrence" revision="3"> <concurrence over-if="${over}"> <print>a</print> <set variable="over" value="true" /> @@ -73,12 +69,12 @@ </process-definition>''', "a", true) end - #def xxxx_con_4 def test_con_4 + dotest( '''<process-definition name="ft_2_concurrence" revision="4"> <concurrence over-if="${nada}"> <sequence> <sleep for="1s"/> @@ -90,12 +86,12 @@ """b a""", true) end - #def xxxx_con_5 def test_con_5 + dotest( '''<process-definition name="ft_2_concurrence" revision="5"> <concurrence over-if="false"> <sequence> <sleep for="1s"/> @@ -120,12 +116,12 @@ end _print "c" end end - #def xxxx_con_6 def test_con_6 - dotest(TestDefinition6, "b\nc") + + dotest TestDefinition6, "b\nc" end end