Searched refs:u1f (Results 1 – 1 of 1) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URLTest.java | 295 URL u1f = new URL(uf, "file.java"); in test_ConstructorLjava_net_URLLjava_lang_String() local 296 assertEquals("1f returns a wrong protocol", "file", u1f.getProtocol()); in test_ConstructorLjava_net_URLLjava_lang_String() 297 assertEquals("1f returns a wrong host", "www.yahoo.com", u1f.getHost()); in test_ConstructorLjava_net_URLLjava_lang_String() 298 assertEquals("1f returns a wrong port", -1, u1f.getPort()); in test_ConstructorLjava_net_URLLjava_lang_String() 299 assertEquals("1f returns a wrong file", "/file.java", u1f.getFile()); in test_ConstructorLjava_net_URLLjava_lang_String() 300 assertNull("1f returns a wrong anchor", u1f.getRef()); in test_ConstructorLjava_net_URLLjava_lang_String() 329 u1f = new URL(uf, "file.java"); in test_ConstructorLjava_net_URLLjava_lang_String() 330 assertEquals("4f returns a wrong protocol", "file", u1f.getProtocol()); in test_ConstructorLjava_net_URLLjava_lang_String() 331 assertEquals("4f returns a wrong host", "www.apache.org", u1f.getHost()); in test_ConstructorLjava_net_URLLjava_lang_String() 332 assertEquals("4f returns a wrong port", -1, u1f.getPort()); in test_ConstructorLjava_net_URLLjava_lang_String() [all …]
|