Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for recoverFromInitializationFailure (0.09 sec)

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

        (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles()
      }
    
      @Test
      fun emptyCache() {
        cache.close()
        assertJournalEquals()
      }
    
      @Test
      fun recoverFromInitializationFailure() {
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
Back to top