Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testBase64InvalidDecodings (0.1 seconds)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg=", "f");
        testDecodes(base64(), "Zg==", "f"); // proper padding length
        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top