Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 208 for isfile (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/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 =
          parseCookie(0L, url, "c=d; Max-Age=1")!!
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
      public static void main(String... args) throws Exception {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (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 {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. 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 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  7. 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 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  8. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Test
      public void removeNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        putEdge(N4, N1);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
        assertThat(graphAsMutableGraph.removeNode(N1)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import kotlin.test.assertFailsWith
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top