Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Kissling (0.19 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
        assumeFalse(
          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
          hpackWriter.writeHeaders(case.headersList)
    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)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
          val result = mutableListOf<Any>()
          for (interopTestName in interopTests) {
            val stories = HpackJsonUtil.readStories(interopTestName)
            result.addAll(stories)
          }
          return result
    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)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt

    class HpackDecodeInteropTest : HpackDecodeTestBase() {
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testGoodDecoderInterop(story: Story) {
        assumeFalse(
          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
        testDecoder(story)
      }
    
      internal class StoriesTestProvider : SimpleProvider() {
    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)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

              result.add(story)
              i++
            }
          } finally {
            storyInputStream.close()
          }
        }
    
        if (result.isEmpty()) {
          // missing files
          result.add(Story.MISSING)
        }
    
        return result
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

        provider: String,
      ) {
        val providerClass = access.findClassByName(provider)
        if (providerClass != null) {
          registerTest(access, providerClass)
        } else {
          println("Missing $provider")
        }
      }
    
      private fun registerJupiterClasses(access: Feature.BeforeAnalysisAccess) {
        registerStandardClass(access, "org.junit.jupiter.params.ParameterizedTestExtension")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

      return flatClassnameList
        .mapNotNull {
          try {
            selectClass(Class.forName(it, false, sampleTestClass.classLoader))
          } catch (cnfe: ClassNotFoundException) {
            println("Missing test class: $cnfe")
            null
          }
        }
    }
    
    /**
     * Builds a Junit Test Plan request for a fixed set of classes, or potentially a recursive package.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        // Missing timezones treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull()
        // Missing seconds treated as bad.
        assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Extra spaces treated as bad.
        assertThat("Thu,  01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull()
        // Missing leading zero treated as bad.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top