Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkNoOpenFiles (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              .build()
          scheme = "http"
        }
      }
    
      @AfterEach fun tearDown() {
    //    TODO reenable after https://github.com/square/okhttp/issues/8206
    //    fileSystem.checkNoOpenFiles()
        cache.close()
    
        java.net.Authenticator.setDefault(null)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun get(protocol: Protocol) {
        setUp(protocol)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
      fun tearDown() {
        cache.close()
        fileSystem.checkNoOpenFiles()
      }
    
      @Test
      fun get() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("abc")
            .clearHeaders()
            .addHeader("content-type: text/plain")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top