Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 27 of 27 for containsExactlyElementsIn (0.15 seconds)

  1. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(collection.size()).isEqualTo(varargs.length);
        for (Object obj : varargs) {
          assertThat(collection.contains(obj)).isTrue();
        }
        assertThat(ImmutableList.copyOf(collection.iterator())).containsExactlyElementsIn(varargs);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(collection.size()).isEqualTo(varargs.length);
        for (Object obj : varargs) {
          assertThat(collection.contains(obj)).isTrue();
        }
        assertThat(ImmutableList.copyOf(collection.iterator())).containsExactlyElementsIn(varargs);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. 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);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  5. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  6. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  7. android/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> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (0)
Back to Top