Searched refs:u3 (Results 1 – 1 of 1) sorted by relevance
51 URL u3; field in URLTest106 u3 = new URL("http://www.yahoo4.com/"); in test_ConstructorLjava_lang_String()107 assertEquals("u3 returns a wrong protocol", "http", u3.getProtocol()); in test_ConstructorLjava_lang_String()108 assertEquals("u3 returns a wrong host", "www.yahoo4.com", u3.getHost()); in test_ConstructorLjava_lang_String()109 assertEquals("u3 returns a wrong port", -1, u3.getPort()); in test_ConstructorLjava_lang_String()110 assertEquals("u3 returns a wrong file", "/", u3.getFile()); in test_ConstructorLjava_lang_String()111 assertNull("u3 returns a wrong anchor", u3.getRef()); in test_ConstructorLjava_lang_String()