Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for IsFalse (0.05 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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

          )
        assertThat(verifier.verify("foo.com", session)).isFalse()
        assertThat(verifier.verify("a.foo.com", session)).isFalse()
        assertThat(verifier.verify("bar.com", session)).isFalse()
        assertThat(verifier.verify("a.bar.com", session)).isFalse()
        assertThat(verifier.verify("\u82b1\u5b50.co.jp", session)).isFalse()
        assertThat(verifier.verify("a.\u82b1\u5b50.co.jp", session)).isFalse()
      }
    
      @Test fun verifyWilcardCn() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie.domain).isEqualTo("example.com")
        assertThat(cookie.path).isEqualTo("/")
        assertThat(cookie.secure).isFalse()
        assertThat(cookie.httpOnly).isFalse()
        assertThat(cookie.persistent).isFalse()
        assertThat(cookie.hostOnly).isFalse()
        assertThat(cookie.sameSite).isNull()
      }
    
      @Test fun newBuilder() {
        val cookie =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. 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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_UNIVERSAL)
          assertThat(header.tag).isEqualTo(30)
          assertThat(header.constructed).isFalse()
          assertThat(header.length).isEqualTo(201)
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `decode length encoded with leading zero byte`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
      @Test fun nonRetryableSSLHandshakeException() {
        val exception =
          SSLHandshakeException("Certificate handshake exception").apply {
            initCause(CertificateException())
          }
        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
      @Test fun retryableSSLHandshakeException() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top