Home
last modified time | relevance | path

Searched refs:url1 (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldURLStreamHandlerTest.java35 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 …]
DOldURLTest.java246 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/
DURLTest.java714 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java2133 URL url1 = new URL("file", "", path); in test_toURL2() local
2135 assertEquals("urls not equal", url1, url2); in test_toURL2()