commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobr...@apache.org
Subject cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io/filefilter FileFilterTestCase.java
Date Tue, 25 Feb 2003 09:56:28 GMT
tobrien     2003/02/25 01:56:28

  Modified:    io/src/test/org/apache/commons/io/filefilter
                        FileFilterTestCase.java
  Log:
  TTesting the DirectoryFileFilter against a "non-existent" directory
  of the name "test" was causing problems due to the fact that another
  TestCase for FileUtils was creating this directory.  On Linux, this
  directory was being created and deleted, on Windows this directory
  was being created but not deleted.  Hence, this test case was failing
  on Windows machines and not on Linux machine.  To remedy the situation
  the test now checks for a directory named "imaginary" which does not
  exist.
  
  Revision  Changes    Path
  1.7       +5 -5      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
  
  Index: FileFilterTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FileFilterTestCase.java	25 Feb 2003 09:39:38 -0000	1.6
  +++ FileFilterTestCase.java	25 Feb 2003 09:56:28 -0000	1.7
  @@ -128,8 +128,8 @@
           
           assertFiltering( filter, new File("project.xml"), false);
   	
  -	assertFiltering( filter, new File("test"), false);
  -        assertFiltering( filter, new File("test/"), false);
  +	assertFiltering( filter, new File("imaginary"), false);
  +        assertFiltering( filter, new File("imaginary/"), false);
   
           assertFiltering( filter, new File("STATUS.html"), false);
       }
  
  
  

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


Mime
View raw message