- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for timing (0.03 seconds)
-
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
} }, CrawlingInfoService.class.getCanonicalName()); crawlingInfoHelper.updateParams(sessionId, "Test Crawl", 5); // Verify documentExpires is set (don't check exact timing due to test environment timing issues) assertTrue("documentExpires should be set", crawlingInfoHelper.documentExpires > 0); } @Test public void test_updateParams_defaultName() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
thread.join(); } // Due to synchronized method, only one thread should reload // The count might be 2 (one initial + one reload) or slightly higher due to timing assertTrue(loadCount[0] <= 3, "Load count should be small due to synchronization"); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
// Test the specific field naming configuration JsonMappingOption option = provider.provideMappingOption(); // The option should be configured with CAMEL_TO_LOWER_SNAKE // Field naming is now provided as OptionalThing OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming(); assertTrue("Field naming should be present", fieldNamingOpt.isPresent());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
// Create custom naming convention NamingConvention customNamingConvention = new MockNamingConvention() { @Override public String fromClassNameToComponentName(String className) { return super.fromClassNameToComponentName(className); } }; // Create PagerCreator with custom naming conventionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
session.addAssistantMessage("Assistant 2"); session.addUserMessage("User 3"); session.addAssistantMessage("Assistant 3"); assertEquals(6, session.getMessageCount()); // Trimming to 3 would start at index 3 (assistant), so it should go back to index 2 (user) session.trimHistory(3); final List<ChatMessage> messages = session.getMessages(); assertEquals(4, messages.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
CLAUDE.md
- Authentication: Local (UserService), LDAP, OIDC, SAML, SPNEGO, Entra ID - Security features: AES encryption, SHA256 digest, LDAP injection prevention, password policy, rate limiting ## Naming Conventions | Element | Convention | Example | |---------|------------|---------| | Classes | PascalCase | `UserService`, `FessBaseAction` | | Methods | camelCase + verb | `getUserList()`, `setupHtmlData()` |
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 09:48:10 GMT 2026 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClient.java
* such as Ollama, OpenAI, and Google Gemini. * * In addition to low-level chat operations, this interface defines * high-level RAG workflow methods that allow each provider to optimize * prompt construction, parameter tuning, and response parsing. */ public interface LlmClient { /** * Performs a chat completion request. * * @param request the chat request containing messages and parametersCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
* * @return the maximum number of messages */ protected int getIntentHistoryMaxMessages() { return 6; } /** * Gets the maximum characters for intent detection history. * The default returns 3000. Override in subclasses for provider-specific tuning. * * @return the maximum characters */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java
assertEquals(Constants.SEARCH_LOG_ACCESS_TYPE_WEB, searchLogHelper.determineAccessType(Integer.valueOf(123))); } // ===== addSearchLog integration test (exercises wrapper wiring) ===== @Test public void test_addSearchLog_wiring() { setMockRequestAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
} } } assertTrue("Should have unique paths", paths.size() > 0); } @Test public void test_pathNamingConvention() throws Exception { // Test field naming follows convention Field[] fields = FessHtmlPath.class.getDeclaredFields(); for (Field field : fields) { int modifiers = field.getModifiers();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0)