- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testCache (0.05 seconds)
-
android-test/src/androidDeviceTest/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 = RequestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 29.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false)); } @Test public void test_cache() { final Map<String, String> params = Maps.of("foo", "cache"); FieldConfigs fieldConfigs = new FieldConfigs(params); assertTrue(fieldConfigs.getConfig("test").isEmpty());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.4K bytes - Click Count (0)