Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for TestValues (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(loader.getCount()).isEqualTo(1);
    
        Object two = map.get(key, loader);
        assertThat(two).isNotSameInstanceAs(one);
        assertThat(loader.getCount()).isEqualTo(2);
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(loader.getCount()).isEqualTo(1);
    
        Object two = map.get(key, loader);
        assertThat(two).isNotSameInstanceAs(one);
        assertThat(loader.getCount()).isEqualTo(2);
      }
    
      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
Back to Top