- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for containsExactlyElementsIn (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
while (!q.isEmpty()) { assertThat(q).containsExactlyElementsIn(contents); Integer next = q.pollFirst(); contents.remove(next); assertThat(q).containsExactlyElementsIn(contents); for (int i = 0; i <= size; i++) { q.add(i); contents.add(i); assertThat(q).containsExactlyElementsIn(contents); q.add(next); contents.add(next);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
} List<String> actualKeys = new ArrayList<>(); multimap.keys().spliterator().forEachRemaining(actualKeys::add); assertThat(actualKeys) .containsExactlyElementsIn(transform(expectedEntries, Entry::getKey)) .inOrder(); } public void testEntriesSpliterator() { List<Entry<String, Integer>> expectedEntries = asList(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); sort(strings); for (int i = 0; i < strings.length; i++) { assertThat(set.headSet(strings[i], true)) .containsExactlyElementsIn(sortedNumberNames(0, i + 1)) .inOrder(); } } public void testHeadSetExclusive() { String[] strings = NUMBER_NAMES.toArray(new String[0]);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
addNode(N1); ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes()); assertThat(graphAsMutableGraph.addNode(N1)).isFalse(); assertThat(graph.nodes()).containsExactlyElementsIn(nodes); } @Test public void removeNode_existingNode() { assume().that(graphIsMutable()).isTrue(); putEdge(N1, N2); putEdge(N4, N1);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(location.scanResources()).containsExactlyElementsIn(resources); } } public void testLocationsFrom_idempotentLocations() { ImmutableSet<ClassPath.LocationInfo> locations = ClassPath.locationsFrom(getClass().getClassLoader()); assertThat(ClassPath.locationsFrom(getClass().getClassLoader())) .containsExactlyElementsIn(locations); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(location.scanResources()).containsExactlyElementsIn(resources); } } public void testLocationsFrom_idempotentLocations() { ImmutableSet<ClassPath.LocationInfo> locations = ClassPath.locationsFrom(getClass().getClassLoader()); assertThat(ClassPath.locationsFrom(getClass().getClassLoader())) .containsExactlyElementsIn(locations); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
ImmutableSortedSet<Integer> asSet = RANGE_SET_ONE.asSet(DiscreteDomain.integers()); assertEquals(expectedSet, asSet); assertThat(asSet).containsExactlyElementsIn(expectedSet).inOrder(); assertTrue(asSet.containsAll(expectedSet)); SerializableTester.reserializeAndAssert(asSet); } public void testAsSetHeadSet() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()}; Map<Object, Object> result = cache.getAll(asList(lookupKeys)); assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys)); for (Entry<Object, Object> entry : result.entrySet()) { Object key = entry.getKey(); Object value = entry.getValue(); assertThat(result.get(key)).isSameInstanceAs(value);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
return ImmutableGraph.copyOf(graph); } private static void assertEqualCharNodes(Iterable<Character> result, String expectedCharacters) { assertThat(result) .containsExactlyElementsIn(Chars.asList(expectedCharacters.toCharArray())) .inOrder(); } private static class RequestSavingGraph implements SuccessorsFunction<Character> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 47.4K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()}; Map<Object, Object> result = cache.getAll(asList(lookupKeys)); assertThat(result.keySet()).containsExactlyElementsIn(asList(lookupKeys)); for (Entry<Object, Object> entry : result.entrySet()) { Object key = entry.getKey(); Object value = entry.getValue(); assertThat(result.get(key)).isSameInstanceAs(value);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0)