- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for addLang (0.09 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} /** * Test adding a single rule */ public void test_addRule_single() { TestRule rule = new TestRule("rule1", true); ruleManager.addRule(rule); assertTrue(ruleManager.hasRule(rule)); assertEquals(1, ruleManager.getRuleCount()); } /** * Test adding multiple rules */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
} public void test_addCondition() { // Test adding conditions generator = new TestThumbnailGenerator(); // Test adding single condition generator.addCondition("field1", "value1"); // Test adding multiple conditions for same field generator.addCondition("field1", "value2"); // Test adding conditions for different fieldsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
*/ public void test_init_withEmptySessionId() { urlFilter.init(""); // Should handle empty session ID gracefully assertNotNull(urlFilter); } /** * Test adding a single include pattern */ public void test_addInclude_singlePattern() { String sessionId = "test-session-002"; urlFilter.init(sessionId); urlFilter.addInclude("https://example.com/.*");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
@Test public void testAddInitialSettings() { // Test adding single setting SuggestSettingsBuilder result = builder.addInitialSettings("key1", "value1"); assertEquals(builder, result); // Test method chaining assertEquals(1, builder.initialSettings.size()); assertEquals("value1", builder.initialSettings.get("key1")); // Test adding multiple settings builder.addInitialSettings("key2", 100);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
In that case, they will be applied to all the *path operations* in the application: {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[16] *} And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.1K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}. In this section we'll see how to use other middlewares. ## Adding ASGI middlewares { #adding-asgi-middlewares } As **FastAPI** is based on Starlette and implements the <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr> specification, you can use any ASGI middleware.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
// Test with empty strings result = jobExecutor.execute("", ""); assertEquals("Executed: ", result); } public void test_addShutdownListener() { // Test adding shutdown listener AtomicBoolean shutdownCalled = new AtomicBoolean(false); ShutdownListener listener = new ShutdownListener() { @Override public void onShutdown() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
/// ### What is "Mounting" { #what-is-mounting } "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
assertTrue(result.isPartialResults()); assertNull(result.getFacetResponse()); } public void test_builder_withDocuments() { // Test builder with adding documents Map<String, Object> doc1 = new HashMap<>(); doc1.put("id", "1"); doc1.put("title", "Document 1"); Map<String, Object> doc2 = new HashMap<>(); doc2.put("id", "2");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
/// ## Add extra information { #add-extra-information } You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema. You will learn more about adding extra information later in the docs, when learning to declare examples. /// warning Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.3K bytes - Viewed (0)