Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for clearCaches (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            assertNotNull(result);
            assertTrue(result.contains("test@seed#with$special%chars"));
        }
    
        @Test
        public void test_clearCache() {
            // Test that clearCache doesn't throw exception
            popularWordHelper.clearCache();
    
            // Verify cache is cleared (we can't directly test this without accessing the cache)
            // But we can test that it doesn't throw exceptions
            assertTrue(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
                        loader.clearCache();
                    }
                }
    
                @Override
                protected String getName() {
                    return Constants.DEFAULT_SCRIPT;
                }
            }.register();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            public boolean calibrateCpuLoad() {
                return true;
            }
        }
    
        private static class MockPopularWordHelper extends PopularWordHelper {
            @Override
            public void clearCache() {
                // Mock implementation
            }
        }
    
        private static class MockSuggester {
            private MockSuggestIndexer indexer = new MockSuggestIndexer();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        // Mock PopularWordHelper implementation
        private class MockPopularWordHelper extends PopularWordHelper {
            private boolean cacheCleared = false;
    
            @Override
            public void clearCache() {
                cacheCleared = true;
            }
    
            public boolean isCacheCleared() {
                return cacheCleared;
            }
        }
    
        // Mock JobExecutor implementation
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
Back to Top