- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertReceivedResponseAtMillis (0.16 sec)
-
okhttp/src/test/java/okhttp3/RecordedResponse.kt
} fun assertSentRequestAtMillis( minimum: Long, maximum: Long, ) = apply { assertDateInRange(minimum, response!!.sentRequestAtMillis, maximum) } fun assertReceivedResponseAtMillis( minimum: Long, maximum: Long, ) = apply { assertDateInRange(minimum, response!!.receivedResponseAtMillis, maximum) } private fun assertDateInRange( minimum: Long,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.add("content-type", "text/plain") .add("content-length", "3") .build(), ) .assertBody("abc") .assertSentRequestAtMillis(sentAt, receivedAt) .assertReceivedResponseAtMillis(sentAt, receivedAt) val recordedRequest = server.takeRequest() assertThat(recordedRequest.method).isEqualTo("GET") assertThat(recordedRequest.headers["User-Agent"]).isEqualTo("SyncApiTest")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)