Home
last modified time | relevance | path

Searched refs:assertFailsToDecode (Results 1 – 2 of 2) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java109 assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f"); in testBase64InvalidDecodings()
110 assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !"); in testBase64InvalidDecodings()
112 assertFailsToDecode(base64(), "let's not talk of love or chains!"); in testBase64InvalidDecodings()
114 assertFailsToDecode(base64(), "12345", "Invalid input length 5"); in testBase64InvalidDecodings()
116 assertFailsToDecode(base64(), "AB=C", "Unrecognized character: ="); in testBase64InvalidDecodings()
117 assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5"); in testBase64InvalidDecodings()
118 assertFailsToDecode(base64(), "?", "Invalid input length 1"); in testBase64InvalidDecodings()
238 assertFailsToDecode(base32(), "A ", "Unrecognized character: 0x20"); in testBase32InvalidDecodings()
239 assertFailsToDecode(base32(), "Wf2!", "Unrecognized character: f"); in testBase32InvalidDecodings()
241 assertFailsToDecode(base32(), "let's not talk of love or chains!"); in testBase32InvalidDecodings()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java109 assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f"); in testBase64InvalidDecodings()
110 assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !"); in testBase64InvalidDecodings()
112 assertFailsToDecode(base64(), "let's not talk of love or chains!"); in testBase64InvalidDecodings()
114 assertFailsToDecode(base64(), "12345", "Invalid input length 5"); in testBase64InvalidDecodings()
116 assertFailsToDecode(base64(), "AB=C", "Unrecognized character: ="); in testBase64InvalidDecodings()
117 assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5"); in testBase64InvalidDecodings()
118 assertFailsToDecode(base64(), "?", "Invalid input length 1"); in testBase64InvalidDecodings()
238 assertFailsToDecode(base32(), "A ", "Unrecognized character: 0x20"); in testBase32InvalidDecodings()
239 assertFailsToDecode(base32(), "Wf2!", "Unrecognized character: f"); in testBase32InvalidDecodings()
241 assertFailsToDecode(base32(), "let's not talk of love or chains!"); in testBase32InvalidDecodings()
[all …]