ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java
Date Wed, 04 Aug 2004 19:54:21 GMT
stevel      2004/08/04 12:54:21

  Modified:    src/testcases/org/apache/tools/ant/util FileUtilsTest.java
  Log:
  sneak in an explicit test of the new file utils timestamp comparison stuff
  
  Revision  Changes    Path
  1.28      +2 -0      ant/src/testcases/org/apache/tools/ant/util/FileUtilsTest.java
  
  Index: FileUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/util/FileUtilsTest.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- FileUtilsTest.java	22 Apr 2004 14:03:46 -0000	1.27
  +++ FileUtilsTest.java	4 Aug 2004 19:54:20 -0000	1.28
  @@ -83,6 +83,8 @@
           long secondModTime = removeThis.lastModified();
           assertTrue(secondModTime > modTime);
   
  +        //check that the isUpToDate logic works
  +        assertFalse(fu.isUpToDate(modTime,secondModTime));
   
           // number of milliseconds in a day
           final int millisperday=24 * 3600 * 1000;
  
  
  

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


Mime
View raw message