Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for lett (0.13 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response2 = responses.take()
        assertThat(response2).isEqualTo("DEF")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Let the first request proceed. It should discard the the held HTTP/2 connection and get a new
        // one.
        latch.countDown()
        val response3 = responses.take()
        assertThat(response3).isEqualTo("ABC")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(rstStream.streamId).isEqualTo(2)
        assertThat(rstStream.errorCode).isEqualTo(ErrorCode.CANCEL)
      }
    
      /**
       * When writing a set of headers fails due to an `IOException`, make sure the writer is left
       * in a consistent state so the next writer also gets an `IOException` also instead of
       * something worse (like an [IllegalStateException].
       *
       *
       * See https://github.com/square/okhttp/issues/1651
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top