- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCache (0.49 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
val ctxt = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext val cacheSize = 1L * 1024 * 1024 // 1MB val cache = Cache(ctxt.cacheDir.resolve("testCache"), cacheSize) try { client = client.newBuilder() .cache(cache) .build() val request = Request.Builder() .url(server.url("/"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1)