Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MockServerClient (0.13 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        }
      }
    
      private fun testRequest(function: (MockServerClient) -> Unit) {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          val request =
            request().withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

      @Container
      val socks5Proxy =
        GenericContainer(SOCKS5_PROXY)
          .withNetwork(network)
          .withExposedPorts(1080)
    
      @Test
      fun testLocal() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

      val client =
        OkHttpClient.Builder()
          .trustMockServer()
          .build()
    
      @Test
      fun testRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

        return Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
      }
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. gradle/libs.versions.toml

    [versions]
    biz-aQute-bnd = "6.4.0"
    checkStyle = "10.19.0"
    com-squareup-moshi = "1.15.1"
    com-squareup-okio = "3.9.1"
    de-mannodermaus-junit5 = "1.5.0"
    graalvm = "22.3.2"
    kotlinx-serialization = "1.6.3"
    ksp = "1.9.24-1.0.20"
    mockserverClient = "5.15.0"
    org-bouncycastle = "1.76"
    org-conscrypt = "2.5.2"
    org-jetbrains-coroutines = "1.8.1"
    org-jetbrains-kotlin = "1.9.25"
    org-junit-jupiter = "5.11.0"
    retrofit = "2.11.0"
    testcontainers = "1.20.1"
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Oct 28 11:53:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top