Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 446 for assertFalse (0.1 sec)

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

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import common.VersionedSettingsBranch
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jan 31 07:59:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      /** Tests that the {@link Future#get()} method blocks until a value is available. */
      public void testGetBlocksUntilValueAvailable() throws Throwable {
    
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
        ExecutorService executor = Executors.newSingleThreadExecutor();
    
        try {
          Future<Boolean> getResult = executor.submit(() -> future.get());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsKey(null) should return false", getMap().containsKey(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        Set<E> other = MinimalSet.from(elements);
    
        assertFalse(
            "Two Sets should not be equal if exactly one of them contains null.",
            getSet().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_smallerSet() {
        Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
        assertFalse(
            "Sets of different sizes should not be equal.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

        Set<E> other = MinimalSet.from(elements);
    
        assertFalse(
            "Two Sets should not be equal if exactly one of them contains null.",
            getSet().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_smallerSet() {
        Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
        assertFalse(
            "Sets of different sizes should not be equal.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            values = "https://www.foo.com/";
            assertFalse(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "https://www.foo.com/\nhttps://www.bar.com/";
            assertFalse(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "https://www.foo.com/\n \nhttps://www.bar.com/";
            assertFalse(UriTypeValidator.check(protocols, values));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major() + 1))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/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));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 1)));
        assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAbsent() {
        assertFalse(
            "multiset.entrySet.remove(missingEntry) returned true",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top