Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBuilderCreatesIndependentEscapers (0.16 sec)

  1. guava-tests/test/com/google/common/escape/EscapersTest.java

        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
        assertEquals("The_Quick_Brown_Fox_", builder.build().escape("The Quick Brown Fox!"));
      }
    
      public void testBuilderCreatesIndependentEscapers() {
        // Set up a simple builder and create the first escaper.
        Escapers.Builder builder = Escapers.builder();
        builder.setSafeRange('a', 'z');
        builder.setUnsafeReplacement("X");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top