Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for is_false (0.13 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.set(99)).isFalse();
        assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
        assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse();
        assertThat(future.setFuture(immediateFuture(99))).isFalse();
      }
    
      private static void assertCannotCancel(AbstractFuture<?> future) {
        assertThat(future.cancel(true)).isFalse();
        assertThat(future.cancel(false)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          Set<Object> keys = cache.asMap().keySet();
          assertThat(keys.remove(null)).isFalse();
          assertThat(keys.remove(6)).isFalse();
          assertThat(keys.remove(-6)).isFalse();
          assertThat(keys.removeAll(asList(null, 0, 15, 1500))).isFalse();
          assertThat(keys.retainAll(asList(null, 0, 15, 1500))).isFalse();
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Object value = warmed.get(i - WARMUP_MIN).getValue();
            assertThat(cache.asMap().remove(key, -1)).isFalse();
            assertThat(cache.asMap().remove(key, value)).isTrue();
            assertThat(cache.asMap().remove(key, -1)).isFalse();
            assertThat(cache.asMap().containsKey(key)).isFalse();
          }
          checkEmpty(cache);
        }
      }
    
    
      public void testKeySet_populated() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.set(99)).isFalse();
        assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
        assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse();
        assertThat(future.setFuture(immediateFuture(99))).isFalse();
      }
    
      private static void assertCannotCancel(AbstractFuture<?> future) {
        assertThat(future.cancel(true)).isFalse();
        assertThat(future.cancel(false)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Future<?> possiblyIgnoredError1 = serializer.submitAsync(thirdCallable, directExecutor());
        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(containsKey(cache, 654)).isFalse();
        assertThat(containsKey(cache, 2456)).isFalse();
        assertThat(containsKey(cache, 2)).isFalse();
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
        assertThat(containsKey(cache, 1)).isFalse();
        assertThat(containsKey(cache, 2)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
        assertThat(map.expires()).isFalse();
        assertThat(map.expiresAfterWrite()).isFalse();
        assertThat(map.expiresAfterAccess()).isFalse();
        assertThat(map.refreshes()).isFalse();
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
        assertThat(map.expires()).isFalse();
        assertThat(map.expiresAfterWrite()).isFalse();
        assertThat(map.expiresAfterAccess()).isFalse();
        assertThat(map.refreshes()).isFalse();
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().isEmpty()).isFalse();
          cache.invalidateAll();
          assertThat(cache.size()).isEqualTo(0);
          assertThat(cache.asMap().isEmpty()).isTrue();
          assertThat(cache.asMap().containsKey(key)).isFalse();
          assertThat(cache.asMap().containsValue(value)).isFalse();
        }
      }
    
      public void testKeySetEntrySetValues() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.containsKey(one)).isTrue();
        assertThat(map.containsValue(one)).isFalse();
        Object three = new Object();
        assertThat(map.replace(one, two, three)).isTrue();
        assertThat(map.remove(one, three)).isTrue();
        assertThat(map.containsKey(one)).isFalse();
        assertThat(map.containsValue(one)).isFalse();
        assertThat(map.putIfAbsent(two, three)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top