- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertData (0.08 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
serverWriter.writeMessageFrame(OPCODE_TEXT, payload) assertData("8105") assertData(payload) } @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() { val length = 12345 val payload: ByteString = (binaryData(length)) serverWriter.writeMessageFrame(OPCODE_TEXT, payload) assertData("817e") assertData(format("%04x", length)) assertData(payload) } @Test fun clientTextMessage() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeByte(paddingLength) frame.write(expectedData) frame.write(padding) reader.nextFrame(requireSettings = false, assertData()) // Padding was skipped. assertThat(frame.exhausted()).isTrue() } @Test fun readPaddedDataFrameZeroPadding() { val dataLength = 1123 val expectedData = ByteArray(dataLength)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0)