Searched refs:decodeToAscii (Results 1 – 1 of 1) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | Base64Test.java | 157 assertEquals("hello, world", decodeToAscii(decoder, "aGVsbG8sIHdvcmxk")); in checkDecoder_extraChars_common() 166 assertEquals("hello, world?!", decodeToAscii(decoder, "aGVsbG8sIHdvcmxkPyE=")); in checkDecoder_extraChars_common() 168 assertEquals("hello, world?!", decodeToAscii(decoder, "aGVsbG8sIHdvcmxkPyE")); in checkDecoder_extraChars_common() 188 assertEquals("hello, world.", decodeToAscii(decoder, "aGVsbG8sIHdvcmxkLg==")); in checkDecoder_extraChars_common() 190 assertEquals("hello, world.", decodeToAscii(decoder, "aGVsbG8sIHdvcmxkLg")); in checkDecoder_extraChars_common() 219 assertEquals("hello, world", decodeToAscii(mimeDecoder, " aGVsbG8sIHdvcmxk")); in testDecoder_extraChars_mime() 220 assertEquals("hello, world", decodeToAscii(mimeDecoder, "aGV sbG8sIHdvcmxk")); in testDecoder_extraChars_mime() 221 assertEquals("hello, world", decodeToAscii(mimeDecoder, "aGVsbG8sIHdvcmxk ")); in testDecoder_extraChars_mime() 222 assertEquals("hello, world", decodeToAscii(mimeDecoder, "_aGVsbG8sIHdvcmxk")); in testDecoder_extraChars_mime() 223 assertEquals("hello, world", decodeToAscii(mimeDecoder, "aGV_sbG8sIHdvcmxk")); in testDecoder_extraChars_mime() [all …]
|