Searched refs:charEscaper (Results 1 – 1 of 1) sorted by relevance
89 CharEscaper charEscaper = createSimpleCharEscaper( in testAsUnicodeEscaper() local95 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()