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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1383:      <test>    <rxml type="any">    <set variable="var.a" type="string">17</set>    <set variable="var.b" type="int">&var.a;</set>    &var.b;    </rxml>    <equal>17</equal>   </test>    + <test> +  <rxml type="array"> +  <set variable="var.foo" type="mapping"/> +  <set variable="var.foo.a" value="1"/> +  <set variable="var.bar" type="mapping"/> +  <set variable="var.bar.c" value="3"/> +  &var.foo; +  &var.bar; +  <value type="mapping"/> +  </rxml> +  <equal>({(["a": "1"]), (["c": "3"]), ([])})</equal> + </test>    -  +    <!-- ............................................................ -->   <comment>String number test</comment>   <test>   <rxml><number lang=swe num=43 /></rxml>   <result>fyrtiotre</result>   </test>      <test>   <rxml><number lang=sv num=43 /></rxml>   <result>fyrtiotre</result>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:2709:   <result>4:2:1:3:</result>   </test>      <test>   <rxml><emit source="OTESTER" sort="b">&_.c;:</emit></rxml>   <result>4:2:1:3:</result>   </test>      <test>   <rxml><emit source="TESTER" test="3" sort="data"><set variable="x">1</set>&_.data;:</emit></rxml> - <result>:::0:a:</result> + <!-- Note: Many of the values in this set have no well defined sort +  order at all. This test should perhaps be removed. --> + <result>:::0::a:</result>   </test>      <test>   <rxml><emit source="TESTER" sort="c" filter="a=??x">&_.c;:</emit></rxml>   <result>1:2:4:</result>   </test>      <test>   <rxml><emit source="OTESTER" sort="c" filter="a=??x">&_.c;:</emit></rxml>   <result>1:2:4:</result>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:2925:   </test>      <test>   <rxml><true/><emit source="OTESTER" test="2" filter="data=e"    >.</emit><then>a</then><else>b</else></rxml>   <result>.a</result>   </test>      <test>   <rxml><emit source="TESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml> - <result>aa,,,,01,</result> + <result>aa,,,,01,,</result>   </test>      <test><!-- make sure the emit source is resetted -->   <rxml><emit source="TESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml> - <result>aa,,,,01,</result> + <result>aa,,,,01,,</result>   </test>      <test>   <rxml><emit source="OTESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml> - <result>aa,,,,01,</result> + <result>aa,,,,01,,</result>   </test>      <test><!-- make sure the emit source is resetted -->   <rxml><emit source="OTESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml> - <result>aa,,,,01,</result> + <result>aa,,,,01,,</result>   </test>      <test>   <rxml><emit source="TESTER" test="4">&_.a; &_.b; &_.c;<delimiter>,</delimiter></emit></rxml>   <result>1 aa ca,2 ba cb,3 ab ba</result>   </test>      <test>   <rxml><emit source="OTESTER" test="4">&_.a; &_.b; &_.c;<delimiter>,</delimiter></emit></rxml>   <result>1 aa ca,2 ba cb,3 ab ba</result>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:3881:   <regexp>[0-9]+</regexp>   </test>      <test>   <rxml>&roxen.uptime-minutes;</rxml>   <regexp>[0-9]+</regexp>   </test>      <test>   <rxml>&roxen.version;</rxml> - <regexp>Roxen/5\.1\.[0-9]+</regexp> + <regexp>Roxen/5\.2\.[0-9]+</regexp>   </test>      <test>   <rxml>&roxen.unique-id;</rxml>   <regexp>[0-9A-F]+</regexp>   </test>         <!-- ............................................................ -->   <comment>Array variables</comment>