/** Test of isRemote method, of class PathUtils. */ public void testIsRemote() { System.out.println("isRemote"); assertTrue(PathUtils.isRemote("http://www.seznam.cz")); assertTrue(PathUtils.isRemote("https://is.muni.cz/auth/more/data")); assertTrue(PathUtils.isRemote("ftp://server")); assertFalse(PathUtils.isRemote("relative/path")); assertFalse(PathUtils.isRemote("relative")); assertFalse(PathUtils.isRemote("/absolute/path")); assertFalse(PathUtils.isRemote("./../../data.txt")); }