Searched refs:url2 (Results 1 – 6 of 6) sorted by relevance
36 URL url2 = new URL("http://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()58 URL url2 = new URL("http://test:pwd@fakehostname.fakedomain/test?a=b&c=%D0+%D1"); in test_getHostAddress() local59 assertNull(handler.getHostAddress(url2)); in test_getHostAddress()67 URL url2 = new URL("http://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()82 URL url2 = new URL("http://localhost/_test"); in test_hostsEqualLjava_net_URLLjava_net_URL() local83 assertTrue(handler.hostsEqual(url1, url2)); in test_hostsEqualLjava_net_URLLjava_net_URL()[all …]
948 URL url2 = new URL("http://www.nest.com/"); in testHashCodeAndEqualsDoesNotPerformNetworkIo() local950 url.equals(url2); in testHashCodeAndEqualsDoesNotPerformNetworkIo()951 url2.hashCode(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
488 URL url2 = new URL(url,"/foo/index.html"); in testGetPath() local489 assertEquals("/foo/index.html",url2.getPath()); in testGetPath()
715 URL url2 = new URL("file://localhost/anyfile"); in test_sameFileLjava_net_URL() local716 assertTrue(url1.sameFile(url2)); in test_sameFileLjava_net_URL()719 url2 = new URL("http://localhost/anyfile"); in test_sameFileLjava_net_URL()720 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()723 url2 = new URL("ftp://localhost/anyfile"); in test_sameFileLjava_net_URL()724 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()727 url2 = new URL("jar:file://localhost/anyfile.jar!/"); in test_sameFileLjava_net_URL()728 assertFalse(url1.sameFile(url2)); in test_sameFileLjava_net_URL()
205 URL url2;225 url2 = new URL("http://localhost:" + port + "/test2");226 uc2 = url2.openConnection();1203 assertEquals(url2.toString(), url);
2139 URL url2 = f.toURL(); in test_toURL2() local2140 assertEquals("urls not equal", url1, url2); in test_toURL2()