cockpit/testsets/SOPROMO Test Sonification.xml in cpee-1.5.15 vs cockpit/testsets/SOPROMO Test Sonification.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> @@ -11,16 +10,16 @@ <to>Prague</to> <costs>0</costs> </dataelements> <handlers> <handler url="http://localhost:9299/events"> - <events topic='activity'>calling,failed,manipulating,done</events> - <events topic='dataelements'>change</events> - <events topic='endpoints'>change</events> - <events topic='description'>error</events> - <events topic='state'>change</events> - <events topic='status'>change</events> + <events topic="activity">calling,failed,manipulating,done</events> + <events topic="dataelements">change</events> + <events topic="endpoints">change</events> + <events topic="description">error</events> + <events topic="state">change</events> + <events topic="status">change</events> </handler> </handlers> <endpoints> <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir> <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel> @@ -35,33 +34,37 @@ <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> <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> - <alternative condition="data.costs > 700"> + <alternative condition="data.costs &gt; 700"> <call id="a4" endpoint="approve"> <parameters> <method>:post</method> <arguments> <costs>data.costs</costs> @@ -71,10 +74,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