Searched refs:u4 (Results 1 – 1 of 1) sorted by relevance
53 URL u4; field in URLTest132 u4 = new URL( in test_ConstructorLjava_lang_String()134 assertEquals("u4 returns a wrong protocol", "http", u4.getProtocol()); in test_ConstructorLjava_lang_String()135 assertEquals("u4 returns a wrong host", "www.yahoo5.com", u4.getHost()); in test_ConstructorLjava_lang_String()136 assertEquals("u4 returns a wrong port", -1, u4.getPort()); in test_ConstructorLjava_lang_String()138 "/di!@$%^&*()_+r1/di:::r2/test.cgi?point1.html", u4.getFile()); in test_ConstructorLjava_lang_String()139 assertEquals("u4 returns a wrong anchor", "anchor1", u4.getRef()); in test_ConstructorLjava_lang_String()