Home
last modified time | relevance | path

Searched refs:charEscaper (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava-tests/test/com/google/common/escape/
DEscapersTest.java89 CharEscaper charEscaper = createSimpleCharEscaper( in testAsUnicodeEscaper() local
95 UnicodeEscaper unicodeEscaper = Escapers.asUnicodeEscaper(charEscaper); in testAsUnicodeEscaper()
97 assertEquals("<hello><hi><lo>", charEscaper.escape("x\uD800\uDC00")); in testAsUnicodeEscaper()
101 assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00")); in testAsUnicodeEscaper()
108 assertEquals("<lo><hi>", charEscaper.escape("\uDC00\uD800")); in testAsUnicodeEscaper()