This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git

commit 431ce82c09e793915df9c8b72143579a38a68c2d
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Tue Jan 2 05:46:45 2018 +0100

    Removing the 8.3 test altogether
---
 .../netbeans/modules/masterfs/URLMapperTest.java   | 25 ----------------------
 1 file changed, 25 deletions(-)

diff --git 
a/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java 
b/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java
index 462c5db..2e7f349 100644
--- a/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java
+++ b/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java
@@ -19,18 +19,12 @@
 
 package org.netbeans.modules.masterfs;
 
-import java.io.File;
-import java.net.URL;
-import org.junit.Assume;
-import static org.junit.Assume.assumeTrue;
 import org.netbeans.junit.NbTestCase;
 import org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem;
 import org.openide.filesystems.FileObject;
 import org.openide.filesystems.FileSystem;
 import org.openide.filesystems.FileUtil;
-import org.openide.filesystems.URLMapper;
 import org.openide.util.Lookup;
-import org.openide.util.Utilities;
 import org.openide.util.lookup.Lookups;
 import org.openide.util.lookup.ServiceProvider;
 
@@ -51,25 +45,6 @@ public class URLMapperTest extends NbTestCase {
         assertEquals(MyInstance2.class, obj.getClass());
     }
     
-    public void testNormalize8_3Names() throws Exception {
-        if (!Utilities.isWindows()) {
-            return;
-        }
-        
-        clearWorkDir();
-        File f = new File(getWorkDir(), "my new temp folder with long name");
-        f.mkdirs();
-        
-        File shrtF = new File(getWorkDir(), "MYNEWT~1");
-        assumeTrue("Short name exists", shrtF.isDirectory());
-        
-        final URL u = shrtF.toURI().toURL();
-        final FileObject fo = URLMapper.findFileObject(u);
-        File found = FileUtil.toFile(fo);
-        
-        assertEquals("The same file as original", f, found);
-    }
-
     @ServiceProvider(service=Object.class)
     public static class MyInstance2 {
         public MyInstance2() {

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to