Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for testLoad (0.29 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

              };
          LocalCache<String, String> cache = makeLocalCache(builder, loader);
    
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
    
          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      private void checkLoggedInvalidLoad() {
        assertThat(popLoggedThrowable()).isInstanceOf(InvalidCacheLoadException.class);
      }
    
      public void testLoad() throws ExecutionException {
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder().recordStats().build(identityLoader());
        CacheStats stats = cache.stats();
        assertEquals(0, stats.missCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_constructor_withIdZero() {
            // Test constructor with id = 0 (create mode)
            ProtwordsItem item = new ProtwordsItem(0, "testword");
    
            assertEquals(0, item.getId());
            assertEquals("testword", item.getInput());
            assertEquals("testword", item.getNewInput());
        }
    
        public void test_constructor_withNonZeroId() {
            // Test constructor with id != 0 (existing item)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/LogTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/RelatedQueryTests.java

            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("queries", "new_query");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top