Home
last modified time | relevance | path

Searched refs:u2a (Results 1 – 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java96 URL u2a = new URL("file://www.yahoo3.com/dir1/dir2/test.cgi#anchor1"); in test_ConstructorLjava_lang_String() local
97 assertEquals("u2a returns a wrong protocol", "file", u2a.getProtocol()); in test_ConstructorLjava_lang_String()
98 assertEquals("u2a returns a wrong host", "www.yahoo3.com", u2a in test_ConstructorLjava_lang_String()
100 assertEquals("u2a returns a wrong port", -1, u2a.getPort()); in test_ConstructorLjava_lang_String()
101 assertEquals("u2a returns a wrong file", "/dir1/dir2/test.cgi", u2a in test_ConstructorLjava_lang_String()
103 assertEquals("u2a returns a wrong anchor", "anchor1", u2a.getRef()); in test_ConstructorLjava_lang_String()