Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DURITest.java39 assertEquals("ref", uri.getFragment()); in testUriParts()
191 assertEquals("fragment", uri.getFragment()); in testFragmentOnly()
234 assertEquals("fragment?query", uri.getFragment()); in testQuestionMarkInFragment()
241 assertEquals("fragment:80", uri.getFragment()); in testColonInFragment()
247 assertEquals("fragment/path", uri.getFragment()); in testSlashInFragment()
291 assertEquals(null, uri.getFragment()); in testRelativePathOnQuery()
300 assertEquals("another", uri.getFragment()); in testRelativeFragmentOnQuery()
588 assertEquals("over 6\"", uri.getFragment()); in testEncodingParts()
620 assertEquals("fragment", uri.getFragment()); in testEmptyAuthorityWithFragment()
DUrlEncodingTest.java40 assertEquals("a+b", new URI("http://foo#a+b").getFragment()); in testDecodingPlus()
244 assertEquals(decoded, new URI("http://foo#" + original).getFragment()); in assertDecoded()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java294 assertNull("wrong fragment", uri.getFragment()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
387 assertEquals("wrong fragment", "frag#me?nt", uri.getFragment()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String()
488 assertEquals("wrong fragment", "f/r\u00DFag", uri.getFragment()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
729 uri.getQuery(), uri.getFragment()); in test_equals2()
837 String result = uris[i].getFragment(); in test_getFragment()
/libcore/luni/src/main/java/java/net/
DURI.java1030 public String getFragment() { in getFragment() method in URI