Searched refs:u5a (Results 1 – 1 of 1) sorted by relevance
148 URL u5a = new URL("file:testing.tst"); in test_ConstructorLjava_lang_String() local149 assertEquals("u5a returns a wrong protocol", "file", u5a.getProtocol()); in test_ConstructorLjava_lang_String()150 assertTrue("u5a returns a wrong host", u5a.getHost().equals("")); in test_ConstructorLjava_lang_String()151 assertEquals("u5a returns a wrong port", -1, u5a.getPort()); in test_ConstructorLjava_lang_String()152 assertEquals("u5a returns a wrong file", "testing.tst", u5a.getFile()); in test_ConstructorLjava_lang_String()153 assertNull("u5a returns a wrong anchor", u5a.getRef()); in test_ConstructorLjava_lang_String()