Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 381 for assertFalse (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertEquals(control("bar", 2), entry("bar", 2));
        assertFalse(control("foo", 1).equals(entry("foo", 2)));
        assertFalse(entry("foo", 1).equals(control("bar", 1)));
        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(TypeToken.of(wildcardType).isSupertypeOf(wildcardType));
        assertFalse(TypeToken.of(int[].class).isSupertypeOf(wildcardType));
      }
    
      public void testAssignableWildcardTypeParameterToClassTypeParameter() {
        TypeToken<?> wildcardType = new TypeToken<Iterable<? extends Object[]>>() {};
        assertFalse(new TypeToken<Iterable<Object[]>>() {}.isSupertypeOf(wildcardType));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<Object> predicate = Predicates.or(array);
        assertFalse(predicate.apply(1));
        array[0] = Predicates.alwaysTrue();
        assertFalse(predicate.apply(1));
      }
    
      public void testOr_listDefensivelyCopied() {
        List<Predicate<Object>> list = new ArrayList<>();
        Predicate<Object> predicate = Predicates.or(list);
        assertFalse(predicate.apply(1));
        list.add(Predicates.alwaysTrue());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals("test", md.getDependencyCollectionRequired());
            assertFalse(md.isAggregator(), "Expected " + md + ".isAggregator() to return false");
            assertFalse(md.isDirectInvocationOnly(), "Expected " + md + ".isDirectInvocationOnly() to return false");
            assertTrue(md.isInheritedByDefault(), "Expected " + md + ".isInheritedByDefault() to return true");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        try {
          assertFalse(entrySet.contains(nullKeyEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys);
        }
        Entry<@Nullable K, @Nullable V> nullKeyValueEntry = mapEntry(null, null);
        try {
          assertFalse(entrySet.contains(nullKeyValueEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys && allowsNullValues);
        }
      }
    
    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)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      }
    
      public void testFutureCancelAfterCompletion() throws Exception {
        inputFuture.set(VALID_INPUT_DATA);
        assertFalse(resultFuture.cancel(true));
        assertFalse(resultFuture.isCancelled());
        assertFalse(inputFuture.isCancelled());
        assertFalse(outputFuture.isCancelled());
        assertEquals(RESULT_DATA, resultFuture.get());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      }
    
      public void testFutureCancelAfterCompletion() throws Exception {
        inputFuture.set(VALID_INPUT_DATA);
        assertFalse(resultFuture.cancel(true));
        assertFalse(resultFuture.isCancelled());
        assertFalse(inputFuture.isCancelled());
        assertFalse(outputFuture.isCancelled());
        assertEquals(RESULT_DATA, resultFuture.get());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

            exec);
    
        assertEquals(1, latch.getCount());
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      public void tearDown() {
        exec.shutdown();
      }
    
      public void testCompletedFuture(@Nullable Object expectedValue)
          throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsValue(null) should return false", getMap().containsValue(null));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.3K bytes
    - Click Count (0)
Back to Top