Lines Matching defs:trimFrom
152 assertEquals("", matcher.trimFrom(""));
242 assertEquals(s.toString(), matcher.trimFrom(s));
261 assertEquals("", matcher.trimFrom(s));
327 assertEquals("", matcher.trimFrom(s));
348 assertEquals(s, matcher.trimFrom(s));
364 assertEquals(s.substring(1), matcher.trimFrom(s));
380 assertEquals(s.substring(0, 1), matcher.trimFrom(s));
468 assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
473 assertEquals(out, is('-').trimFrom(in));
474 assertEquals(out, is('-').or(is('#')).trimFrom(in));
475 assertEquals(out, isNot('x').trimFrom(in));
476 assertEquals(out, is('x').negate().trimFrom(in));
477 assertEquals(out, anyOf("-").trimFrom(in));
478 assertEquals(out, anyOf("-#").trimFrom(in));
479 assertEquals(out, anyOf("-#123").trimFrom(in));