Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for f248cdc9c957c8cc4bcb492cc9cccf530400 (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

    import org.junit.jupiter.api.Test
    
    internal class MessageDeflaterInflaterTest {
      @Test fun `inflate golden value`() {
        val inflater = MessageInflater(false)
        val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8())
      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top