Searched refs:decodeString (Results 1 – 1 of 1) sorted by relevance
| /cts/tests/tests/util/src/android/util/cts/ |
| D | Base64Test.java | 50 private String decodeString(String in) throws Exception { in decodeString() method in Base64Test 61 String dec = decodeString(b64); in encodeToString() 94 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars() 99 assertEquals("hello, world", decodeString(" aGVs bG8s IHdv cmxk ")); in testDecodeExtraChars() 100 assertEquals("hello, world", decodeString(" aGV sbG8 sIHd vcmx k ")); in testDecodeExtraChars() 101 assertEquals("hello, world", decodeString(" aG VsbG 8sIH dvcm xk ")); in testDecodeExtraChars() 102 assertEquals("hello, world", decodeString(" a GVsb G8sI Hdvc mxk ")); in testDecodeExtraChars() 103 assertEquals("hello, world", decodeString(" a G V s b G 8 s I H d v c m x k ")); in testDecodeExtraChars() 104 assertEquals("hello, world", decodeString("_a*G_V*s_b*G_8*s_I*H_d*v_c*m_x*k_")); in testDecodeExtraChars() 105 assertEquals("hello, world", decodeString("aGVsbG8sIHdvcmxk")); in testDecodeExtraChars() [all …]
|