- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPathRead (0.34 sec)
-
okhttp/src/test/java/okhttp3/RequestBodyTest.kt
val closedRequestBody = assertOnFileDescriptor { it.toRequestBody() } assertThrows(IOException::class.java) { closedRequestBody.writeTo(Buffer()) } } @Test fun testPathRead() { assertOnPath(content = "Hello") { path -> val requestBody = path.asRequestBody(FileSystem.SYSTEM) val buffer = Buffer() requestBody.writeTo(buffer)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0)