Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/escape/
DEscapersTest.java95 UnicodeEscaper unicodeEscaper = Escapers.asUnicodeEscaper(charEscaper); in testAsUnicodeEscaper() local
96 EscaperAsserts.assertBasic(unicodeEscaper); in testAsUnicodeEscaper()
98 assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00")); in testAsUnicodeEscaper()
103 unicodeEscaper.escape("\uD800x\uDC00"); in testAsUnicodeEscaper()
110 unicodeEscaper.escape("\uDC00\uD800"); in testAsUnicodeEscaper()