- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testAddEscapes (0.08 sec)
-
android/guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java
* limitations under the License. */ package com.google.common.escape; import junit.framework.TestCase; public class CharEscaperBuilderTest extends TestCase { public void testAddEscapes() { char[] cs = {'a', 'b', 'c'}; CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z"); Escaper escaper = builder.toEscaper(); assertEquals("ZZZdef", escaper.escape("abcdef")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 15 20:25:06 UTC 2018 - 975 bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java
* limitations under the License. */ package com.google.common.escape; import junit.framework.TestCase; public class CharEscaperBuilderTest extends TestCase { public void testAddEscapes() { char[] cs = {'a', 'b', 'c'}; CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z"); Escaper escaper = builder.toEscaper(); assertEquals("ZZZdef", escaper.escape("abcdef")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 975 bytes - Viewed (0)