Searched refs:url1 (Results 1 – 4 of 4) sorted by relevance
35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_equalsLjava_net_URLLjava_net_URL() local37 assertFalse(url1.equals(url2)); in test_equalsLjava_net_URLLjava_net_URL()40 assertFalse(handler.equals(url1,url2)); in test_equalsLjava_net_URLLjava_net_URL()43 assertFalse(handler.equals(null, url1)); in test_equalsLjava_net_URLLjava_net_URL()55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_getHostAddress() local56 assertNull(handler.getHostAddress(url1)); in test_getHostAddress()66 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_hashCodeLjava_net_URL() local68 assertTrue(handler.hashCode(url1) != handler.hashCode(url2)); in test_hashCodeLjava_net_URL()71 assertFalse(handler.equals(url1,url2)); in test_hashCodeLjava_net_URL()81 URL url1 = new URL("ftp://localhost:21/*test"); in test_hostsEqualLjava_net_URLLjava_net_URL() local[all …]
246 URL url1 = new URL("http://web2.javasoft.com/some%20file.html"); in testSameFile() local248 assertFalse(url.sameFile(url1)); in testSameFile()
714 URL url1 = new URL("file:///anyfile"); in test_sameFileLjava_net_URL() local716 assertTrue(url1.sameFile(url2)); in test_sameFileLjava_net_URL()718 url1 = new URL("http:///anyfile"); in test_sameFileLjava_net_URL()720 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()722 url1 = new URL("ftp:///anyfile"); in test_sameFileLjava_net_URL()724 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()726 url1 = new URL("jar:file:///anyfile.jar!/"); in test_sameFileLjava_net_URL()728 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
2133 URL url1 = new URL("file", "", path); in test_toURL2() local2135 assertEquals("urls not equal", url1, url2); in test_toURL2()