Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MockWebServerInstance (0.12 sec)

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

      private lateinit var client: OkHttpClient
      private lateinit var cache: Cache
      private val cookieManager = CookieManager()
    
      @BeforeEach
      fun setUp(
        @MockWebServerInstance(name = "1") server: MockWebServer,
        @MockWebServerInstance(name = "2") server2: MockWebServer,
      ) {
        this.server = server
        this.server2 = server2
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import mockwebserver3.SocketPolicy.FailHandshake
    import mockwebserver3.SocketPolicy.ShutdownInputAtEnd
    import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd
    import mockwebserver3.junit5.internal.MockWebServerInstance
    import okhttp3.Credentials.basic
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.MediaType.Companion.toMediaType
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

    import mockwebserver3.SocketPolicy.HalfCloseAfterRequest
    import mockwebserver3.SocketPolicy.NoResponse
    import mockwebserver3.SocketPolicy.StallSocketAtStart
    import mockwebserver3.junit5.internal.MockWebServerInstance
    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.CallEvent.ConnectionAcquired
    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.ResponseFailed
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top