jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1311769 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
Date Tue, 10 Apr 2012 14:55:06 GMT
Author: thomasm
Date: Tue Apr 10 14:55:05 2012
New Revision: 1311769

URL: http://svn.apache.org/viewvc?rev=1311769&view=rev
Log:
OAK-56 File system abstraction (isAbsolute on Windows)

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java?rev=1311769&r1=1311768&r2=1311769&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/fs/FileSystemTest.java
Tue Apr 10 14:55:05 2012
@@ -45,7 +45,9 @@ public class FileSystemTest extends Test
     }
 
     public void testAbsoluteRelative() {
-        assertTrue(FileUtils.isAbsolute("/test/abc"));
+        // for Windows, this is not absolute as the drive letter is missing
+        // assertTrue(FileUtils.isAbsolute("/test/abc"));
+        
         assertFalse(FileUtils.isAbsolute("test/abc"));
         assertTrue(FileUtils.isAbsolute("~/test/abc"));
     }



Mime
View raw message