Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for isFalse (0.17 sec)

  1. okhttp/src/test/java/okhttp3/CacheControlTest.kt

        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1)
        assertThat(cacheControl.minFreshSeconds).isEqualTo(-1)
        assertThat(cacheControl.onlyIfCached).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
      }
    
      @Test
      @Throws(Exception::class)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        assertThat(selection2.hasNext()).isFalse()
    
        // The second selection will contain all failed routes.
        val selection3 = routeSelector.next()
        assertThat(selection3.next()).isEqualTo(regularRoutes[0])
        assertThat(selection3.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
      }
    
      @Test fun failedRouteWithMultipleProxies() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. 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 {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. 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<Integer> future) {
        assertThat(future.cancel(true)).isFalse();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(listEqualsArray).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE).equals(null)).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE))).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE)))
            .isFalse();
        assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(listEqualsArray).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE).equals(null)).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE))).isFalse();
        assertThat(Booleans.asList(ARRAY_FALSE_FALSE).equals(Booleans.asList(ARRAY_FALSE_TRUE)))
            .isFalse();
        assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(filesystem.exists(getCleanFile("g1", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g1", 1))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 1))).isFalse()
        assertThat(filesystem.exists(cacheDir / "otherFile0")).isFalse()
        assertThat(filesystem.exists(cacheDir / "dir1")).isFalse()
      }
    
      private operator fun set(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.webSocket!!.close(1000, "Hello!")
        // This will trigger a close response.
        assertThat(server.processNextFrame()).isFalse()
        server.listener.assertClosing(1000, "Hello!")
        server.webSocket!!.finishReader()
        server.webSocket!!.close(1000, "Goodbye!")
        assertThat(client.processNextFrame()).isFalse()
        client.listener.assertClosing(1000, "Goodbye!")
        client.webSocket!!.finishReader()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  10. 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<Integer> future) {
        assertThat(future.cancel(true)).isFalse();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top