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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:691:         <!-- ............................................................ -->   <comment>Cond</comment>      <test>    <rxml><cond><default>x</default></cond></rxml>    <result>x</result>   </test>    + <test> + <rxml><cond><case match="1 == 2">a</case></cond></rxml> + <result></result> + </test>    -  + <test> + <rxml><cond><case match="1 == 2">a</case><default>b</default></cond></rxml> + <result>b</result> + </test> +  + <test> + <rxml><cond><case match="1 == 1">a</case><default>b</default></cond></rxml> + <result>a</result> + </test> +  + <test> + <rxml><cond><case match="1 == 2"/><default>b</default></cond></rxml> + <result>b</result> + </test> +  + <test> + <rxml><cond><case match="1 == 1"/><default>b</default></cond></rxml> + <result></result> + </test> +  + <test> + <rxml><cond><case match="1 == 2"/><case match="1 == 1"/><case match="1 == 1">a</case></cond></rxml> + <result></result> + </test> +  +    <!-- ............................................................ -->   <comment>Loops (for)</comment>   <test>   <rxml><for variable=var.i from=3 to=3><insert variable=var.i></for></rxml>   <result>3</result>   </test>      <test>   <rxml><for variable=var.i from=1 to=5>&var.i;</for>&var.i;</rxml>   <result>123455</result>