Searched refs:getRawFragment (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | UrlEncodingTest.java | 31 assertEquals("%61", new URI("http://foo#%61").getRawFragment()); in testUriRetainsOriginalEncoding() 46 assertEquals("a+b", new URI("http", "foo", "/", "a+b").getRawFragment()); in testEncodingPlus() 62 assertEquals("a%20b", new URI("http", "foo", "/", "a b").getRawFragment()); in testEncodingSpace() 222 assertEquals("\u20AC", new URI("http", "foo", "/", "\u20AC").getRawFragment()); in testUriDoesNotEncodeNonPrintableNonAsciiCharacters() 223 assertEquals("\ud842\udf9f", new URI("http", "foo", "/", "\ud842\udf9f").getRawFragment()); in testUriDoesNotEncodeNonPrintableNonAsciiCharacters() 227 assertEquals("%01", new URI("http", "foo", "/", "\u0001").getRawFragment()); in testUriEncodesControlCharacters() 230 assertEquals("%00", new URI("http", "foo", "/", "\u0000").getRawFragment()); in testUriEncodesControlCharacters() 261 assertEquals(encoded, new URI("http", "foo", "/", original).getRawFragment()); in assertEncoded()
|
D | URITest.java | 40 assertEquals("ref", uri.getRawFragment()); in testUriParts() 605 assertEquals("over%206%22", uri.getRawFragment()); in testEncodingParts()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URITest.java | 1007 String result = uris[i].getRawFragment(); in test_getRawFragment()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URI.java | 1354 public String getRawFragment() { in getRawFragment() method in URI
|