Lines Matching refs:negate

61     assertSame(CharMatcher.ANY, CharMatcher.NONE.negate());
62 assertSame(CharMatcher.NONE, CharMatcher.ANY.negate());
128 reallyTestEmpty(matcher.negate());
173 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a");
182 reallyTestAllMatches(matcher.negate(), s);
184 reallyTestAllMatches(matcher.negate().precomputed(), s);
185 reallyTestAllMatches(matcher.precomputed().negate(), s);
209 reallyTestNoMatches(matcher.negate(), s);
211 reallyTestNoMatches(matcher.negate().precomputed(), s);
212 reallyTestNoMatches(matcher.precomputed().negate(), s);
284 reallyTestOneCharNoMatch(matcher.negate(), s);
286 reallyTestOneCharNoMatch(matcher.negate().precomputed(), s);
287 reallyTestOneCharNoMatch(matcher.precomputed().negate(), s);
292 reallyTestOneCharMatch(matcher.negate(), s);
294 reallyTestOneCharMatch(matcher.negate().precomputed(), s);
295 reallyTestOneCharMatch(matcher.precomputed().negate(), s);
300 reallyTestNoMatchThenMatch(matcher.negate(), s);
302 reallyTestNoMatchThenMatch(matcher.negate().precomputed(), s);
303 reallyTestNoMatchThenMatch(matcher.precomputed().negate(), s);
308 reallyTestMatchThenNoMatch(matcher.negate(), s);
310 reallyTestMatchThenNoMatch(matcher.negate().precomputed(), s);
311 reallyTestMatchThenNoMatch(matcher.precomputed().negate(), s);
417 assertEquals(out, is('x').negate().collapseFrom(in, '_'));
433 assertEquals(inout, is('x').negate().collapseFrom(inout, '_'));
476 assertEquals(out, is('x').negate().trimFrom(in));
511 assertEquals(out, is('x').negate().trimLeadingFrom(in));
545 assertEquals(out, is('x').negate().trimTrailingFrom(in));
577 assertEquals(out, is('x').negate().trimAndCollapseFrom(in, '_'));