harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r765454 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java
Date Thu, 16 Apr 2009 03:09:12 GMT
Author: ndbeyer
Date: Thu Apr 16 03:09:11 2009
New Revision: 765454

URL: http://svn.apache.org/viewvc?rev=765454&view=rev
Log:
additional tweak to prevent drive normalization on windows

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java?rev=765454&r1=765453&r2=765454&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java
Thu Apr 16 03:09:11 2009
@@ -195,8 +195,8 @@
         String dirName = null;
         String fileName = "input.tst";
         File f = new File(dirName, fileName);
-        assertEquals("Test 1: Created Incorrect File.",
-                addTrailingSlash(new File(".").getCanonicalPath()) + "input.tst",
+        assertEquals("Test 1: Created Incorrect File", 
+                new File("input.tst").getAbsolutePath(), 
                 f.getAbsolutePath());
 
         dirName = tempDirectory.getPath();



Mime
View raw message