- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HpackDecodeTestBase (0.21 sec)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt
import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource class HpackDecodeInteropTest : HpackDecodeTestBase() { @ParameterizedTest @ArgumentsSource(StoriesTestProvider::class) fun testGoodDecoderInterop(story: Story) { assumeFalse( story === Story.MISSING,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
* This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(RAW_DATA) } private val bytesOut = Buffer()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0)