Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for params (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

    import org.junit.Assume.assumeFalse
    import org.junit.Assume.assumeTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.MethodSource
    
    class AndroidSocketAdapterTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @BeforeEach
      fun setUp() {
        platform.assumeConscrypt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class SessionReuseTest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp-testing-support/build.gradle.kts

      api(libs.conscrypt.openjdk)
      api(libs.openjsse)
    
      api(variantOf(libs.amazonCorretto) {
        classifier("linux-x86_64")
      })
    
      api(libs.hamcrestLibrary)
      api(libs.junit.jupiter.api)
      api(libs.junit.jupiter.params)
    
      api(libs.junit.pioneer)
    
      compileOnly(libs.findbugs.jsr305)
      compileOnly(libs.robolectric.android)
    
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 750 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /** Test how HTTP/2 interacts with HTTP features.  */
    @Timeout(60)
    @Flaky
    @Tag("Slow")
    class HttpOverHttp2Test {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. okhttp/build.gradle.kts

      testImplementation(libs.squareup.okio.fakefilesystem)
      testImplementation(libs.conscrypt.openjdk)
      testImplementation(libs.junit)
      testImplementation(libs.junit.jupiter.api)
      testImplementation(libs.junit.jupiter.params)
      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.openjsse)
      testImplementation(libs.aqute.resolve)
      testCompileOnly(libs.findbugs.jsr305)
    
      osgiTestDeploy(libs.eclipseOsgi)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookieTest.kt

    import okhttp3.internal.UTC
    import okhttp3.internal.http.MAX_DATE
    import okhttp3.internal.parseCookie
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.assertThrows
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class CookieTest {
      val url = "https://example.com/".toHttpUrl()
    
      @Test fun simpleCookie() {
        val cookie = parse(url, "SID=31d4d96e407aad42")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

      private fun String.isAscii() = length == utf8Size().toInt()
    
      /**
       * Returns true if [hostname] matches the domain name [pattern].
       *
       * @param hostname lower-case host name.
       * @param pattern domain name pattern from certificate. May be a wildcard pattern such as
       *     `*.android.com`.
       */
      private fun verifyHostname(
        hostname: String?,
        pattern: String?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

    /**
     * Android implementation of CertificateChainCleaner using direct Android API calls.
     * Not used if X509TrustManager doesn't implement [X509TrustManager.checkServerTrusted] with
     * an additional host param.
     */
    internal class AndroidCertificateChainCleaner(
      private val trustManager: X509TrustManager,
      private val x509TrustManagerExtensions: X509TrustManagerExtensions,
    ) : CertificateChainCleaner() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

      class Builder {
        val pins = mutableListOf<Pin>()
    
        /**
         * Pins certificates for `pattern`.
         *
         * @param pattern lower-case host name or wildcard pattern such as `*.example.com`.
         * @param pins SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key
         *     Info, base64-encoded and prefixed with either `sha256/` or `sha1/`.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

            else -> javaName
          }
        }
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
         *     name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
         * @param value the integer identifier for this cipher suite. (Documentation only.)
         */
        private fun init(
          javaName: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
Back to top