- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for corruptMetadata (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache { corruptMetadata { // mess with cipher suite it.replace("TLS_", "SLT_") } } assertThat(response.body.string()).isEqualTo("ABC.1") // cached assertThat(cache.requestCount()).isEqualTo(2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0)