cockpit/testsets/Coopis Testset.xml in cpee-1.5.15 vs cockpit/testsets/Coopis Testset.xml in cpee-1.5.16

- old
+ new

@@ -1,6 +1,5 @@ -<?xml version="1.0"?> <testset> <positions/> <handlerwrapper>DefaultHandlerWrapper</handlerwrapper> <dataelements> <persons>3</persons> @@ -26,34 +25,38 @@ <from>data.from</from> <to>data.to</to> <persons>data.persons</persons> </arguments> </parameters> - <finalize output="result">data.airline = result.value('id') + <code> + <finalize output="result">data.airline = result.value('id') data.costs += result.value('costs').to_f status.update 1, 'Hotel'</finalize> + </code> </call> <parallel> - <loop mode="pre_test" condition="data.persons > 0"> + <loop mode="pre_test" condition="data.persons &gt; 0"> <parallel_branch pass="data.persons" local="p"> <call id="a2" endpoint="bookHotel"> <parameters> <label>Book Hotel</label> <method>:post</method> <arguments> <to>data.to</to> </arguments> </parameters> - <finalize output="result">data.hotels &lt;&lt; result.value('id') + <code> + <finalize output="result">data.hotels &lt;&lt; result.value('id') data.costs += result.value('costs').to_f</finalize> + </code> </call> </parallel_branch> <manipulate id="a3">data.persons -= 1</manipulate> </loop> </parallel> <choose mode="inclusive"> - <alternative condition="data.costs > 700"> + <alternative condition="data.costs &gt; 700"> <call id="a4" endpoint="approve"> <parameters> <label>Approve Hotel</label> <method>:post</method> <arguments> @@ -64,10 +67,10 @@ </alternative> </choose> </description> </description> <transformation> - <description type='copy'/> - <dataelements type='rest'/> - <endpoints type='rest'/> + <description type="copy"/> + <dataelements type="rest"/> + <endpoints type="rest"/> </transformation> -</testset> +</testset> \ No newline at end of file