Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for readAndWriteEntryWithoutProperClose (0.19 seconds)

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

        cache.close()
        createNewCache()
        val snapshot = cache["k1"]!!
        snapshot.assertValue(0, "A")
        snapshot.assertValue(1, "B")
        snapshot.close()
      }
    
      @Test
      fun readAndWriteEntryWithoutProperClose() {
        val creator = cache.edit("k1")!!
        creator.setString(0, "A")
        creator.setString(1, "B")
        creator.commit()
    
        // Simulate a dirty close of 'cache' by opening the cache directory again.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
Back to Top