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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:110:   <test>   <rxml><set variable='var.x' value='2'/><true/><else>x<set variable='var.x' value='3'/></else>&var.x;</rxml>   <result>2</result>   </test>      <test>   <rxml><set variable='var.x' value='2'/><false/><then>x<set variable='var.x' value='3'/></then>&var.x;</rxml>   <result>2</result>   </test>    + <test> +  <rxml type="string"> +  <define tag="t"> +  <if variable="_.a is t"/> +  <then> +  1t +  <if variable="_.b is t"/> +  </then> +  <else> +  1f +  <if variable="_.c is t"/> +  </else> +  <then>2t</then> +  <else>2f</else> +  </define>    -  +  <t a="t" b="t"/>, +  <t a="t" b=""/>, <!-- 1t2f would have been more logical. --> +  <t a="" c="t"/>, +  <t a="" c=""/>, +  </rxml> +  <result>1t2t,1t2t,1f2t,1f2f,</result> + </test> +  +    <!-- ............................................................ -->   <comment>Case</comment>   <test>   <rxml><case case=upper>aA</case></rxml>   <result>AA</result>   </test>      <!-- The following is only valid in 2.1 compat mode.   <test>   <rxml><case>aA</case></rxml>