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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:3260:   <test>   <rxml><define variable="var.x">&var.y;</define><set variable="var.y">Q</set><eval>&var.x:none;</eval></rxml>   <result>Q</result>   </test>      <test>   <rxml><nooutput><set variable="var.i">x</set>y</nooutput>z&var.i;</rxml>   <result>zx</result>   </test>    + <test> +  <rxml> +  <nooutput><p>foo</p></nooutput> +  </rxml> +  <result></result> + </test>    -  + <test> +  <rxml> +  <nooutput> +  <value type="array"><value>17</value></value> +  <value type="mapping"/> +  </nooutput> +  </rxml> +  <result></result> + </test> +  + <test> +  <rxml> +  <nooutput> +  <p>foo</p> +  <set variable="var.a">x</set> +  <value type="array"> +  <value>17</value> +  <set variable="var.b">y</set> +  </value> +  </nooutput> +  &var.a;&var.b; +  </rxml> +  <result>xy</result> + </test> +  +    <!-- ............................................................ -->   <comment>Strlen tests</comment>   <test>   <rxml><strlen/></rxml>   <result>0</result>   </test>      <test>   <rxml><strlen></strlen></rxml>   <result>0</result>