You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2004/12/15 17:09:27 UTC

cvs commit: ant/src/etc/testcases/taskdefs touch.xml

mbenson     2004/12/15 08:09:27

  Modified:    src/etc/testcases/taskdefs touch.xml
  Log:
  Add time zone to the test case.
  
  Revision  Changes    Path
  1.5       +3 -3      ant/src/etc/testcases/taskdefs/touch.xml
  
  Index: touch.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/touch.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- touch.xml	14 Dec 2004 17:56:35 -0000	1.4
  +++ touch.xml	15 Dec 2004 16:09:27 -0000	1.5
  @@ -102,12 +102,12 @@
     </target>
   
     <target name="testGoodPattern">
  -    <touch file="touchtest" datetime="06242003142012foo" pattern="MMddyyyyHHmmss'foo'" />
  +    <touch file="touchtest" datetime="06242003142012GMTfoo" pattern="MMddyyyyHHmmssz'foo'" />
       <fail>
         <condition>
           <not>
             <isfileselected file="touchtest">
  -            <date millis="1056482412000" />
  +            <date millis="1056464412000" />
             </isfileselected>
           </not>
         </condition>
  @@ -115,7 +115,7 @@
     </target>
   
     <target name="testBadPattern">
  -    <touch file="touchtest" datetime="06242003142012foo" pattern="MMddyyyyHHmmss'bar'" />
  +    <touch file="touchtest" datetime="06242003142012GMTfoo" pattern="MMddyyyyHHmmssz'bar'" />
     </target>
   
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org