harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r467585 - /incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java
Date Wed, 25 Oct 2006 09:09:51 GMT
Author: smishura
Date: Wed Oct 25 02:09:51 2006
New Revision: 467585

URL: http://svn.apache.org/viewvc?view=rev&rev=467585
Log:
Fix for for HARMONY-1892 ([test][swing] j.s.filechooser.FileSystemViewTest prompts to insert
disk into drive A:)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java?view=diff&rev=467585&r1=467584&r2=467585
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/filechooser/FileSystemViewTest.java
Wed Oct 25 02:09:51 2006
@@ -82,8 +82,8 @@
         assertEquals(file.getName(), view.getSystemDisplayName(file));
         file = new File("/a/b");
         assertEquals(file.getName(), view.getSystemDisplayName(file));
-        file = File.listRoots()[0];
-        assertNotSame(file.getName(), view.getSystemDisplayName(file));
+        File f = File.listRoots()[0];
+        assertNotSame(f.getName(), view.getSystemDisplayName(f));
     }
 
     public void testGetSystemTypeDescription() throws Exception {



Mime
View raw message