Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 55 for mockwebserver3 (0.12 seconds)

  1. okhttp/src/jvmMain/java9/module-info.java

      exports okhttp3.internal.concurrent to mockwebserver3, okhttp3.mockwebserver;
      exports okhttp3.internal.connection to mockwebserver3, okhttp3.mockwebserver, okhttp3.logging;
      exports okhttp3.internal.http to okhttp3.logging, okhttp3.brotli, mockwebserver3;
      exports okhttp3.internal.http2 to mockwebserver3, okhttp3.mockwebserver;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 08:30:26 GMT 2025
    - 969 bytes
    - Click Count (0)
  2. mockwebserver-junit5/README.md

    MockWebServer for JUnit 5
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 5.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 665 bytes
    - Click Count (0)
  3. settings.gradle.kts

    }
    
    include(":mockwebserver")
    project(":mockwebserver").name = "mockwebserver3"
    include(":mockwebserver-deprecated")
    project(":mockwebserver-deprecated").name = "mockwebserver"
    include(":mockwebserver-junit4")
    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 11 09:17:37 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. mockwebserver-junit4/README.md

    MockWebServer for JUnit 4
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  5. CHANGELOG.md

    | com.squareup.okhttp3:mockwebserver3:5.0.0        | mockwebserver3        | Core module. No JUnit dependency! |
    | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 | mockwebserver3.junit4 | Optional JUnit 4 integration.     |
    | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 | mockwebserver3.junit5 | Optional JUnit 5 integration.     |
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.sse.EventSources.processResponse
    import okhttp3.testing.PlatformRule
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt

     * limitations under the License.
     */
    package okhttp.android.test
    
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertEquals
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.ConnectionPool
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.tls.internal.TlsUtil.localhost
    import org.junit.jupiter.api.Test
    
    /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. README.md

    - okhttp3
    - okhttp3.brotli
    - okhttp3.coroutines
    - okhttp3.dnsoverhttps
    - okhttp3.java.net.cookiejar
    - okhttp3.logging
    - okhttp3.sse
    - okhttp3.tls
    - okhttp3.urlconnection
    - mockwebserver3
    - mockwebserver3.junit4
    - mockwebserver3.junit5
    
    License
    -------
    
    ```
    Copyright 2019 Square, Inc.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.testing.PlatformRule
    import okhttp3.testing.PlatformVersion
    import okio.ByteString.Companion.toByteString
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  10. mockwebserver-junit4/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyJavaModules("mockwebserver3.junit4")
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
      testImplementation(libs.junit.vintage.engine)
    }
    
    mavenPublishing {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 533 bytes
    - Click Count (0)
Back to Top