Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSeparatorSameAsPadChar (0.21 sec)

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

        testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy");
        testEncodes(base32().withSeparator("*", 4), "foobar", "MZXW*6YTB*OI==*====");
      }
    
      public void testSeparatorSameAsPadChar() {
        assertThrows(IllegalArgumentException.class, () -> base64().withSeparator("=", 3));
    
        assertThrows(
            IllegalArgumentException.class, () -> base64().withPadChar('#').withSeparator("!#!", 3));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy");
        testEncodes(base32().withSeparator("*", 4), "foobar", "MZXW*6YTB*OI==*====");
      }
    
      public void testSeparatorSameAsPadChar() {
        assertThrows(IllegalArgumentException.class, () -> base64().withSeparator("=", 3));
    
        assertThrows(
            IllegalArgumentException.class, () -> base64().withPadChar('#').withSeparator("!#!", 3));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top