Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java75 assertEquals("u returns a wrong anchor", "anchor1", u.getRef()); in test_ConstructorLjava_lang_String()
83 assertNull("u1 returns a wrong anchor", u1.getRef()); in test_ConstructorLjava_lang_String()
93 assertEquals("u2 returns a wrong anchor", "anchor1", u2.getRef()); in test_ConstructorLjava_lang_String()
103 assertEquals("u2a returns a wrong anchor", "anchor1", u2a.getRef()); in test_ConstructorLjava_lang_String()
111 assertNull("u3 returns a wrong anchor", u3.getRef()); in test_ConstructorLjava_lang_String()
120 assertNull("u3a returns a wrong anchor", u3a.getRef()); in test_ConstructorLjava_lang_String()
129 assertNull("u3b returns a wrong anchor", u3b.getRef()); in test_ConstructorLjava_lang_String()
139 assertEquals("u4 returns a wrong anchor", "anchor1", u4.getRef()); in test_ConstructorLjava_lang_String()
146 assertNull("u5 returns a wrong anchor", u5.getRef()); in test_ConstructorLjava_lang_String()
153 assertNull("u5a returns a wrong anchor", u5a.getRef()); in test_ConstructorLjava_lang_String()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java41 assertEquals("ref", url.getRef()); in testUrlParts()
157 assertEquals(null, url.getRef()); in testNoHost()
178 assertEquals(null, url.getRef()); in testEmptyHostAndNoPath()
192 assertEquals(null, url.getRef()); in testNoHostAndNoPath()
259 assertEquals("fragment", url.getRef()); in testFragmentOnly()
308 assertEquals("fragment?query", url.getRef()); in testQuestionMarkInFragment()
316 assertEquals("fragment:80", url.getRef()); in testColonInFragment()
323 assertEquals("fragment/path", url.getRef()); in testSlashInFragment()
330 assertEquals("fragment/path", url.getRef()); in testSlashInFragmentCombiningConstructor()
337 assertEquals("fragment#another", url.getRef()); in testHashInFragment()
[all …]
DOldURLTest.java74 assertEquals("Assert 4: wrong anchor", "anch", testURL.getRef()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
177 .getRef()); in testURLURLString()
457 String output = gamelan.getRef(); in testGetRef()
461 assertEquals("BOTTOM", gamelanNetwork.getRef()); in testGetRef()
466 assertEquals("BOTTOM", gamelanNetwork2.getRef()); in testGetRef()
662 assertTrue("SSISH1 returns a wrong anchor: " + u.getRef(), u.getRef() in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
672 assertTrue("SSISH2 returns a wrong anchor: " + u.getRef(), u.getRef() in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
736 assertNull("1 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
745 assertNull("2 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
752 assertNull("3 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
/libcore/luni/src/main/java/java/net/
DJarURLConnection.java81 if (url.getRef() != null) { in JarURLConnection()
82 entryName += "#" + url.getRef(); in JarURLConnection()
DURLStreamHandler.java156 ref = url.getRef(); in parseURL()
289 String ref = url.getRef(); in toExternalForm()
308 && Objects.equal(a.getRef(), b.getRef()) in equals()
DURL.java171 context.getRef()); in URL()
654 public String getRef() { in getRef() method in URL
/libcore/luni/src/main/java/libcore/net/url/
DJarHandler.java101 String ref = url.getRef(); in toExternalForm()
/libcore/luni/src/main/java/java/sql/
DCallableStatement.java531 public Ref getRef(int parameterIndex) throws SQLException; in getRef() method
546 public Ref getRef(String parameterName) throws SQLException; in getRef() method
DResultSet.java829 public Ref getRef(int columnIndex) throws SQLException; in getRef() method
841 public Ref getRef(String colName) throws SQLException; in getRef() method