Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for escapeAsString (0.15 sec)

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

        String expected = "x[" + min + "][" + s1 + "][" + s2 + "][" + s3 + "][" + max + "]x";
        assertEquals(expected, escapeAsString(e, test));
      }
    
      public void testTrailingHighSurrogate() {
        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String expected = "x[" + min + "][" + s1 + "][" + s2 + "][" + s3 + "][" + max + "]x";
        assertEquals(expected, escapeAsString(e, test));
      }
    
      public void testTrailingHighSurrogate() {
        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        try {
          escapeAsString(NOP_ESCAPER, test);
          fail("Trailing high surrogate should cause exception");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top