Home
last modified time | relevance | path

Searched refs:alwaysFalse (Results 1 – 15 of 15) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
95 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality()
104 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply()
109 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality()
141 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testNot_equalityForNotOfKnownValues()
256 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
267 list.add(Predicates.alwaysFalse()); in testAnd_listDefensivelyCopied()
281 list.add(Predicates.alwaysFalse()); in testAnd_iterableDefensivelyCopied()
393 Predicate[] array = {Predicates.alwaysFalse()}; in testOr_arrayDefensivelyCopied()
DFunctionsTest.java239 Function<Object, Boolean> alwaysFalse = in testForPredicate() local
240 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate()
243 assertFalse(alwaysFalse.apply(0)); in testForPredicate()
248 .addEqualityGroup(alwaysFalse) in testForPredicate()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
100 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality()
114 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply()
119 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality()
127 checkSerialization(Predicates.alwaysFalse()); in testAlwaysFalse_serialization()
156 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testNot_equalityForNotOfKnownValues()
305 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
316 list.add(Predicates.alwaysFalse()); in testAnd_listDefensivelyCopied()
330 list.add(Predicates.alwaysFalse()); in testAnd_iterableDefensivelyCopied()
473 Predicate[] array = {Predicates.alwaysFalse()}; in testOr_arrayDefensivelyCopied()
[all …]
DFunctionsTest.java337 Function<Object, Boolean> alwaysFalse = in testForPredicate() local
338 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate()
341 assertFalse(alwaysFalse.apply(0)); in testForPredicate()
346 .addEqualityGroup(alwaysFalse) in testForPredicate()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java73 LineProcessor<Integer> alwaysFalse = new LineProcessor<Integer>() { in testReadLines_withLineProcessor() local
86 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/dalvik/
DDalvikPlatform.java114 return Predicates.alwaysFalse(); in vmPropertiesToRetain()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIteratorsTest.java241 Predicates.alwaysFalse()); in testFilterNoMatch()
312 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent()
345 Iterators.find(iterator, Predicates.alwaysFalse(), "woot")); in testFind_withDefault_notPresent()
353 Iterators.find(iterator, Predicates.alwaysFalse(), null)); in testFind_withDefault_notPresent_nullReturn()
390 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot")); in testTryFind_alwaysFalse_orDefault()
398 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
DIterablesTest.java213 Iterables.find(list, Predicates.alwaysFalse());
228 Predicates.alwaysFalse(), "woot"));
229 assertNull(Iterables.find(list, Predicates.alwaysFalse(), null));
244 Iterables.tryFind(list, Predicates.alwaysFalse()));
DMapsTest.java1191 Predicate<Object> predicate = Predicates.alwaysFalse(); in testFilteredEntriesObjectPredicate()
/external/guava/guava-tests/test/com/google/common/collect/
DIteratorsTest.java288 Predicates.alwaysFalse()); in testFilterNoMatch()
376 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent()
409 Iterators.find(iterator, Predicates.alwaysFalse(), "woot")); in testFind_withDefault_notPresent()
417 Iterators.find(iterator, Predicates.alwaysFalse(), null)); in testFind_withDefault_notPresent_nullReturn()
454 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot")); in testTryFind_alwaysFalse_orDefault()
462 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
DIterablesTest.java241 Iterables.find(list, Predicates.alwaysFalse());
256 Predicates.alwaysFalse(), "woot"));
257 assertNull(Iterables.find(list, Predicates.alwaysFalse(), null));
272 Iterables.tryFind(list, Predicates.alwaysFalse()));
DFluentIterableTest.java255 assertEquals(Optional.absent(), iterable.firstMatch(Predicates.alwaysFalse())); in testFirstMatch()
DMapsTest.java1499 Predicate<Object> predicate = Predicates.alwaysFalse(); in testFilteredEntriesObjectPredicate()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPredicates.java63 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates
/external/guava/guava/src/com/google/common/base/
DPredicates.java66 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates