Searched refs:url1 (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); in test_equalsLjava_net_URLLjava_net_URL() local 37 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() local 56 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() local 68 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 …]
|
D | OldURLTest.java | 246 URL url1 = new URL("http://web2.javasoft.com/some%20file.html"); in testSameFile() local 248 assertFalse(url.sameFile(url1)); in testSameFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 714 URL url1 = new URL("file:///anyfile"); in test_sameFileLjava_net_URL() local 716 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()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | HttpURLConnection.java | 2176 URL url1; 2178 url1 = new URL (url, "/"); /* truncate the path */ 2180 url1 = url; 2214 ret = NTLMAuthenticationProxy.proxy.create(false, url1, a);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 2133 URL url1 = new URL("file", "", path); in test_toURL2() local 2135 assertEquals("urls not equal", url1, url2); in test_toURL2()
|