Searched refs:u5 (Results 1 – 1 of 1) sorted by relevance
55 URL u5; field in URLTest141 u5 = new URL("file:/testing.tst"); in test_ConstructorLjava_lang_String()142 assertEquals("u5 returns a wrong protocol", "file", u5.getProtocol()); in test_ConstructorLjava_lang_String()143 assertTrue("u5 returns a wrong host", u5.getHost().equals("")); in test_ConstructorLjava_lang_String()144 assertEquals("u5 returns a wrong port", -1, u5.getPort()); in test_ConstructorLjava_lang_String()145 assertEquals("u5 returns a wrong file", "/testing.tst", u5.getFile()); in test_ConstructorLjava_lang_String()146 assertNull("u5 returns a wrong anchor", u5.getRef()); in test_ConstructorLjava_lang_String()