cockpit/testsets/Mangler 2.xml in cpee-1.3.181 vs cockpit/testsets/Mangler 2.xml in cpee-1.3.183

- old
+ new

@@ -19,72 +19,72 @@ <description> <description xmlns="http://cpee.org/ns/description/1.0"> <call id="a1" endpoint="bookAir"> <parameters> <method>:post</method> - <parameters> + <arguments> <from>data.from</from> <to>data.to</to> <persons>data.persons</persons> - </parameters> + </arguments> </parameters> <finalize output="result"> data.airline = result.value('id') data.costs += result.value('costs').to_f</finalize> </call> <parallel> - <loop pre_test="data.persons > 0"> + <loop mode="pre_test" condition="data.persons > 0"> <parallel_branch pass="data.persons" local="p"> <call id="a2" endpoint="bookHotel"> <parameters> <method>:post</method> - <parameters> + <arguments> <to>data.to</to> - </parameters> + </arguments> </parameters> <finalize output="result"> data.hotels &lt;&lt; result.value('id') data.costs += result.value('costs').to_f</finalize> </call> </parallel_branch> - <manipulate id="a3"> data.persons -= 1</manipulate> - </loop> - <loop pre_test="data.persons > 0"> + <manipulate id="a3"> data.persons -= 1</manipulate> + </loop> + <loop mode="pre_test" condition="data.persons > 0"> <parallel_branch pass="data.persons" local="p"> <call id="a4" endpoint="bookHotel"> <parameters> <method>:post</method> - <parameters> + <arguments> <to>data.to</to> - </parameters> + </arguments> </parameters> <finalize output="result"> data.hotels &lt;&lt; result.value('id') data.costs += result.value('costs').to_f</finalize> </call> </parallel_branch> <parallel_branch pass="data.persons" local="p"> <call id="a5" endpoint="bookHotel"> <parameters> <method>:post</method> - <parameters> + <arguments> <to>data.to</to> - </parameters> + </arguments> </parameters> <finalize output="result"> data.hotels &lt;&lt; result.value('id') data.costs += result.value('costs').to_f</finalize> </call> </parallel_branch> - <manipulate id="a6"> data.persons -= 1</manipulate> - </loop> - </parallel> + <manipulate id="a6"> data.persons -= 1</manipulate> + </loop> + </parallel> <choose> <alternative condition="data.costs > 700"> <call id="a7" endpoint="approve"> <parameters> <method>:post</method> - <parameters> + <arguments> <costs>data.costs</costs> - </parameters> + </arguments> </parameters> - </call> + </call> </alternative> </choose> </description> </description> <transformation>