You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2018/01/01 20:14:48 UTC

[incubator-netbeans] 01/02: Skipping the test if not running on filesystem without 8.3 name encoding.

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 dc0070251455b9f4217e7825d2d13814ce21199b
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Mon Jan 1 21:14:00 2018 +0100

    Skipping the test if not running on filesystem without 8.3 name encoding.
---
 .../test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 b8eefef..462c5db 100644
--- a/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java
+++ b/masterfs/test/unit/src/org/netbeans/modules/masterfs/URLMapperTest.java
@@ -21,6 +21,8 @@ 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;
@@ -59,7 +61,7 @@ public class URLMapperTest extends NbTestCase {
         f.mkdirs();
         
         File shrtF = new File(getWorkDir(), "MYNEWT~1");
-        assertTrue("Short name exists", shrtF.isDirectory());
+        assumeTrue("Short name exists", shrtF.isDirectory());
         
         final URL u = shrtF.toURI().toURL();
         final FileObject fo = URLMapper.findFileObject(u);

-- 
To stop receiving notification emails like this one, please contact
"commits@netbeans.apache.org" <co...@netbeans.apache.org>.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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