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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:886:   <rxml><if accept="image/*">1</if></rxml>   <result>1</result>   </test>      <test>   <add what="request_header" name="accept" value="audio/mpeg, image/jpeg"/>   <rxml><if accept="text/plain">1</if></rxml>   <result></result>   </test>    - <comment>Missing test: if date</comment> + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d"/></set><if date="&var.date;" +  after="1">X</if>Y</rxml> + <result>Y</result> + </test> +  + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d"/></set><if date="&var.date;" +  after="1" inclusive="1">X</if>Y</rxml> + <result>XY</result> + </test> +  + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d"/></set><if date="&var.date;" +  before="1">X</if>Y</rxml> + <result>Y</result> + </test> +  + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d"/></set><if date="&var.date;" +  before="1" inclusive="1">X</if>Y</rxml> + <result>XY</result> + </test> +  + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d" days="-1"/></set><if date="&var.date;" +  after="1">X</if>Y</rxml> + <result>XY</result> + </test> +  + <test> + <rxml><set variable="var.date"><date strftime="%Y%m%d" days="1"/></set><if date="&var.date;" +  before="1">X</if>Y</rxml> + <result>XY</result> + </test> +    <comment>Missing test: if time</comment>   <comment>Missing test: if user</comment>   <comment>Missing test: if group</comment>   <comment>Missing test: if accept</comment>   <comment>Missing test: if config</comment>   <comment>Missing test: if cookie</comment>   <comment>Missing test: if client</comment>   <comment>Missing test: if defined</comment>   <comment>Missing test: if domain</comment>   <comment>Missing test: if ip</comment>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1136:   <rxml><emit source="TESTER" sort="b">&_.c;:</emit></rxml>   <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">&_.data;:</emit></rxml> - <result>:3:a:</result> + <rxml><emit source="TESTER" test="3" sort="data"><set variable="x">1</set>&_.data;:</emit></rxml> + <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:1338:   <result>.a</result>   </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">&_.data;&_.data;,</emit></rxml> + <rxml><emit source="TESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml>   <result>aa,,01,</result>   </test>      <test><!-- make sure the emit source is resetted --> - <rxml><emit source="TESTER" test="3">&_.data;&_.data;,</emit></rxml> + <rxml><emit source="TESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml>   <result>aa,,01,</result>   </test>      <test> - <rxml><emit source="OTESTER" test="3">&_.data;&_.data;,</emit></rxml> + <rxml><emit source="OTESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml>   <result>aa,,01,</result>   </test>      <test><!-- make sure the emit source is resetted --> - <rxml><emit source="OTESTER" test="3">&_.data;&_.data;,</emit></rxml> + <rxml><emit source="OTESTER" test="3"><set variable="x">1</set>&_.data;&_.data;,</emit></rxml>   <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>