Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emulateUnix (0.25 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          override fun create() = FileSystem.SYSTEM
    
          override val windows: Boolean
            get() = TestUtil.windows
        },
    
        FakeUnix {
          override fun create() = FakeFileSystem().apply { emulateUnix() }
    
          override val windows: Boolean
            get() = false
        },
    
        FakeWindows {
          override fun create() = FakeFileSystem().apply { emulateWindows() }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      private lateinit var cache: Cache
      private val cookieManager = CookieManager()
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        fileSystem.emulateUnix()
        cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)
        client =
          clientTestRule
            .newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
Back to top