- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pig (0.01 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} } @Test fun setStatusControlsWholeStatusLine() { val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig") assertThat(headersToList(response)).containsExactly("Content-Length: 0") assertThat(response.status).isEqualTo("HTTP/1.1 202 That'll do pig") } @Test fun setBodyAdjustsHeaders() { val response = MockResponse().setBody("ABC")
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
} } @Test fun setStatusControlsWholeStatusLine() { val builder = MockResponse.Builder().status("HTTP/1.1 202 That'll do pig") assertThat(headersToList(builder)).containsExactly("Content-Length: 0") assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig") } @Test fun setBodyAdjustsHeaders() { val builder = MockResponse.Builder().body("ABC")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)