Home
last modified time | relevance | path

Searched refs:URLDecoder (Results 1 – 16 of 16) 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", (String) 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/ojluni/src/test/java/net/URLDecoder/
DB6463990.java28 package test.java.net.URLDecoder;
30 import java.net.URLDecoder;
39 URLDecoder ud = new java.net.URLDecoder(); in testB6463990()
DEncodingTest.java23 package test.java.net.URLDecoder;
25 import java.net.URLDecoder;
93 returned = URLDecoder.decode(illegal, StandardCharsets.UTF_8.name()); in testIllegalArgument()
95 returned = URLDecoder.decode(illegal, StandardCharsets.UTF_8); in testIllegalArgument()
110 String returned1 = URLDecoder.decode(encoded, StandardCharsets.UTF_8.name()); in decode()
111 String returned2 = URLDecoder.decode(encoded, StandardCharsets.UTF_8); in decode()
DURLDecoderArgs.java29 package test.java.net.URLDecoder;
31 import java.net.URLDecoder;
41 String s1 = URLDecoder.decode ("Hello World", (String) null); in testDecodeNull()
50 String s2 = URLDecoder.decode ("Hello World", ""); in testDecodeEmpty()
DEncodeDecode.java29 package test.java.net.URLDecoder;
41 String decStr = URLDecoder.decode(encStr); in testEncodeDecode()
/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/test/java/net/URLEncoder/
DDecodeNonEncoded.java35 import java.net.URLDecoder;
51 URLDecoder.decode(errorStrings[i]); in testDecodeNonEncoded()
60 temp = URLDecoder.decode(ignoreStrings[i]); in testDecodeNonEncoded()
DEncodingTest.java25 import java.net.URLDecoder;
81 String returned1 = URLDecoder.decode(encoded1, StandardCharsets.UTF_8.name()); in encode()
82 String returned2 = URLDecoder.decode(encoded2, StandardCharsets.UTF_8); in encode()
DURLEncodeDecode.java68 decoded = URLDecoder.decode(encoded); in testURLEncodeDecode()
70 decoded = URLDecoder.decode(encoded, enc); in testURLEncodeDecode()
DDecoder.java55 String decoded = URLDecoder.decode(encoded, enc); in testDecoder()
DSurrogatePairs.java83 String decoded = URLDecoder.decode(encoded, "UTF-8"); in test()
/libcore/ojluni/src/main/java/java/net/
DURLDecoder.java83 public class URLDecoder { class
/libcore/
Dopenjdk_java_files.bp357 "ojluni/src/main/java/java/net/URLDecoder.java",
DEXPECTED_UPSTREAM390 ojluni/src/main/java/java/net/URLDecoder.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/jav…
/libcore/api/
Dcurrent.txt6226 public class URLDecoder {
6227 ctor public URLDecoder();