Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for xmlAttributeEscaper (0.07 seconds)

  1. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      }
    
      public void testXmlAttributeEscaper() throws Exception {
        CharEscaper xmlAttributeEscaper = (CharEscaper) XmlEscapers.xmlAttributeEscaper();
        assertBasicXmlEscaper(xmlAttributeEscaper, true, true);
        // Test quotes are escaped.
        assertThat(xmlAttributeEscaper.escape("\"test\"")).isEqualTo(""test"");
        assertThat(xmlAttributeEscaper.escape("'test'")).isEqualTo("'test'");
        // Test all escapes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      }
    
      public void testXmlAttributeEscaper() throws Exception {
        CharEscaper xmlAttributeEscaper = (CharEscaper) XmlEscapers.xmlAttributeEscaper();
        assertBasicXmlEscaper(xmlAttributeEscaper, true, true);
        // Test quotes are escaped.
        assertThat(xmlAttributeEscaper.escape("\"test\"")).isEqualTo(""test"");
        assertThat(xmlAttributeEscaper.escape("'test'")).isEqualTo("'test'");
        // Test all escapes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top