- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for setFaultyWrite (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
set("a", "a", "a") set("b", "b", "b") // We can't begin the edit if writing 'DIRTY' fails. filesystem.setFaultyWrite(journalFile, true) assertThat(cache.edit("c")).isNull() // Once the journal has a failure, subsequent writes aren't permitted. filesystem.setFaultyWrite(journalFile, false) assertThat(cache.edit("d")).isNull()
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)