- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for disconnectResponseHalfway (0.11 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} } catch (e: IOException) { break } i++ } // Halfway +/- 0.5% assertThat(i.toFloat()).isCloseTo(512f, 5f) } @Test fun disconnectResponseHalfway() { server.enqueue( MockResponse() .setBody("ab") .setSocketPolicy(SocketPolicy.DISCONNECT_DURING_RESPONSE_BODY), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} } catch (e: IOException) { break } i++ } // Halfway +/- 0.5% assertThat(i.toFloat()).isCloseTo(512f, 5f) } @Test fun disconnectResponseHalfway() { server.enqueue( MockResponse.Builder() .body("ab") .socketPolicy(DisconnectDuringResponseBody) .build(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)