Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InvalidCacheLoadException (0.07 sec)

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

        assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object()));
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(1);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object()));
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(1);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(1);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
Back to top