Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java61 assertEquals(TEST_STRING, escapeAsString(e, TEST_STRING)); in testNopEscaper()
70 assertEquals(expected, escapeAsString(e, TEST_STRING)); in testSimpleEscaper()
108 assertEquals(expected, escapeAsString(e, test)); in testSurrogatePairs()
114 escapeAsString(NOP_ESCAPER, test); in testTrailingHighSurrogate()
120 escapeAsString(SIMPLE_ESCAPER, test); in testTrailingHighSurrogate()
151 escapeAsString(e, s); in testBadStrings()
188 private String escapeAsString(Escaper e, String s) { in escapeAsString() method in UnicodeEscaperTest