Branch: Tag:

2008-08-07

2008-08-07 11:26:53 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some time comparison tests to avoid false alarms around midnight.

Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.83

2043:   </test>      <test> - <rxml><set variable="var.time"><date strftime="%H%M" minutes="-1"/></set><if time="&var.time;" -  after="1">X</if><else>[&var.time;]</else>Y</rxml> - <result>XY</result> +  <rxml> +  <set variable="var.time"><date strftime="%H%M" minutes="-1"/></set> +  <if variable="var.time is 2359">X</if> +  <elseif time="&var.time;" after="1">X</elseif> +  <else>[&var.time;]</else> +  </rxml> +  <result>X</result>   </test>      <test> - <rxml><set variable="var.time"><date strftime="%H%M" minutes="1"/></set><if time="&var.time;" -  before="1">X</if><else>[&var.time;]</else>Y</rxml> - <result>XY</result> +  <rxml> +  <set variable="var.time"><date strftime="%H%M" minutes="1"/></set> +  <if variable="var.time is 0000">X</if> +  <elseif time="&var.time;" before="1">X</elseif> +  <else>[&var.time;]</else> +  </rxml> +  <result>X</result>   </test>