Home
last modified time | relevance | path

Searched refs:alwaysFalse (Results 1 – 24 of 24) 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.java83 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
/external/robolectric/v1/lib/main/
Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/dagger2/lib/
Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...