Roxen.git / server / etc / test / tests / rxml / RoxenTest_BaseRXML.xml

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1451:   <test>   <rxml><for variable=var.i from=1 to=3><for variable=var.j from=7 to=9><insert variable=var.j /></for>:<insert variable=var.i />;</for></rxml>   <result>789:1;789:2;789:3;</result>   </test>      <test>   <rxml><set variable='var.i' value='3'/><for variable='var.i' from='1' to='10' step='2'><insert variable='var.i'/></for></rxml>   <result>13579</result>   </test>    + <test> +  <rxml><for variable='var.i' from='0' to='-1' step='1'>x</for></rxml> +  <result></result> + </test>    -  + <test> +  <rxml><for variable='var.i' from='0' to='1' step='-1'>x</for></rxml> +  <result></result> + </test> +  +    <!-- ............................................................ -->   <comment>If tests</comment>   <test>   <rxml><define if=p><true/></define><define if=q><false/></define><if p and q>p&q</if><if p and p>p</if><if q and q>q</if></rxml>   <result>p</result>   </test>      <test>   <rxml><define if=p><true/></define><define if=q><false/></define><true/><if true>a</if><else>b</else><then>c</then></rxml>   <result>ac</result>