Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/escape/
DArrayBasedCharEscaperTest.java43 CharEscaper wrappingEscaper = in testSafeRange() local
49 EscaperAsserts.assertBasic(wrappingEscaper); in testSafeRange()
51 assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]")); in testSafeRange()
56 CharEscaper wrappingEscaper = in testSafeRange_maxLessThanMin() local
62 EscaperAsserts.assertBasic(wrappingEscaper); in testSafeRange_maxLessThanMin()
64 assertEquals("{[}{F}{O}{O}{]}", wrappingEscaper.escape("[FOO]")); in testSafeRange_maxLessThanMin()
DArrayBasedUnicodeEscaperTest.java71 UnicodeEscaper wrappingEscaper = in testSafeRange() local
77 EscaperAsserts.assertBasic(wrappingEscaper); in testSafeRange()
79 assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]")); in testSafeRange()