commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io FileUtilsTestCase.java
Date Sat, 22 Nov 2003 20:50:01 GMT
jeremias    2003/11/22 12:50:01

  Modified:    io/src/test/org/apache/commons/io FileUtilsTestCase.java
  Log:
  Remove test for deleted getFilesFromExtension
  
  Revision  Changes    Path
  1.6       +4 -26     jakarta-commons-sandbox/io/src/test/org/apache/commons/io/FileUtilsTestCase.java
  
  Index: FileUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/FileUtilsTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FileUtilsTestCase.java	22 Nov 2003 20:48:10 -0000	1.5
  +++ FileUtilsTestCase.java	22 Nov 2003 20:50:01 -0000	1.6
  @@ -159,28 +159,6 @@
   
       }
   
  -    public void testGetFilesFromExtension() {
  -        // TODO I'm not sure what is supposed to happen here
  -        FileUtils.getFilesFromExtension("dir", null);
  -
  -        // Non-existent files
  -        final String[] emptyFileNames =
  -            FileUtils.getFilesFromExtension(
  -                getTestDirectory().getAbsolutePath(),
  -                new String[] { "java" });
  -        assertTrue(emptyFileNames.length == 0);
  -
  -        // Existing files
  -        // TODO Figure out how to test this
  -        /*
  -        final String[] fileNames =
  -            FileUtils.getFilesFromExtension(
  -                getClass().getResource("/java/util/").getFile(),
  -                new String[] { "class" });
  -        assertTrue(fileNames.length > 0);
  -        */
  -    }
  -
       // mkdir
   
       public void testMkdir() {
  
  
  

---------------------------------------------------------------------
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