- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testTruncate (0.06 sec)
-
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertTrue(str, c == Ascii.toUpperCase(c)); assertFalse(str, Ascii.isLowerCase(c)); assertTrue(str, Ascii.isUpperCase(c)); } } public void testTruncate() { assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); assertEquals("foobar", Ascii.truncate("foobar", 6, "..."));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.4K bytes - Viewed (0)