Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for checkEmpty (0.05 sec)

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

            assertTrue(keys.contains(key));
            assertTrue(keys.remove(key));
            assertFalse(keys.remove(key));
            assertFalse(keys.contains(key));
          }
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testValues_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.CacheTesting.checkEmpty;
    import static com.google.common.cache.TestingCacheLoaders.constantLoader;
    import static com.google.common.cache.TestingCacheLoaders.exceptionLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/NullCacheTest.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.CacheTesting.checkEmpty;
    import static com.google.common.cache.TestingCacheLoaders.constantLoader;
    import static com.google.common.cache.TestingCacheLoaders.exceptionLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertTrue(keys.contains(key));
            assertTrue(keys.remove(key));
            assertFalse(keys.remove(key));
            assertFalse(keys.contains(key));
          }
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testValues_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/QueuesTest.java

        }
      }
    
      public void testEmpty() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          checkEmpty(q);
        }
      }
    
      private void checkEmpty(BlockingQueue<Object> q) {
        assertDrained(q);
      }
    
      public void testNegativeMaxElements() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertEquals(0, nullCache.size());
        Object key = new Object();
        assertSame(key, nullCache.getUnchecked(key));
        assertEquals(1, listener.getCount());
        assertEquals(0, nullCache.size());
        CacheTesting.checkEmpty(nullCache.asMap());
      }
    
      @GwtIncompatible // QueuingRemovalListener
      public void testRemovalNotification_clear() throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertEquals(0, nullCache.size());
        Object key = new Object();
        assertSame(key, nullCache.getUnchecked(key));
        assertEquals(1, listener.getCount());
        assertEquals(0, nullCache.size());
        CacheTesting.checkEmpty(nullCache.asMap());
      }
    
      @GwtIncompatible // QueuingRemovalListener
      public void testRemovalNotification_clear() throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top