Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for testing (0.15 sec)

  1. okhttp/src/test/java/okhttp3/ConscryptTest.kt

    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.testing.PlatformRule
    import org.conscrypt.Conscrypt
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. settings.gradle.kts

    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    include(":okhttp-idna-mapping-table")
    include(":okhttp-java-net-cookiejar")
    include(":okhttp-logging-interceptor")
    include(":okhttp-sse")
    include(":okhttp-testing-support")
    include(":okhttp-tls")
    include(":okhttp-urlconnection")
    include(":samples:compare")
    include(":samples:crawler")
    include(":samples:guide")
    include(":samples:simple-client")
    include(":samples:slack")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    class OkHttpClientTest {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import okhttp3.DelegatingSSLSocket
    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Protocol.HTTP_2
    import okhttp3.testing.PlatformRule
    import org.conscrypt.Conscrypt
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertNotNull
    import org.junit.Assert.assertNull
    import org.junit.Assert.assertTrue
    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)
  5. README.md

           implementation("com.squareup.okhttp3:okhttp")
           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    MockWebServer
    -------------
    
    OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
    
    The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.12.0/jar).
    
    ```kotlin
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.mockwebserver.MockResponse
    import okhttp3.mockwebserver.MockWebServer
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         *
         * The server’s TLS certificate **does not need to be signed** by a trusted certificate
         * authority. Instead, it will trust any well-formed certificate, even if it is self-signed.
         * This is necessary for testing against localhost or in development environments where a
         * certificate authority is not possible.
         *
         * The server’s TLS certificate still must match the requested hostname. For example, if the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

            "com.squareup.okhttp3.logging",
            "com.squareup.okhttp3.sse",
            "com.squareup.okhttp3.tls",
            "com.squareup.okhttp3.urlconnection",
          )
    
        /** Equinox must also be on the testing classpath.  */
        private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi"
        private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8"
        private const val REPO_NAME = "OsgiTest"
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSources.createFactory
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. okcurl/build.gradle.kts

      from("src/main/resources-templates")
      into("$buildDir/generated/resources-templates")
      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(libs.kotlin.stdlib)
      api(projects.okhttp)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
Back to top