Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkNoOpenFiles (0.08 sec)

  1. okhttp/src/test/java/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,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        createNewCache()
      }
    
      @AfterEach fun tearDown() {
        while (!toClose.isEmpty()) {
          toClose.pop().close()
        }
        taskFaker.close()
    
        (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun emptyCache(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        cache.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

      ) {
        this.server = server
        this.server2 = server2
    
        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 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