commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1182046 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
Date Tue, 11 Oct 2011 19:30:14 GMT
Author: ggregory
Date: Tue Oct 11 19:30:14 2011
New Revision: 1182046

URL: http://svn.apache.org/viewvc?rev=1182046&view=rev
Log:
[VFS-367] Add API FileObject isFile().

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java?rev=1182046&r1=1182045&r2=1182046&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
(original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/test/ProviderReadTests.java
Tue Oct 11 19:30:14 2011
@@ -137,6 +137,7 @@ public class ProviderReadTests
         // Test a file
         FileObject file = getReadFolder().resolveFile("file1.txt");
         assertSame(FileType.FILE, file.getType());
+        assertTrue(file.isFile());
 
         // Test a folder
         file = getReadFolder().resolveFile("dir1");



Mime
View raw message