Skip to content

Commit 07b8e33

Browse files
committed
Remove test for deleted getFilesFromExtension
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140408 13f79535-47bb-0310-9956-ffa450edef68
1 parent d221f48 commit 07b8e33

1 file changed

Lines changed: 4 additions & 26 deletions

File tree

src/test/org/apache/commons/io/FileUtilsTestCase.java

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//io/src/test/org/apache/commons/io/FileUtilsTestCase.java,v 1.5 2003/11/22 20:48:10 jeremias Exp $
3-
* $Revision: 1.5 $
4-
* $Date: 2003/11/22 20:48:10 $
2+
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//io/src/test/org/apache/commons/io/FileUtilsTestCase.java,v 1.6 2003/11/22 20:50:01 jeremias Exp $
3+
* $Revision: 1.6 $
4+
* $Date: 2003/11/22 20:50:01 $
55
*
66
* ====================================================================
77
*
@@ -75,7 +75,7 @@
7575
*
7676
* @author Peter Donald
7777
* @author Matthew Hawthorne
78-
* @version $Id: FileUtilsTestCase.java,v 1.5 2003/11/22 20:48:10 jeremias Exp $
78+
* @version $Id: FileUtilsTestCase.java,v 1.6 2003/11/22 20:50:01 jeremias Exp $
7979
* @see FileUtils
8080
*/
8181
public final class FileUtilsTestCase extends FileBasedTestCase {
@@ -159,28 +159,6 @@ public void testToURLs() throws Exception {
159159

160160
}
161161

162-
public void testGetFilesFromExtension() {
163-
// TODO I'm not sure what is supposed to happen here
164-
FileUtils.getFilesFromExtension("dir", null);
165-
166-
// Non-existent files
167-
final String[] emptyFileNames =
168-
FileUtils.getFilesFromExtension(
169-
getTestDirectory().getAbsolutePath(),
170-
new String[] { "java" });
171-
assertTrue(emptyFileNames.length == 0);
172-
173-
// Existing files
174-
// TODO Figure out how to test this
175-
/*
176-
final String[] fileNames =
177-
FileUtils.getFilesFromExtension(
178-
getClass().getResource("/java/util/").getFile(),
179-
new String[] { "class" });
180-
assertTrue(fileNames.length > 0);
181-
*/
182-
}
183-
184162
// mkdir
185163

186164
public void testMkdir() {

0 commit comments

Comments
 (0)