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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1930:   </test>      <test>   <add what="request_header" name="accept" value="audio/mpeg, image/jpeg"/>   <rxml><if accept="text/plain">1</if></rxml>   <result></result>   </test>      <test>   <rxml><set variable="var.date"><date strftime="%Y%m%d"/></set><if date="&var.date;" -  after="1">X</if>Y</rxml> +  after="1">X[&var.date;]</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> +  after="1" inclusive="1">X</if><else>[&var.date;]</else>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> +  before="1">X[&var.date;]</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> +  before="1" inclusive="1">X</if><else>[&var.date;]</else>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> +  after="1">X</if><else>[&var.date;]</else>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> +  before="1">X</if><else>[&var.date;]</else>Y</rxml>   <result>XY</result>   </test>      <test>   <rxml><set variable="var.date"><date strftime="%Y-%m-%d"/></set><if date="&var.date;" -  after="1">X</if>Y</rxml> +  after="1">X[&var.date;]</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> +  after="1" inclusive="1">X</if><else>[&var.date;]</else>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> +  before="1">X[&var.date;]</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> +  before="1" inclusive="1">X</if><else>[&var.date;]</else>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> +  after="1">X</if><else>[&var.date;]</else>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> +  before="1">X</if><else>[&var.date;]</else>Y</rxml>   <result>XY</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M"/></set><if time="&var.time;" -  after="1">X</if>Y</rxml> +  after="1">X[&var.date;]</if>Y</rxml>   <result>Y</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M"/></set><if time="&var.time;" -  after="1" inclusive="1">X</if>Y</rxml> +  after="1" inclusive="1">X</if><else>[&var.date;]</else>Y</rxml>   <result>XY</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M"/></set><if time="&var.time;" -  before="1">X</if>Y</rxml> +  before="1">X[&var.date;]</if>Y</rxml>   <result>Y</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M"/></set><if time="&var.time;" -  before="1" inclusive="1">X</if>Y</rxml> +  before="1" inclusive="1">X</if><else>[&var.time;]</else>Y</rxml>   <result>XY</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M" minutes="-1"/></set><if time="&var.time;" -  after="1">X</if>Y</rxml> +  after="1">X</if><else>[&var.time;]</else>Y</rxml>   <result>XY</result>   </test>      <test>   <rxml><set variable="var.time"><date strftime="%H%M" minutes="1"/></set><if time="&var.time;" -  before="1">X</if>Y</rxml> +  before="1">X</if><else>[&var.time;]</else>Y</rxml>   <result>XY</result>   </test>         <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>