Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DUrlEncodingTest.java22 import java.net.URLDecoder;
38 assertEquals("a b", URLDecoder.decode("a+b")); in testDecodingPlus()
39 assertEquals("a b", URLDecoder.decode("a+b", "UTF-8")); in testDecodingPlus()
50 assertEquals("a b", URLDecoder.decode("a b")); in testDecodingSpace()
51 assertEquals("a b", URLDecoder.decode("a b", "UTF-8")); in testDecodingSpace()
80 URLDecoder.decode("%"); in testUrlDecoderDecodingPartial()
85 URLDecoder.decode("%0"); in testUrlDecoderDecodingPartial()
101 URLDecoder.decode("%0g"); in testUrlDecoderDecodingInvalid()
109 URLDecoder.decode("ab", null); in testUrlDecoderFailsOnNullCharset()
118 URLDecoder.decode("ab", ""); in testUrlDecoderFailsOnEmptyCharset()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLDecoderTest.java21 import java.net.URLDecoder;
33 URLDecoder ud = new URLDecoder(); in test_Constructor()
44 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode( in test_decodeLjava_lang_String()
46 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode( in test_decodeLjava_lang_String()
48 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode( in test_decodeLjava_lang_String()
58 URLDecoder.decode("", ""); in test_decodeLjava_lang_String_Ljava_lang_String()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLEncoderTest.java21 import java.net.URLDecoder;
38 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode( in test_encodeLjava_lang_String()
40 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode( in test_encodeLjava_lang_String()
42 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode( in test_encodeLjava_lang_String()
/libcore/ojluni/src/main/java/java/net/
DURLDecoder.java79 public class URLDecoder { class
/libcore/
Dopenjdk_java_files.bp334 "ojluni/src/main/java/java/net/URLDecoder.java",