Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEmptySimpleStats (0.25 sec)

  1. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

              }
            };
    
        List<Integer> toInvalidate = ImmutableList.of(1, 2, 3, 4);
        cache.invalidateAll(toInvalidate);
        assertEquals(toInvalidate, invalidated);
      }
    
      public void testEmptySimpleStats() {
        StatsCounter counter = new SimpleStatsCounter();
        CacheStats stats = counter.snapshot();
        assertEquals(0, stats.requestCount());
        assertEquals(0, stats.hitCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top