Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for connectionTypes (0.07 sec)

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

      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest
      @MethodSource("connectionTypes")
      fun testConnection(socketMode: SocketMode) {
        // https://github.com/square/okhttp/pull/6554
        assumeFalse(
          socketMode is TlsInstance &&
            socketMode.socketMode == Channel &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import okhttp3.internal.http.CancelTest.CancelMode.CANCEL
    import okhttp3.internal.http.CancelTest.CancelMode.INTERRUPT
    import okhttp3.internal.http.CancelTest.ConnectionType.H2
    import okhttp3.internal.http.CancelTest.ConnectionType.HTTP
    import okhttp3.internal.http.CancelTest.ConnectionType.HTTPS
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertEquals
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top