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 <[email protected]> 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 "[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
