test/ft_2_concurrence.rb in openwferu-0.9.13 vs test/ft_2_concurrence.rb in openwferu-0.9.14

- old
+ new

@@ -22,12 +22,13 @@ # test_con_0 got moved to ft_2c_concurrence.rb #def xxxx_con_1 def test_con_1 + dotest( -'''<process-definition name="con" revision="1"> +'''<process-definition name="ft_2_concurrence" revision="1"> <concurrence count="1" > <print>a</print> <sequence> @@ -35,34 +36,38 @@ <print>b</print> </sequence> </concurrence> </process-definition>''', "a", - true, - false) + true) end - #def xxxx_con_2 - def test_con_2 + def xxxx_con_2 + #def test_con_2 + + #$OWFE_LOG.level = Logger::INFO + dotest( -'''<process-definition name="con" revision="2"> +'''<process-definition name="ft_2_concurrence" revision="2"> <concurrence over-if="true"> <sequence> <sleep for="1s"/> <print>a</print> </sequence> <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="con" revision="3"> +'''<process-definition name="ft_2_concurrence" revision="3"> <concurrence over-if="${over}"> <print>a</print> <set variable="over" value="true" /> </concurrence> </process-definition>''', @@ -71,11 +76,11 @@ end #def xxxx_con_4 def test_con_4 dotest( -'''<process-definition name="con" revision="4"> +'''<process-definition name="ft_2_concurrence" revision="4"> <concurrence over-if="${nada}"> <sequence> <sleep for="1s"/> <print>a</print> </sequence> @@ -88,10 +93,10 @@ end #def xxxx_con_5 def test_con_5 dotest( -'''<process-definition name="con" revision="5"> +'''<process-definition name="ft_2_concurrence" revision="5"> <concurrence over-if="false"> <sequence> <sleep for="1s"/> <print>a</print> </sequence>