- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertCanIterateAgain (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("pants", find(list, equalTo("pants"))); assertThrows(NoSuchElementException.class, () -> find(list, Predicates.alwaysFalse())); assertEquals("cool", find(list, Predicates.alwaysTrue())); assertCanIterateAgain(list); } public void testFind_withDefault() { Iterable<String> list = Lists.newArrayList("cool", "pants"); assertEquals("cool", find(list, equalTo("cool"), "woot"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
List<String> expected = singletonList("foo"); List<String> actual = Lists.newArrayList(filtered); assertEquals(expected, actual); assertCanIterateAgain(filtered); assertEquals("[foo]", filtered.toString()); } private static class TypeA {} private interface TypeB {} private static class HasBoth extends TypeA implements TypeB {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0)